Re: [rfc] Ignore Fsync Calls in Laptop_Mode
From: Oliver Neukum
Date: Wed May 25 2011 - 03:46:24 EST
Am Mittwoch, 25. Mai 2011, 02:00:03 schrieb Dave Chinner:
> Oh, you're talking about application level write ordering. IO
> "ordering" in filesystem speak is about guaranteeing the order of
> data vs metadata writes for ensuring consistency after a crash
> (e.g. ext3/4 default "data=ordered" mode). that's what I was
> refering to, not anythign to do with applications.
>
> Besides, having to work out how to handle subtle application write
> ordering bugs because you changed fsync semantics is simply another
> reason for not changing behaviour in the first place.
Sure. I'd say changing the behavior is right out. The question is whether
we want an additional "superlaptop"-mode.
And even in this case it seems to me that fsync() cannot be reduced to
a nop because of ordering constraints. But perhaps we should then consider
exporting an ordering primitive to user space.
Regards
Oliver
--
- - -
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany
- - -
--
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/