summaryrefslogtreecommitdiffstats
path: root/fs/nfs/pnfs.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2015-03-25 23:58:53 +0100
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-03-27 17:39:37 +0100
commita0815d556d1cfb686b46995f86fb081f623fa720 (patch)
treefd6edd1d18bc1a6633a7e968089d089dd4aec6cd /fs/nfs/pnfs.c
parentNFSv4: Truncating file opens should also sync O_DIRECT writes (diff)
downloadlinux-a0815d556d1cfb686b46995f86fb081f623fa720.tar.xz
linux-a0815d556d1cfb686b46995f86fb081f623fa720.zip
NFSv4.1/pnfs: Ensure that writes respect the O_SYNC flag when doing O_DIRECT
If the caller does not specify the O_SYNC flag, then it is legitimate to return from O_DIRECT without doing a pNFS layoutcommit operation. However if the file is opened O_DIRECT|O_SYNC then we'd better get it right. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.c')
0 files changed, 0 insertions, 0 deletions