Re: [PATCH v3 1/3] block: introduce zone_write_granularity limit

Started by Martin K. Petersen on Jan 23, 2021

open the first message on its own page

Message details and related content
Damien,
To solve this, introduce the zone_write_granularity queue limit to
indicate the alignment constraint, in bytes, of write operations into
zones of a zoned block device. This new limit is exported as a
read-only sysfs queue attribute and the helper
blk_queue_zone_write_granularity() introduced for drivers to set this
limit. The scsi disk driver is modified to use this helper to set
host-managed SMR disk zone write granularity to the disk physical
block size. The ZNS support code of the NVMe driver is also modified
to use this helper to set the new limit to the logical block size of
the namespace. The nullblk driver is similarly modified too.
Looks fine.

Reviewed-by: Martin K. Petersen <redacted>

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help