commit | a0815d556d1cfb686b46995f86fb081f623fa720 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Mar 25 18:58:53 2015 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Fri Mar 27 12:39:37 2015 -0400 |
tree | fd6edd1d18bc1a6633a7e968089d089dd4aec6cd | |
parent | 9e1681c2e74bdd84bad6f74b47a4d88ad2f433df [diff] |
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>