mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Change request: "scsi: killing requests for dead queue"
@ 2012-01-19  7:30 Ulrich Windl
  2012-01-19  7:58 ` Joe Perches
  0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Windl @ 2012-01-19  7:30 UTC (permalink / raw)
  To: linux-kernel

Hi!

I have a change request: I saw three message that I couldn't bring into context with any other event (SLES11 SP1 (2.6.32.49-0.3-default)):

Jan 18 15:33:04 h03 kernel: [2866825.805434] scsi: killing requests for dead queue
Jan 18 15:33:04 h03 kernel: [2866825.812129] scsi: killing requests for dead queue
Jan 18 15:33:04 h03 kernel: [2866825.815553] scsi: killing requests for dead queue

Unfortunately the kernel message doesn't give some kind of queue identifier, so that's hard to correlate with any other events.

Can this message be improved to include some variable output?

Regards,
Ulrich Windl



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Change request: "scsi: killing requests for dead queue"
  2012-01-19  7:30 Change request: "scsi: killing requests for dead queue" Ulrich Windl
@ 2012-01-19  7:58 ` Joe Perches
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Perches @ 2012-01-19  7:58 UTC (permalink / raw)
  To: Ulrich Windl; +Cc: linux-kernel

On Thu, 2012-01-19 at 08:30 +0100, Ulrich Windl wrote:
> Hi!
> 
> I have a change request: I saw three message that I couldn't bring into context with any other event (SLES11 SP1 (2.6.32.49-0.3-default)):
> 
> Jan 18 15:33:04 h03 kernel: [2866825.805434] scsi: killing requests for dead queue
> Jan 18 15:33:04 h03 kernel: [2866825.812129] scsi: killing requests for dead queue
> Jan 18 15:33:04 h03 kernel: [2866825.815553] scsi: killing requests for dead queue
> 
> Unfortunately the kernel message doesn't give some kind of queue identifier, so that's hard to correlate with any other events.
> 
> Can this message be improved to include some variable output?

It was improved by:

commit 745718132c3c7cac98a622b610e239dcd5217f71
Author: Hannes Reinecke <hare@suse.de>
Date:   Wed Nov 9 08:39:24 2011 +0100

    [SCSI] Silencing 'killing requests for dead queue'
    
    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>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-19  7:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-19  7:30 Change request: "scsi: killing requests for dead queue" Ulrich Windl
2012-01-19  7:58 ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®