From the SBC-4 section about the block limits VPD page: "A write same non-zero (WSNZ) bit set to one indicates that the device server does not support a value of zero in the NUMBER OF LOGICAL BLOCKS field in the WRITE SAME command CDBs (see 5.45, 5.46, and 5.47). A WSNZ bit set to zero indicates that the device server may or may not support a value of zero in the NUMBER OF LOGICAL BLOCKS field of the WRITE SAME commands." Hence verify that WRITE SAME with NUMBER OF LOGICAL BLOCKS set to zero fails if WSNZ = 0. Signed-off-by: Bart Van Assche <bvanassche@acm.org>
2.2 KiB
2.2 KiB