]> 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)
commit78605af2fecfe10e5082ecb109d5118dda721b8e
treeefe436626c7c23b2a1f1bcc274dc3815403d3fcb
parent4041b974f25dea0e247728d91eca91f0874fa791
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