Messages in this thread | | | Date | Mon, 18 Apr 2011 05:26:07 -0400 | From | Christoph Hellwig <> | Subject | Re: [RFC]block: add flush request at head |
| |
On Mon, Apr 18, 2011 at 10:08:52AM +0200, Jens Axboe wrote: > Might be worth adding something for this special case, seems like the > NCQ restrictions will continue to be around forever (or a long time, at > least).
I heared people are working on adding a queued FLUSH to the standard, but it's going to take a long time for it to get into real life systems.
What would help now is allowing libata to actually use the FUA bit, given that every common disk and controller supports it these days.
Shaohua, does adding a
libata.fua = 1
to the kernel command line help your benchmark in any way? It should if you flushes are mostly from journal writes, but not from fsync that didn't change any metadata.
| |