Re: [PATCH v11 20/40] btrfs: use bio_add_zone_append_page for zoned btrfs

2021-01-12 Thread Josef Bacik
On 12/21/20 10:49 PM, Naohiro Aota wrote: Zoned device has its own hardware restrictions e.g. max_zone_append_size when using REQ_OP_ZONE_APPEND. To follow the restrictions, use bio_add_zone_append_page() instead of bio_add_page(). We need target device to use bio_add_zone_append_page(), so this

[PATCH v11 20/40] btrfs: use bio_add_zone_append_page for zoned btrfs

2020-12-21 Thread Naohiro Aota
Zoned device has its own hardware restrictions e.g. max_zone_append_size when using REQ_OP_ZONE_APPEND. To follow the restrictions, use bio_add_zone_append_page() instead of bio_add_page(). We need target device to use bio_add_zone_append_page(), so this commit reads the chunk information to memoiz