Re: [PATCH 3/3] scsi: sd_zbc: Fix handling of RC BASIS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/18/22 03:38, Damien Le Moal wrote:
Even the above code (removing the "sdkp->rc_basis == 0" test) is
borderline in my opinion. The code with the test is per specs, so correct.

Hi Damien,

I do not agree that the current code is compliant with the ZBC specification. My interpretation of the ZBC specification is that the RC BASIS field influences the meaning of the RETURNED LOGICAL BLOCK ADDRESS field in the READ CAPACITY response only. The max_lba variable in sd_zbc_check_capacity() represents the MAXIMUM LBA field from the REPORT ZONES response. All I found in ZBC-2 about that field is the following: "The MAXIMUM LBA field contains the LBA of the last logical block on the logical unit." I haven't found any reference to RC BASIS in the description of the REPORT ZONES command - neither in ZBC-1 nor in ZBC-2.

Thanks,

Bart.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux