linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] libata bug fixes and updates as a precursor for converting libsas to the new eh
@ 2011-01-23 14:26 James Bottomley
  2011-01-23 14:28 ` [PATCH 1/3] libata: plumb sas port scan into standard libata paths James Bottomley
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: James Bottomley @ 2011-01-23 14:26 UTC (permalink / raw)
  To: linux-scsi, linux-ide

While I was playing around with converting libsas to the new error
handler, I ran into the two locking bugs and the fact that sas uses non
standard submission paths.  These patches fix all of that.  In theory,
the error handler locking bug is serious, since the eh_cmd_q list is
being processed on the wrong lock, but in practise, since libata has one
host per port, I don't think it will ever have any visible consequence
(until, of course, libsas comes along with multiple ports per host plus
non-libata ports).

James

---

James Bottomley (3):
  libata: plumb sas port scan into standard libata paths
  libata: fix locking for sas paths
  libata: fix eh locking

 drivers/ata/libata-core.c |   46 +++++++++++++++++++++-----------------------
 drivers/ata/libata-eh.c   |    9 ++++++-
 drivers/ata/libata-scsi.c |    4 +-
 drivers/ata/libata.h      |    1 +
 4 files changed, 32 insertions(+), 28 deletions(-)



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

end of thread, other threads:[~2011-01-23 14:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-23 14:26 [PATCH 0/3] libata bug fixes and updates as a precursor for converting libsas to the new eh James Bottomley
2011-01-23 14:28 ` [PATCH 1/3] libata: plumb sas port scan into standard libata paths James Bottomley
2011-01-23 14:30 ` [PATCH 2/3] libata: fix locking for sas paths James Bottomley
2011-01-23 14:31 ` [PATCH 3/3] libata: fix eh locking James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).