On Tue, Sep 13, 2011 at 12:50 PM, Sergio López
<slpml@sinrega.org> wrote:
Hi,
Currently, libdiskfs:io_write.c only calls "diskfs_file_update(struct
node *np, int wait)" if the node has been opened with O_FSYNC or if
the entire translator is operating synchronously (diskfs_synchronous
== 1). I think calling diskfs_file_update (with wait == 0) when
working asynchronously could help to reduce pageout pressure during
large I/O operations (except if those operations are being generated
by a mmap'ed file), at the expense of losing the ability of
indefinitely delaying the actual write.