Re: [PATCH] sd: always scan VPD pages if thin provisioning is enabled

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

 



>>>>> "Hannes" == Hannes Reinecke <hare@xxxxxxx> writes:

Hannes,

Hannes> Thing is, setting 'WS16' here is arguably wrong, as LPBME just
Hannes> means 'logical block provisioning management enabled', not
Hannes> 'WRITE SAME 16 with UNMAP' supported.

Things are the way they are because many devices predate the final SBC
spec. They report LBPME=1 but do not have the VPD page indicating their
preferred deprovisioning command. The VPD was added very late in the
spec and there are a ton of devices that don't have it. As a result, we
default to WS16 unless the device reports the UNMAP parameters in the
Block Limits VPD.

That has been a very solid heuristic for a long time so please don't
mess with that.

-- 
Martin K. Petersen	Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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