]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: don't create integrity bioset for btrfs_bioset
authorChristoph Hellwig <hch@lst.de>
Sat, 6 Aug 2022 08:03:20 +0000 (10:03 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:27:58 +0000 (12:27 +0200)
commit4cd3d46035122974b9e2e1e338ad4e7025d362d2
tree3bf5bb1ebbbb222e6ac0e5a58668e4214bb5fcdf
parentb04da5dd291b2e086fae20f08c7317c47d704a7e
btrfs: don't create integrity bioset for btrfs_bioset

btrfs never uses bio integrity data itself, so don't allocate
the integrity pools for btrfs_bioset.

This patch is a revert of the commit 4d5b27221e61 ("btrfs: Fix crash due
to not allocating integrity data for a set").  The integrity data pool
is not needed, the bio-integrity code now handles allocating the
integrity payload without that.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Tested-by: Nikolay Borisov <nborisov@suse.com>
Tested-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c