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 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html