|author||majianpeng <firstname.lastname@example.org>||2013-06-27 15:56:06 +0800|
|committer||Sage Weil <email@example.com>||2013-08-09 17:55:18 -0700|
ceph: Don't use ceph-sync-mode for synchronous-fs.
Sending reads and writes through the sync read/write paths bypasses the page cache, which is not expected or generally a good idea. Removing the write check is safe as there is a conditional vfs_fsync_range() later in ceph_aio_write that already checks for the same flag (via IS_SYNC(inode)). Signed-off-by: Jianpeng Ma <firstname.lastname@example.org> Reviewed-by: Sage Weil <email@example.com>
Diffstat (limited to 'net/ceph')
0 files changed, 0 insertions, 0 deletions