[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110923102342.GC31740@amd.home.annexia.org>
Date: Fri, 23 Sep 2011 11:23:42 +0100
From: "Richard W.M. Jones" <rjones@...hat.com>
To: linux-ext4@...r.kernel.org
Cc: tytso@....edu, berrange@...hat.com
Subject: [PATCH e2fsprogs] Add flag to ext2fs_flush and ext2fs_close to avoid
fsync.
[Hopefully sent to the right place this time ...]
This patch allows users of the ext2fs library to avoid doing an fsync
on close (obviously this is optional, and doesn't affect existing callers).
Where this helps us is when constructing a throwaway ext2 filesystem
just to boot a virtual machine. By avoiding the 2 x fsync, we save
over 5 seconds and many many unnecessary disk writes.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
View attachment "0001-Add-flag-to-ext2fs_flush-and-ext2fs_close-to-avoid-f.patch" of type "text/plain" (3226 bytes)
Powered by blists - more mailing lists