]> git.ipfire.org Git - people/ms/linux.git/commit - fs/btrfs/extent_io.h
btrfs: remove io_failure_record::in_validation
authorQu Wenruo <wqu@suse.com>
Mon, 3 May 2021 02:08:56 +0000 (10:08 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jun 2021 13:19:05 +0000 (15:19 +0200)
commit1245835d24f1ea989a0cbcdf93ddea3dcbc3814f
treed274ee383ef53abad6b3c77a98434b2bba791237
parent150e4b0597a7988f44d13e5199f08749c8ff432d
btrfs: remove io_failure_record::in_validation

The io_failure_record::in_validation was introduced to handle failed bio
which cross several sectors.  In such case, we still need to verify
which sectors are corrupted.

But since we've changed the way how we handle corrupted sectors, by only
submitting repair for each corrupted sector, there is no need for extra
validation any more.

This patch will cleanup all io_failure_record::in_validation related
code.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h