diff options
author | majianpeng <majianpeng@gmail.com> | 2013-06-27 09:56:06 +0200 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-08-10 02:55:18 +0200 |
commit | 7ab9b3807097fcb87b0e85a9ad82b12322d9cc63 (patch) | |
tree | dfdbe4acdb1f1b7d8f83400989fe8168b9f0afa3 /net/socket.c | |
parent | ceph: cleanup types in striped_read() (diff) | |
download | linux-7ab9b3807097fcb87b0e85a9ad82b12322d9cc63.tar.xz linux-7ab9b3807097fcb87b0e85a9ad82b12322d9cc63.zip |
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 <majianpeng@gmail.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions