btrfs: don't allocate a btrfs_bio for raid56 per-stripe bios
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Apr 2022 04:45:26 +0000 (06:45 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:12 +0000 (17:03 +0200)
commite1b4b44e005e2eeef63081fe0a79a6271f81fce4
treeb080a4bda1d02e0e7cf04b89001c70aff35b03c0
parente01bf588f8bc0ba1e4c53b1240e97a12782a906a
btrfs: don't allocate a btrfs_bio for raid56 per-stripe bios

Except for the spurious initialization of ->device just after allocation
nothing uses the btrfs_bio, so just allocate a normal bio without extra
data.

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/raid56.c