aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-04-21 11:30:20 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2022-04-25 23:23:05 -0400
commitc976e588b34e4ff2fdd2922edab4b983244a17e6 (patch)
treee9599d166f44a320cbe6f84cb3e39c33d065df8c /fs
parentscsi: sd: sd_zbc: Return early in sd_zbc_check_zoned_characteristics() (diff)
downloadlinux-dev-c976e588b34e4ff2fdd2922edab4b983244a17e6.tar.xz
linux-dev-c976e588b34e4ff2fdd2922edab4b983244a17e6.zip
scsi: sd: sd_zbc: Hide gap zones
ZBC-2 allows host-managed disks to report gap zones. This allow zoned disks to report an offset between data zone starts that is a power of two even if the number of logical blocks with data per zone is not a power of two. Another new feature in ZBC-2 is support for constant zone starting LBA offsets. For zoned disks that report a constant zone starting LBA offset, hide the gap zones from the block layer. Report the offset between data zone starts as zone size and report the number of logical blocks with data per zone as the zone capacity. Link: https://lore.kernel.org/r/20220421183023.3462291-7-bvanassche@acm.org Acked-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> [ bvanassche: Reworked this patch ] Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions