diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2010-05-18 01:37:42 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-05-21 00:32:04 -0700 |
commit | c705b679fbe41aa9ac4486ebf46d3b2ae95d1628 (patch) | |
tree | a02d7314bacd0b720fe4b700a000153928d0df42 /xlators/protocol/transport | |
parent | 3b88b2dfbc1a33a6967cfedf63a615ee1e81e49d (diff) |
nfs: Introduce trusted-write and trusted-sync options
Introduces two new options:
1. nfs3.*.trusted-write: Forces UNSTABLE writes to return STABLE to NFS
clients to prevent the clients from sending a COMMIT. STABLE writes
are still handled in a sync manner and so are COMMITs if they're sent
at all.
2. nfs3.*.trusted-sync: Forces all WRITEs and COMMITs to return STABLE
return flags to NFS clients to avoid the overhead of STABLE writes, and
COMMITs that follow UNSTABLE writes. This includes the trusted-write
functionality. In addition to the trusted-write, it also writes
STABLE writes in an UNSTABLE manner.
Both violate the NFS protocol but allow better write perf in most
configurations. Use with caution.
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 924 (Slow NFS synchronous writes)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=924
Diffstat (limited to 'xlators/protocol/transport')
0 files changed, 0 insertions, 0 deletions