Skip to content
Commit a0815d55 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 9e1681c2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment