public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] fix race conditions in SCSI/Block leading to oops
@ 2011-04-22 15:37 James Bottomley
  2011-04-22 15:38 ` [PATCH 1/2] block: add proper state guards to __elv_next_request James Bottomley
  2011-04-22 15:39 ` [PATCH 2/2] put stricter guards on queue dead checks James Bottomley
  0 siblings, 2 replies; 3+ messages in thread
From: James Bottomley @ 2011-04-22 15:37 UTC (permalink / raw)
  To: linux-scsi; +Cc: Jens Axboe

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-22 15:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-22 15:37 [PATCH 0/2] fix race conditions in SCSI/Block leading to oops James Bottomley
2011-04-22 15:38 ` [PATCH 1/2] block: add proper state guards to __elv_next_request James Bottomley
2011-04-22 15:39 ` [PATCH 2/2] put stricter guards on queue dead checks James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox