All of lore.kernel.org
 help / color / mirror / Atom feed
* Write cache and surface error behaviour
@ 2014-07-20 21:54 joystick
  2014-07-21 14:55 ` Dale R. Worley
  2014-07-28 23:57 ` Jeremy Linton
  0 siblings, 2 replies; 5+ messages in thread
From: joystick @ 2014-07-20 21:54 UTC (permalink / raw)
  To: linux-scsi@vger.kernel.org

Hello list,
I don't really understand this disk cache thing.
Suppose a disk with write cache enabled of writeback type: Linux 
receives a write completed notification (a message from the disk) when 
the data has reached the cache of the disk. Correct? At that point it is 
not considered an in-flight I/O anymore. Correct?
So what happens when the disk tries to write it to the platter and 
discovers that there is a media error on that sector? (suppose 
relocation does not happen ; maybe sectors exhausted)
Does Linux receive the write error upon the next flush it issues? So the 
error is related to the flush? And what happens if Linux never issues 
such flush?

Thank you
J.

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

end of thread, other threads:[~2014-07-29  1:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-20 21:54 Write cache and surface error behaviour joystick
2014-07-21 14:55 ` Dale R. Worley
2014-07-28 20:37   ` Dale R. Worley
2014-07-28 23:57 ` Jeremy Linton
2014-07-29  1:43   ` Douglas Gilbert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.