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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html