Re: [uml-devel] [PATCH] um: ubd: Add REQ_FLUSH suppport

From: Geert Uytterhoeven
Date: Mon Aug 19 2013 - 06:13:21 EST


Hi Richard,

On Mon, Aug 19, 2013 at 11:18 AM, Richard W.M. Jones <rjones@xxxxxxxxxx> wrote:
> On Sun, Aug 18, 2013 at 12:09:34AM +0200, Richard Weinberger wrote:
>> UML's block device driver does not support write barriers,
>> to support this this patch adds REQ_FLUSH suppport.
>> Every time the block layer sends a REQ_FLUSH we fsync() now
>> our backing file to guarantee data consistency.
>
> This fixes the sync problem I saw before. So:

What's the impact on your performance figures?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
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/