diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2017-03-29 19:55:16 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-04-18 14:07:26 +0200 |
commit | 1bcd7aa17fc1fa29009feec3e0ac4230d0d9f700 (patch) | |
tree | 0c0ffcaf4449e85de8714d177d7615dfc4e91045 /tools | |
parent | btrfs: track exclusive filesystem operation in flags (diff) | |
download | linux-1bcd7aa17fc1fa29009feec3e0ac4230d0d9f700.tar.xz linux-1bcd7aa17fc1fa29009feec3e0ac4230d0d9f700.zip |
Btrfs: set scrub page's io_error if failing to submit io
Scrub repairs data by the unit called scrub_block, which may contain
several pages. Scrub always tries to look up a good copy of a whole
block, but if there's no such copy, it tries to do repair page by page.
If we don't set page's io_error when checking this bad copy, in the last
step, we may skip this page when repairing bad copy from good copy.
Cc: David Sterba <dsterba@suse.cz>
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions