* [PATCH] linux-2.6.18: vscsi >2TB build fix
@ 2011-01-26 10:55 Jan Beulich
0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2011-01-26 10:55 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 832 bytes --]
MAINTENANCE_{IN,OUT} got introduced only in 2.6.19, but I failed to
notice that because we have this backported to our 2.6.16-based
kernels.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- a/drivers/xen/scsiback/emulate.c
+++ b/drivers/xen/scsiback/emulate.c
@@ -452,8 +452,10 @@ void scsiback_emulation_init(void)
/*NO_EMULATE(PERSISTENT_RESERVE_IN); *//*0x5e*/
/*NO_EMULATE(PERSISTENT_RESERVE_OUT); *//*0x5f*/
/* REPORT_LUNS *//*0xa0*//*Full emulaiton*/
+#ifdef MAINTENANCE_IN
NO_EMULATE(MAINTENANCE_IN); /*0xa3*/ /* IFT alua */
NO_EMULATE(MAINTENANCE_OUT); /*0xa4*/ /* IFT alua */
+#endif
NO_EMULATE(MOVE_MEDIUM); /*0xa5*/ /* ch */
NO_EMULATE(EXCHANGE_MEDIUM); /*0xa6*/ /* ch */
/*NO_EMULATE(READ_12); *//*0xa8*/
[-- Attachment #2: xenlinux-vscsi-2Tb-build-fix.patch --]
[-- Type: text/plain, Size: 859 bytes --]
Subject: vscsi >2TB build fix
MAINTENANCE_{IN,OUT} got introduced only in 2.6.19, but I failed to
notice that because we have this backported to our 2.6.16-based
kernels.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- a/drivers/xen/scsiback/emulate.c
+++ b/drivers/xen/scsiback/emulate.c
@@ -452,8 +452,10 @@ void scsiback_emulation_init(void)
/*NO_EMULATE(PERSISTENT_RESERVE_IN); *//*0x5e*/
/*NO_EMULATE(PERSISTENT_RESERVE_OUT); *//*0x5f*/
/* REPORT_LUNS *//*0xa0*//*Full emulaiton*/
+#ifdef MAINTENANCE_IN
NO_EMULATE(MAINTENANCE_IN); /*0xa3*/ /* IFT alua */
NO_EMULATE(MAINTENANCE_OUT); /*0xa4*/ /* IFT alua */
+#endif
NO_EMULATE(MOVE_MEDIUM); /*0xa5*/ /* ch */
NO_EMULATE(EXCHANGE_MEDIUM); /*0xa6*/ /* ch */
/*NO_EMULATE(READ_12); *//*0xa8*/
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-01-26 10:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-26 10:55 [PATCH] linux-2.6.18: vscsi >2TB build fix Jan Beulich
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.