On Sat, Mar 1, 2014 at 8:51 AM, Michael Schmitz <schmitzmic@xxxxxxxxx> wrote: > sleep_on is known broken and going away. The atari_scsi driver is one of > two remaining users in the falcon_get_lock() function, which is a rather > crazy piece of code. This does not attempt to fix the driver's locking > scheme in general, but at least prevents falcon_get_lock from going to > sleep when no other thread holds the same lock or tries to get it, > and we no longer schedule with irqs disabled. > > MSch: fixed completion conditions missed in Arnds' original RFC patch. > > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> > Acked-by: Michael Schmitz <schmitz@xxxxxxxxxx> > Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> > Cc: James E.J. Bottomley <JBottomley@xxxxxxxxxxxxx> > Cc: linux-scsi@xxxxxxxxxxxxxxx Thanks, applied with original authorship attribution, original subject matching SCSI oneline summary style, and proper SoB. Will queue for 3.15. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- 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