On 12/21/20 10:49 PM, Naohiro Aota wrote:
From: Johannes Thumshirn <johannes.thumsh...@wdc.com>
In zoned mode, 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
of data, therefore provide btrfs_use_zone_append() to figure out if I/O is
targeting a sequential write only zone and we can use said
REQ_OP_ZONE_APPEND for data writing.
Signed-off-by: Johannes Thumshirn <johannes.thumsh...@wdc.com>
Reviewed-by: Josef Bacik <jo...@toxicpanda.com>
Thanks,
Josef