Messages in this thread Patch in this message | | | Date | Thu, 14 Feb 2002 11:01:43 -0500 | From | Chris Mason <> | Subject | Re: [PATCH] write barriers for 2.4.x |
| |
On Thursday, February 14, 2002 03:31:08 PM +0100 Matthias Andree <ma@dt.e-technik.uni-dortmund.de> wrote:
[ barrier support for sym53c8xx_2?]
I can only promise this compiles against 2.4.18-pre9, and looks right to me. l-k and Jens brought into cc in hopes of a little verification.
-chris
--- a/drivers/scsi/sym53c8xx_2/sym_glue.c Thu, 13 Dec 2001 11:06:51 -0500 +++ b/drivers/scsi/sym53c8xx_2/sym_glue.c Thu, 14 Feb 2002 10:43:01 -0500 @@ -729,7 +729,14 @@ * Select tagged/untagged. */ lp = sym_lp(np, tp, ccb->lun); - order = (lp && lp->s.reqtags) ? M_SIMPLE_TAG : 0; + if (lp && lp->s.reqtags) { + if (ccb->request.cmd_flags & RQ_WRITE_ORDERED) + order = M_ORDERED_TAG; + else + order = M_SIMPLE_TAG; + } else { + order = 0 ; + } /* * Queue the SCSI IO.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |