Re: scsi:sd: provisioning_mode not being set to unmap

2012-10-31 Thread John Washer
The culprit was VPD page 0. Inquiry on VPD page 0 wasn't returning 0xb0 as one of the supported pages. So, the *scsi_get_vpd_page(sdkp->device, 0xb0, buffer, vpd_len))* was failing. Corrected VPD page 0 response. Now everything works as expected... :-) Thanks anyway... -John On Tue, Oct 30, 2012

Re: scsi:sd: provisioning_mode not being set to unmap

2012-10-29 Thread Martin K. Petersen
> "John" == John Washer writes: John> Provisioning mode is not being set to "unmap" even though it seems John> that device firmware provides all the required information to SD. I instrumented scsi_debug to provide the same values as your device (LBPME=1, identical Block Limits VPD, no LBP VP

scsi:sd: provisioning_mode not being set to unmap

2012-10-26 Thread John Washer
Hi, Provisioning mode is not being set to "unmap" even though it seems that device firmware provides all the required information to SD. 1. The TPE bit is set in the Read Capacity 16 response, $ sudo sg_readcap --16 -H /dev/sg1 00 00 00 00 00 00 ff ff ff 00 00 10 00 00 01 80 00 10 00