Re: [PATCHSET block#for-2.6.36-post] block: replace barrier with sequenced flush

From
Christoph Hellwig <hch@lst.de>
Date
2010-08-23 14:19:35
Also in
dm-devel, linux-fsdevel, linux-ide, linux-scsi, lkml
Reply to
Tejun Heo, 2010-08-23
On Mon, Aug 23, 2010 at 04:13:36PM +0200, Tejun Heo wrote:
Yeah, that sounds reasonable.  blk_queue_flush() can be called anytime
without locking anyway, so it should be really easy to implement too.
I don't think we can simply call blk_queue_flush - we must ensure to
never set more bits than the device allows.  We'll just need two
sets of flags in the request queue, with the sysfs file checking that
it never allows more flags than blk_queue_flush.

I'll prepare a patch for this on top of the current series.
Thread (109 messages) 109 messages, 19 authors, last reply 2011-01-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help