Skip to contentSkip to conversation

usb: storage: update usb devices for write cache quirk in quirk list.

PATCH Superseded Namjae Jeon 2 participants 5 messages Jun 9, 2012 – Jun 11, 2012

Subsystems (3)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 3/3 usb: storage: update usb devices for write cache quirk in quirk list.

Update information of Seagate Portable HDD and WD My Passport HDD in quirk list.

---
 drivers/usb/storage/unusual_devs.h |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
drivers/usb/storage/unusual_devs.h +24 -0
index 1719886..64f0369 100644
@@ -1267,6 +1267,18 @@ UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
 		0 ),
 
+/* Reported by Namjae Jeon <[email protected]>
+ * Even though write cache is enabled by default,
+ * SCSI driver assume that cache is not enabled
+ * which in turn might lead loss of data
+ * since data still will be in cache.
+ * So this entry is needed for assuming that cache is enabled.
+ */
+UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
+		"Seagate",
+		"Portable HDD",
+		USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
+
 /* Reported by Ben Efros <[email protected]> */
 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
 		"Seagate",
@@ -1468,6 +1480,18 @@ UNUSUAL_DEV(  0x1058, 0x0704, 0x0000, 0x9999,
 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
 		US_FL_SANE_SENSE),
 
+/* Reported by Namjae Jeon <[email protected]>
+ * Even though write cache is enabled by default,
+ * SCSI driver assume that cache is not enabled
+ * which in turn might lead loss of data
+ * since data still will be in cache.
+ * So this entry is needed for assuming that cache is enabled.
+ */
+UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
+		"Western Digital",
+		"My Passport HDD",
+		USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
+
 /* Reported by Fabio Venturi <[email protected]>
  * The device reports a vendor-specific bDeviceClass.
  */
Signature · 1 line
1.7.9.5
#1 lore raw

Hello.

Quoted 15 lines · Namjae Jeon

Update information of Seagate Portable HDD and WD My Passport HDD in quirk list.

---
  drivers/usb/storage/unusual_devs.h |   24 ++++++++++++++++++++++++
  1 file changed, 24 insertions(+)
drivers/usb/storage/unusual_devs.h +0 -0
index 1719886..64f0369 100644

drivers/usb/storage/unusual_devs.h UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000, · line 1273

Quoted 7 lines
drivers/usb/storage/unusual_devs.h +4 -0
@@ -1267,6 +1267,18 @@ UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
  		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  		0 ),
 
+/* Reported by Namjae Jeon<[email protected]>
+ * Even though write cache is enabled by default,
+ * SCSI driver assume that cache is not enabled
+ * which in turn might lead loss of data

^ to the

Quoted 12 lines
drivers/usb/storage/unusual_devs.h +8 -0
+ * since data still will be in cache.
+ * So this entry is needed for assuming that cache is enabled.
+ */
+UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
+		"Seagate",
+		"Portable HDD",
+		USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
+
  /* Reported by Ben Efros<[email protected]>  */
  UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
  		"Seagate",

drivers/usb/storage/unusual_devs.h UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999, · line 1486

Quoted 7 lines
drivers/usb/storage/unusual_devs.h +4 -0
@@ -1468,6 +1480,18 @@ UNUSUAL_DEV(  0x1058, 0x0704, 0x0000, 0x9999,
  		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  		US_FL_SANE_SENSE),
 
+/* Reported by Namjae Jeon<[email protected]>
+ * Even though write cache is enabled by default,
+ * SCSI driver assume that cache is not enabled
+ * which in turn might lead loss of data

^ to the

WBR, Sergei

#2 lore raw

2012/6/10, Sergei Shtylyov <[email protected]>:

Quoted 44 lines

Hello.

Quoted 16 lines · Namjae Jeon

Update information of Seagate Portable HDD and WD My Passport HDD in quirk list.

---
  drivers/usb/storage/unusual_devs.h |   24 ++++++++++++++++++++++++
  1 file changed, 24 insertions(+)
drivers/usb/storage/unusual_devs.h +0 -0
index 1719886..64f0369 100644

drivers/usb/storage/unusual_devs.h UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000, · line 1273

Quoted 7 lines
drivers/usb/storage/unusual_devs.h +4 -0
@@ -1267,6 +1267,18 @@ UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
  		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  		0 ),
 
+/* Reported by Namjae Jeon<[email protected]>
+ * Even though write cache is enabled by default,
+ * SCSI driver assume that cache is not enabled
+ * which in turn might lead loss of data

^ to the

Quoted 15 lines
drivers/usb/storage/unusual_devs.h +8 -0
+ * since data still will be in cache.
+ * So this entry is needed for assuming that cache is enabled.
+ */
+UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
+		"Seagate",
+		"Portable HDD",
+		USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
+
  /* Reported by Ben Efros<[email protected]>  */
  UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
  		"Seagate",
@@ -1468,6 +1480,18 @@ UNUSUAL_DEV(  0x1058, 0x0704, 0x0000, 0x9999,
  		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  		US_FL_SANE_SENSE),
 
