summaryrefslogtreecommitdiff
path: root/docs-xml/manpages/vfs_gpfs.8.xml
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2014-01-07 11:55:46 -0700
committerChristof Schmitt <cs@samba.org>2014-01-09 00:04:47 +0100
commitd1dacd62bbff93351763ff339cca13ba8180dd89 (patch)
tree39e9dd8b8f75f1d92c22605366a30b44e002da5c /docs-xml/manpages/vfs_gpfs.8.xml
parentca931e460460ffe46735f98b31db47220772d566 (diff)
downloadsamba-d1dacd62bbff93351763ff339cca13ba8180dd89.tar.gz
s3: Avoid oplock break by storing timestamps with gpfs_set_times
The gpfs_set_times API call allows setting timestamps directly in GPFS without going through the utime() call. Using this API call fixes an unecessary oplock break when a client sends a SET_FILE_ALLOCATION_INFO request and no other client has opened the file. The call to utime() triggers the oplock break through the Linux kernel. Using the gpfs_set_times call for updating the timestamp avoids the call to utime() and the oplock break. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Christof Schmitt <cs@samba.org> Autobuild-Date(master): Thu Jan 9 00:04:48 CET 2014 on sn-devel-104
Diffstat (limited to 'docs-xml/manpages/vfs_gpfs.8.xml')
-rw-r--r--docs-xml/manpages/vfs_gpfs.8.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs-xml/manpages/vfs_gpfs.8.xml b/docs-xml/manpages/vfs_gpfs.8.xml
index 20dba68ffc1..4ba1b251a77 100644
--- a/docs-xml/manpages/vfs_gpfs.8.xml
+++ b/docs-xml/manpages/vfs_gpfs.8.xml
@@ -318,6 +318,29 @@
<varlistentry>
+ <term>gpfs:settimes = [ yes | no ]</term>
+ <listitem>
+ <para>
+ Use the gpfs_set_times API when changing the
+ timestamps of a file or directory. If the GPFS API is
+ not available the old method of using utime and the
+ GPFS winattr call will be used instead.
+ </para>
+
+ <itemizedlist>
+ <listitem><para>
+ <command>yes(default)</command> - Use gpfs_set_times.
+ Fall back to utime and winattr when it is not available.
+ </para></listitem>
+ <listitem><para>
+ <command>no</command> - Do not use gpfs_set_times.
+ </para></listitem>
+ </itemizedlist>
+ </listitem>
+
+ </varlistentry>
+ <varlistentry>
+
<term>nfs4:mode = [ simple | special ]</term>
<listitem>
<para>