]> git.hungrycats.org Git - linux/commit
[PATCH] ext3: speed up O_SYNC writes
authorAndrew Morton <akpm@digeo.com>
Tue, 25 Feb 2003 01:07:33 +0000 (17:07 -0800)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 25 Feb 2003 01:07:33 +0000 (17:07 -0800)
commit51040fa7cfa0164f88d621edcdf0635fc30397e4
treeb6ea579d79377ce6f55a6b65624599daee6b8823
parentb1bd98a38537303cd7f1a8327bd786bb35d746a8
[PATCH] ext3: speed up O_SYNC writes

This is a forward-port of a 2.4 change from Stephen.  The (old) 2.5 code is
forcing a commit on every write by artificially dirtying the inode.

But generic_file_aio_write() has called generic_osync_inode() for us, which
has synced the file data.  There is no need to force the extra commit.
fs/ext3/file.c