Re: [PATCH] usb-storage: Add quirk for incorrect WP on Kingston DT Ultimate 3.0 G3

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

 



Tasos,

> I then called sd_revalidate_disk() multiple times and noticed that WP
> was cleared only after the call to device_add_disk(). That led me to
> figure out that this device needs a READ_10 command before WP is
> disabled.

Awesome work, thanks so much for debugging this!

> On the other hand, I'm worried that by adding a READ_10 before every
> mode sense, something else might break. If you do believe that adding a
> READ_10 is the right way forward, I can try cleaning up the diff above
> (with some advice) and submit it properly. Any suggestions are welcome.

Let me mull over it until tomorrow.

-- 
Martin K. Petersen	Oracle Linux Engineering




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux