diff options
author | Jeff Skirvin <jeffrey.d.skirvin@intel.com> | 2012-03-09 01:41:56 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2012-05-17 17:33:39 -0400 |
commit | aa20d9343079b1f0bebd43dec82ecfd4af5e43da (patch) | |
tree | 2e04327fd7625c34fa2732a25763f4119bcfc7f1 /drivers/scsi/isci | |
parent | 637325028f3a9e9cf411ede96063997611f976e4 (diff) |
isci: All pending TCs are terminated when the RNC is invalidated.
Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci')
-rw-r--r-- | drivers/scsi/isci/remote_node_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/isci/remote_node_context.c b/drivers/scsi/isci/remote_node_context.c index 75cf043e2adf..adbb4b80d9e4 100644 --- a/drivers/scsi/isci/remote_node_context.c +++ b/drivers/scsi/isci/remote_node_context.c | |||
@@ -275,8 +275,8 @@ static void sci_remote_node_context_invalidating_state_enter(struct sci_base_sta | |||
275 | { | 275 | { |
276 | struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); | 276 | struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); |
277 | 277 | ||
278 | /* Terminate outstanding requests pending abort. */ | 278 | /* Terminate all outstanding requests. */ |
279 | sci_remote_device_abort_requests_pending_abort(rnc_to_dev(rnc)); | 279 | sci_remote_device_terminate_requests(rnc_to_dev(rnc)); |
280 | sci_remote_node_context_invalidate_context_buffer(rnc); | 280 | sci_remote_node_context_invalidate_context_buffer(rnc); |
281 | } | 281 | } |
282 | 282 | ||