xfs
[Top] [All Lists]

[patch|rfc][0/3] fix aio+dio+O_SYNC writes

To: linux-ext4@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx
Subject: [patch|rfc][0/3] fix aio+dio+O_SYNC writes
From: Jeff Moyer <jmoyer@xxxxxxxxxx>
Date: Fri, 27 Jan 2012 16:15:46 -0500
Currently, if an AIO/DIO/O_SYNC write is issued, generic_write_sync is
called after the submission of the I/O instead of after the completion.
This can result in flushing the disk cache before the actual write even
gets there!  This patch set attempts to fix that for xfs and ext4.
Comments would be greatly appreciated.

Cheers,
Jeff

[PATCH 1/3] xfs: honor the O_SYNC flag for aysnchronous direct I/O requests
[PATCH 2/3] ext4: honor the O_SYNC flag for aysnchronous direct I/O requests
[PATCH 3/3] filemap: don't call generic_write_sync for -EIOCBQUEUED

<Prev in Thread] Current Thread [Next in Thread>