Re: [PATCH] scsi: sd: usb_storage: uas: Access media prior to querying device properties

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


On 2024-02-13 16:33, Martin K. Petersen wrote:
> Match the behavior of a well known commercial operating system and
> trigger a READ operation prior to querying device characteristics to
> force the device to populate mode pages and VPDs.

Applied the patch, reverted the Kingston quirk, and:

[  447.655130] usb-storage 3-2:1.0: USB Mass Storage device detected
[  447.664875] scsi host10: usb-storage 3-2:1.0
[  448.690959] scsi 10:0:0:0: Direct-Access     Kingston DT Ultimate G3   PMAP PQ: 0 ANSI: 6
[  448.709502] sd 10:0:0:0: Attached scsi generic sg1 type 0
[  448.837376] sd 10:0:0:0: [sdb] 61472768 512-byte logical blocks: (31.5 GB/29.3 GiB)
[  448.847489] sd 10:0:0:0: [sdb] Write Protect is off
[  448.852593] sd 10:0:0:0: [sdb] Mode Sense: 2b 00 00 08
[  448.854221] sd 10:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA


Tested-by: Tasos Sahanidis <tasos@xxxxxxxxxxxx>


[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