diff options
author | Tejun Heo <[email protected]> | 2007-10-25 18:22:44 +0900 |
---|---|---|
committer | Jeff Garzik <[email protected]> | 2007-10-29 06:15:25 -0400 |
commit | 4dbfa39b6c95eb9d0aedb5bd00bb552b91c31e3d (patch) | |
tree | b3b92aa44fe651af464373d8a21a3da8897fa479 /net/unix/sysctl_net_unix.c | |
parent | 2a397e82c7db18019e408f953dd58dc1963a328c (diff) |
libata: relocate and fix post-command processing
Some commands need post-processing after successful completion. This
was done in ata_scsi_qc_complete() till now but this has the following
problems.
* Post-command processing gets executed when qc is completed from EH.
Some qc's are retried from EH with zero err_mask and thus triggers
unnecessary/incorrect post-command processing.
* Command post processing doesn't belong to SAT layer.
* Link-wide revalidation was scheduled where device revalidation
suffices.
This patch moves post-command processing to success completion path of
ata_qc_complete() which is travelled iff the command is going to be
completed without passing through EH and updates post-command
processing such that device-specific action is used. While at it,
restructure code a bit for readability.
Signed-off-by: Tejun Heo <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions