2001-02-13 02:14:41

by James Bottomley

[permalink] [raw]
Subject: [PATCH] 2.4.1 SCSI reservation/reset handling

The attached patch corrects the linux kernel reservation handling. Currently
linux fails badly when presented with SCSI reservations in a clustered
environment. The patch also completes Doug Gilbert's reset injection system
in the sg driver. The patches have no effect on the main line SCSI code, but
they are fairly essential to those of us working in clustering and using
reservations for I/O fencing.

I've run the patch through a 12 hour stress test in a two node cluster using
the sym53c875 and aic7xxx (AHA 2944/UW) SCSI cards.

James Bottomley


Attachments:
scsi_reset_2_4_1.diff (9.41 kB)
scsi_reset_2_4_1.diff