]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: don't allocate a btrfs_bio for scrub bios
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Apr 2022 04:45:27 +0000 (06:45 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:12 +0000 (17:03 +0200)
commit20a2326a1d26404ec3b431d9a1868efdc78ac918
treeefe436626c7c23b2a1f1bcc274dc3815403d3fcb
parent0d54cab7e8964ba387f769fe23a6042a8b2d85f2
btrfs: don't allocate a btrfs_bio for scrub bios

All the scrub bios go straight to the block device or the raid56 code,
none of which looks at the btrfs_bio.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/scrub.c