linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Expected behaviour for device hang
@ 2013-05-15 20:17 David.Darrington
  2013-05-15 20:57 ` Keith Busch
  0 siblings, 1 reply; 4+ messages in thread
From: David.Darrington @ 2013-05-15 20:17 UTC (permalink / raw)


What is the expected behaviour of the driver if a device hangs? If  a 
device stops processing commands, the commands will eventually timeout, 
which is handled in 'nvme_kthread' with a call to 'nvme_cancel_ios'. 
However, this is not calling bio_completion. Every second the cycle 
repeats, cancelling the same I/Os and syslog fills up with the message 
'Cancelling I/O xx'. I was expecting that the ios that timeout would be 
completed as failed and freed.

Is there something that is still TBD, or am I just missing something.

Thanks,
Dave

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

end of thread, other threads:[~2013-05-17 13:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-15 20:17 Expected behaviour for device hang David.Darrington
2013-05-15 20:57 ` Keith Busch
2013-05-15 22:01   ` David.Darrington
2013-05-17 13:40   ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).