]> www.infradead.org Git - users/jedix/linux-maple.git/commit
SCSI: Silencing 'killing requests for dead queue'
authorHannes Reinecke <hare@suse.de>
Wed, 9 Nov 2011 07:39:24 +0000 (08:39 +0100)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Fri, 16 Dec 2011 01:14:27 +0000 (17:14 -0800)
commit960a75b668135d45b884231e8dadf6d0945330dd
treeb3eb654c3d5a89e2a0e882d4e3501ad75a9bb023
parentcdd088f78550ea922291284d3214665034467d4e
SCSI: Silencing 'killing requests for dead queue'

commit 745718132c3c7cac98a622b610e239dcd5217f71 upstream.

When we tear down a device we try to flush all outstanding
commands in scsi_free_queue(). However the check in
scsi_request_fn() is imperfect as it only signals that
we _might start_ aborting commands, not that we've actually
aborted some.
So move the printk inside the scsi_kill_request function,
this will also give us a hint about which commands are aborted.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Cc: Christoph Biedl <linux-kernel.bfrz@manchmal.in-ulm.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/scsi_lib.c