btrfs: remove struct btrfs_bio::is_metadata flag
authorChristoph Hellwig <hch@lst.de>
Sat, 21 Jan 2023 06:50:14 +0000 (07:50 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 15 Feb 2023 18:38:52 +0000 (19:38 +0100)
commit295fe46ff19b990c19b84b0d39a88d7e73710b19
treee2e10c7275737b9acdb1177e702e188c31a71821
parent0d3acb25e70d5f58f99ae9c695326a097b4b56be
btrfs: remove struct btrfs_bio::is_metadata flag

This flag is unused now, so remove it.  Re-expand the mirror_num field
to 8 bits, and move it to the I/O completion internal section of the
structure.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.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/bio.h
fs/btrfs/disk-io.c