Re: [PATCH 1/3] xen/blk[front|back]: Use the full FLUSH | FUAinstead of just FLUSH.

From: Christoph Hellwig
Date: Sat Sep 10 2011 - 14:09:04 EST


On Fri, Sep 09, 2011 at 02:30:59PM -0400, Konrad Rzeszutek Wilk wrote:
> During a FLUSH we can pass sector number that we want to
> have flushed - which is what FUA requests are.

No, that is not the case.

REQ_FLUSH without data -> pure flush
REQ_FLUSH with data -> preflush plus write
REQ_FUA -> write and ranged postflush

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/