[PATCH 0/2] fix race conditions in SCSI/Block leading to oops

James Bottomley
2011-04-22T15:37:24Z

There's a lkml thread on this:

http://marc.info/?t=130253369300004

But the synopsis is that some combination of delaying factors in the
boot of this machine exposed a race in SCSI and block between teardown
and reuse of SCSI devices. This two set series fixes the race.

James

---

James Bottomley (2):
block: add proper state guards to __elv_next_request
put stricter guards on queue dead checks

block/blk.h | 3 ++-
drivers/scsi/scsi_sysfs.c | 16 ++++++++--------
2 files changed, 10 insertions(+), 9 deletions(-)

--
1.7.4.1