linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* write barrier in RAID5
@ 2015-04-01 18:24 Eric Mei
  2015-04-07  1:25 ` NeilBrown
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Mei @ 2015-04-01 18:24 UTC (permalink / raw)
  To: linux-raid

I can see how FUA is handled, but REQ_FLUSH seems problematic. My 
understanding of REQ_FLUSH semantics: all requests before the flush 
request must *complete* before the flush request complete. For IO remap 
layer like MD, we need to guarantee all previous requests are 
*submitted* to component devices before submitting the flush request. Is 
that correct?

If so why I don't see the code which make sure the pending write 
requests in stripe cache are processed & submitted before 
submit_flushes() get called? Thanks

Eric

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

end of thread, other threads:[~2015-04-07  1:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-01 18:24 write barrier in RAID5 Eric Mei
2015-04-07  1:25 ` NeilBrown

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).