Quoted 5 lines

drivers/usb/storage/unusual_devs.h UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000, · line 1273

Quoted 4 lines
drivers/usb/storage/unusual_devs.h +4 -0
+/* Reported by Namjae Jeon<[email protected]>
+ * Even though write cache is enabled by default,
+ * SCSI driver assume that cache is not enabled
+ * which in turn might lead loss of data

^ to the

to the ? Sorry, I don't understand what you want to change. like this ? "Even though write cache is enabled by default, SCSI driver assume that cache is not enabled and it in turn might lead the loss of data. "

Quoted 3 lines

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

Hello.

Quoted 45 lines · Namjae Jeon
Quoted 40 lines
Quoted 16 lines

Update information of Seagate Portable HDD and WD My Passport HDD in quirk list.

---
   drivers/usb/storage/unusual_devs.h |   24 ++++++++++++++++++++++++
   1 file changed, 24 insertions(+)
drivers/usb/storage/unusual_devs.h +0 -0
index 1719886..64f0369 100644

drivers/usb/storage/unusual_devs.h UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000, · line 1273

Quoted 7 lines
drivers/usb/storage/unusual_devs.h +4 -0
@@ -1267,6 +1267,18 @@ UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
   		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
   		0 ),
 
+/* Reported by Namjae Jeon<[email protected]>
+ * Even though write cache is enabled by default,
+ * SCSI driver assume that cache is not enabled
+ * which in turn might lead loss of data

^ to the

Quoted 15 lines
drivers/usb/storage/unusual_devs.h +8 -0
+ * since data still will be in cache.
+ * So this entry is needed for assuming that cache is enabled.
+ */
+UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
+		"Seagate",
+		"Portable HDD",
+		USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
+
   /* Reported by Ben Efros<[email protected]>   */
   UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
   		"Seagate",
@@ -1468,6 +1480,18 @@ UNUSUAL_DEV(  0x1058, 0x0704, 0x0000, 0x9999,
   		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
   		US_FL_SANE_SENSE),
 
Quoted 5 lines

drivers/usb/storage/unusual_devs.h UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000, · line 1273

Quoted 4 lines
drivers/usb/storage/unusual_devs.h +4 -0
+/* Reported by Namjae Jeon<[email protected]>
+ * Even though write cache is enabled by default,
+ * SCSI driver assume that cache is not enabled
+ * which in turn might lead loss of data

^ to the

Quoted 4 lines

to the ? Sorry, I don't understand what you want to change. like this ? "Even though write cache is enabled by default, SCSI driver assume that cache is not enabled and it in turn might lead the loss of data. "

Lead to the loss of data.

WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

2012/6/12, Sergei Shtylyov <[email protected]>:

Quoted 49 lines

Hello.

Quoted 45 lines · Namjae Jeon
Quoted 45 lines
Quoted 16 lines

Update information of Seagate Portable HDD and WD My Passport HDD in quirk list.

---
   drivers/usb/storage/unusual_devs.h |   24 ++++++++++++++++++++++++
   1 file changed, 24 insertions(+)
drivers/usb/storage/unusual_devs.h +0 -0
index 1719886..64f0369 100644

drivers/usb/storage/unusual_devs.h UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000, · line 1273

Quoted 7 lines
drivers/usb/storage/unusual_devs.h +4 -0
@@ -1267,6 +1267,18 @@ UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
   		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
   		0 ),
 
+/* Reported by Namjae Jeon<[email protected]>
+ * Even though write cache is enabled by default,
+ * SCSI driver assume that cache is not enabled
+ * which in turn might lead loss of data

^ to the

Quoted 12 lines
drivers/usb/storage/unusual_devs.h +8 -0
+ * since data still will be in cache.
+ * So this entry is needed for assuming that cache is enabled.
+ */
+UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
+		"Seagate",
+		"Portable HDD",
+		USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
+
   /* Reported by Ben Efros<[email protected]>   */
   UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
   		"Seagate",

drivers/usb/storage/unusual_devs.h UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999, · line 1486

Quoted 7 lines
drivers/usb/storage/unusual_devs.h +4 -0
@@ -1468,6 +1480,18 @@ UNUSUAL_DEV(  0x1058, 0x0704, 0x0000, 0x9999,
   		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
   		US_FL_SANE_SENSE),
 
+/* Reported by Namjae Jeon<[email protected]>
+ * Even though write cache is enabled by default,
+ * SCSI driver assume that cache is not enabled
+ * which in turn might lead loss of data

^ to the

Quoted 6 lines
Quoted 4 lines

to the ? Sorry, I don't understand what you want to change. like this ? "Even though write cache is enabled by default, SCSI driver assume that cache is not enabled and it in turn might lead the loss of data. "

Lead to the loss of data.

Okay, I changed it on the latest patch.
Thanks a lot.

Quoted 3 lines

WBR, Sergei