aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2014-06-19 10:42:51 +0800
committerChris Mason <[email protected]>2014-06-19 14:20:54 -0700
commitced96edc48ba455b0982c3aa64d3cc3bf2d0816a (patch)
tree44967160e52bb4b5cd82d1ad6308702ce77e24af /tools/perf/util/trace-event-scripting.c
parente570fd27f2c5d7eac3876bccf99e9838d7f911a3 (diff)
btrfs: Skip scrubbing removed chunks to avoid -ENOENT.
When run scrub with balance, sometimes -ENOENT will be returned, since in scrub_enumerate_chunks() will search dev_extent in *COMMIT_ROOT*, but btrfs_lookup_block_group() will search block group in *MEMORY*, so if a chunk is removed but not committed, -ENOENT will be returned. However, there is no need to stop scrubbing since other chunks may be scrubbed without problem. So this patch changes the behavior to skip removed chunks and continue to scrub the rest. Signed-off-by: Qu Wenruo <[email protected]> Signed-off-by: Miao Xie <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions