Skip to contentSkip to conversation

ips - Mode Sense (Caching Page ) fix

PATCH Jack Hammer 1 participant 1 message Jan 13, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Much better ... To avoid the "sda: got wrong page" message, the ServeRAID driver should be setting flags indicating that the Mode Sense commands are not supported.

drivers/scsi/ips.c +3 -0
@@ -1319,6 +1319,9 @@
 			min = ha->max_cmds - 1;
 		scsi_adjust_queue_depth(SDptr, MSG_ORDERED_TAG, min);
 	}
+
+	SDptr->skip_ms_page_8 = 1;
+	SDptr->skip_ms_page_3f = 1;
 	return 0;
 }
 #endif