diff options
| author | Tejun Heo <htejun@gmail.com> | 2007-02-20 23:27:06 +0900 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2007-02-21 04:58:18 -0500 |
| commit | fcf1bf1584647f9fd864c193fee81840c4c5ce41 (patch) | |
| tree | 6271f12b805d57edcb4ba908149c02e754c348e0 /scripts | |
| parent | 6d1245bf294e9ea65b3717be9fa0338bfb6ff6c9 (diff) | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
