• Alex Tomas's avatar
    remove 2TB limit in sd · 7ba98a57
    Alex Tomas authored
    modern storage boxes support >2TB arrays, but READ CAPACITY
    may return 2TB only (with 512 bytes blocksize). According to
    SBC, target may return 0xffffffff as device size in order to
    notify initiator that device size can't fit into 32 bits and
    that initiator should use Long READ CAPACITY with 64bits LBA
    field. Following patch implements this logic.
    7ba98a57
scsi.h 6.74 KB