public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Application error handling with write-back caching
@ 2016-05-10 13:47 Stefan Hajnoczi
  2016-05-10 14:16 ` James Bottomley
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Hajnoczi @ 2016-05-10 13:47 UTC (permalink / raw)
  To: linux-scsi; +Cc: Martin K. Petersen, Kevin Wolf, Paolo Bonzini

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]

SBC-3 4.15.3 Write caching says:

"If processing a write command results in logical block data in cache
that is different from the logical block data on the medium, then the
device server shall retain that logical block data in cache until a
write medium operation is performed using that logical block data."

Does "is performed" mean "completes successfully" or just "completes"?

If "is performed" just means "completes", maybe with an error, the
application would have to resubmit write requests and then try to flush
the write cache again.

I'm not aware of applications that keep acknowledged write data around
until the cache flush completion in order to retry writes.

Can anyone clarify the SBC spec on this point?

Thanks,
Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

end of thread, other threads:[~2016-05-10 20:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-10 13:47 Application error handling with write-back caching Stefan Hajnoczi
2016-05-10 14:16 ` James Bottomley
2016-05-10 16:42   ` Paolo Bonzini
2016-05-10 17:31     ` James Bottomley
2016-05-10 20:12       ` Paolo Bonzini

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