Shehjar Tikoo c705b679fb 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
2010-05-21 00:32:04 -07:00
2010-04-23 06:32:52 -07:00
2010-03-12 04:09:34 -08:00
2009-02-18 17:36:07 +05:30
2009-02-19 02:58:01 -08:00
2009-02-18 17:36:07 +05:30
2009-02-18 17:36:07 +05:30
2010-05-03 23:40:05 -07:00
2010-03-12 04:09:34 -08:00
2010-03-12 04:09:34 -08:00
2010-03-12 04:09:34 -08:00

For more info visit http://www.gluster.org
Description
No description provided
Readme 86 MiB
Languages
C 86.6%
Shell 7.5%
Python 3.6%
Perl 0.7%
Makefile 0.4%
Other 0.9%