Tejun Heo fcf1bf1584 libata: fix ata_scmd_need_defer()
Fix ata_scmd_need_defer() such that...

* whether NCQ is used or not is exactly determined using the same
  criteria as the issue path.

* defer-check is performed in all cases.

This fixes race condition where turning off NCQ on the fly causes
non-NCQ commands sneak into NCQ phase.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-02-21 04:58:18 -05:00
..
2007-02-21 04:58:18 -05:00
2007-02-20 17:10:14 -08:00
2006-12-07 08:39:24 -08:00
2007-02-20 17:10:14 -08:00
2007-02-19 13:34:11 -08:00
2007-02-16 14:00:19 +11:00
2007-02-20 17:10:15 -08:00
2007-02-17 19:07:33 +01:00
2007-02-11 10:51:24 -08:00
2007-02-11 10:51:24 -08:00