Messages in this thread | | | From | Oliver Neukum <> | Subject | Re: [rfc] Ignore Fsync Calls in Laptop_Mode | Date | Tue, 31 May 2011 08:48:14 +0200 |
| |
Am Montag, 30. Mai 2011, 20:45:42 schrieb david@lang.hm: > > The big problem is that so far only fsync existed and lots of software > > seemingly abuses it as an expensive write barrier. And it would really > > be lovely to have the choice to stop that on an opt-in basis in laptop > > mode. > > is the benifit of not spinning up the disk really worth the risk of > loosing data?
That is a policy question.
> and should this really be a global across-the-board option?
Possibly not. However this is a secondary question.
> the problem is that most users don't know what their system is running, or > what effect disaling fsync would have. those that do can probably use > LD_PRELOAD to override fsync calls.
Not without a loss of ordering, as we have discussed.
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |