diff options
author | 2007-09-09 08:56:35 -0600 | |
---|---|---|
committer | 2007-10-12 14:47:59 -0400 | |
commit | b2a7a4ba0497f73295e3f4d20a8cedb1e3d2b1a7 (patch) | |
tree | 933be186e56c83dced0c04e6f30eb2ad0e3999fb /drivers/message | |
parent | [SCSI] advansys: Remove `active' queue and all remaining internal queueing code (diff) | |
download | wireguard-linux-b2a7a4ba0497f73295e3f4d20a8cedb1e3d2b1a7.tar.xz wireguard-linux-b2a7a4ba0497f73295e3f4d20a8cedb1e3d2b1a7.zip |
[SCSI] advansys: Enable interrupts earlier in queuecommand
Move as much as possible outside the critical section in queuecommand, eg:
- Set the scsi_done field before acquiring the lock
- Call asc_scsi_done after dropping the lock
Also remove a comment suggesting we should enable interrupts (now we do)
and do some minor reformatting for readability.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions