Re: REQ_FLUSH, REQ_FUA and open/close of block devices

From: Christoph Hellwig
Date: Fri May 20 2011 - 08:20:23 EST


On Thu, May 19, 2011 at 04:06:27PM +0100, Alex Bligh wrote:
> Should a close() of a dirty block device result in a REQ_FLUSH?

No, why would it? That's what fsync is for.

--
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/