diff options
author | George Wilson <[email protected]> | 2019-03-11 12:13:37 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-03-11 09:13:37 -0700 |
commit | b1b94e9644ee6af27ce71d127618b7d5323561c6 (patch) | |
tree | 5972c857d1005562e42d5b8f77aee119f5ffe45c /module/zfs/vdev.c | |
parent | 1118f9944924678095aa43636dce742a03c5fde3 (diff) |
zfs does not honor NFS sync write semantics
The linux kernel's nfsd implementation use RWF_SYNC to determine if the
write is synchronous or not. This flag is used to set the kernel's I/O
control block flags. Unfortunately, ZFS was not updated to inspect these
flags so NFS sync writes were not being honored.
This change maps the IOCB_* flags to the ZFS equivalent.
Reviewed-by: Don Brady <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: George Wilson <[email protected]>
Closes #8474
Closes #8452
Closes #8486
Diffstat (limited to 'module/zfs/vdev.c')
0 files changed, 0 insertions, 0 deletions