Hi.
I think using ORDERED_QUEUE_TAG is preferable instead of
SIMPLE_QUEUE_TAG when a request with barrier flag is
issued.
Thanks.
Signed-off-by: Hifumi Hisashi <hifumi.hisashi@xxxxxxxxxxxxx>
--- linux-2.6.16-rc3/drivers/scsi/sym53c8xx_2/sym_hipd.c 2006-02-13
14:04:02.000000000 +0900
+++ linux-2.6.16-rc3_fix/drivers/scsi/sym53c8xx_2/sym_hipd.c 2006-02-13
14:36:47.000000000 +0900
@@ -41,6 +41,7 @@
#include <linux/slab.h>
#include <asm/param.h> /* for timeouts in units of HZ */
#include <scsi/scsi_dbg.h>
+#include <scsi/scsi_tcq.h>
#include "sym_glue.h"
#include "sym_nvram.h"
@@ -5109,6 +5110,9 @@
lp->tags_since = 0;
}
#endif
+ if (cmd->request && cmd->request->flags & REQ_HARDBARRIER)
+ order = M_ORDERED_TAG;
+
msgptr[msglen++] = order;
/*
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html