summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ordered-data.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2021-02-04 11:22:03 +0100
committerDavid Sterba <dsterba@suse.com>2021-02-09 02:46:05 +0100
commit08f455593fff701e103876d4db5d3f4f6d0ff871 (patch)
tree21c7fd1247437897726a182c1b9eb91bdbae267f /fs/btrfs/ordered-data.c
parentbtrfs: extend btrfs_rmap_block for specifying a device (diff)
downloadlinux-08f455593fff701e103876d4db5d3f4f6d0ff871.tar.xz
linux-08f455593fff701e103876d4db5d3f4f6d0ff871.zip
btrfs: zoned: cache if block group is on a sequential zone
On a zoned filesystem, cache if a block group is on a sequential write only zone. On sequential write only zones, we can use REQ_OP_ZONE_APPEND for writing data, therefore provide btrfs_use_zone_append() to figure out if IO is targeting a sequential write only zone and we can use REQ_OP_ZONE_APPEND for data writing. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ordered-data.c')
0 files changed, 0 insertions, 0 deletions