]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite0fb4b79137d09dc772f0b27502add7ab5e5931d
treed274ee383ef53abad6b3c77a98434b2bba791237
parentb62ab47ee7fb6a5a579d99e02432e4427154621a
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