diff options
author | Christoph Hellwig <hch@lst.de> | 2023-01-21 07:50:29 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-02-15 19:38:53 +0100 |
commit | 243cf8d1b6737d4b53ac16b211987bbd299478e6 (patch) | |
tree | 39b752f16054c3728a24bf8e4cb043ff7ff93f7a /fs/btrfs/zoned.h | |
parent | 35a8d7da3ca87d8612fa86a21fab4e07a70d35cb (diff) |
btrfs: calculate file system wide queue limit for zoned mode
To be able to split a write into properly sized zone append commands,
we need a queue_limits structure that contains the least common
denominator suitable for all devices.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
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>
Diffstat (limited to 'fs/btrfs/zoned.h')
-rw-r--r-- | fs/btrfs/zoned.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/zoned.h b/fs/btrfs/zoned.h index bc93a740e7cf..f25f332b7728 100644 --- a/fs/btrfs/zoned.h +++ b/fs/btrfs/zoned.h @@ -20,7 +20,6 @@ struct btrfs_zoned_device_info { */ u64 zone_size; u8 zone_size_shift; - u64 max_zone_append_size; u32 nr_zones; unsigned int max_active_zones; atomic_t active_zones_left; |