Whamcloud - gitweb
LUDOC-484 misc: add identity_flush documentation 40/41040/2
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 18 Dec 2020 02:13:12 +0000 (19:13 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 11 Jan 2021 18:46:29 +0000 (18:46 +0000)
Add a description of the mdt.*.identity_flush parameter.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I92b72e6a06bc0e31c2e27fa05aeec67b9c3ebbe5
Reviewed-on: https://review.whamcloud.com/41040
Tested-by: jenkins <devops@whamcloud.com>
LustreProgrammingInterfaces.xml

index 3bb2065..cb72cf0 100644 (file)
@@ -84,7 +84,7 @@
               to complete, to avoid MDS threads and clients hanging due to
               errors accessing a remote service node.  The upcall must finish
               within 30s before the MDS will continue without the supplementary
-              data.  The upcall timeout can be set on the MDS using:
+              data.  The upcall timeout in seconds can be set on the MDS using:
               <literal>lctl set_param mdt.*.identity_acquire_expire=<replaceable>seconds</replaceable></literal></para>
           </listitem>
           <listitem>
             <para>The group downcall data is cached by the kernel to avoid
               repeated upcalls for the same user slowing down the MDS.  This
               cache is expired from the kernel after 1200s (20 minutes) by
-              default.  The cache age can be set on the MDS using:
+              default.  The cache age in seconds can be set on the MDS using:
               <literal>lctl set_param mdt.*.identity_expire=<replaceable>seconds</replaceable></literal></para>
           </listitem>
+          <listitem>
+            <para>To force eviction of cached identity data (e.g. after adding
+              or removing a user from a supplementary group), the cache entry
+              for a specific numeric UID can be flushed on the MDS using:
+              <literal>lctl set_param mdt.*.identity_flush=<replaceable>UID</replaceable></literal>
+              To flush the cached records for all users from cache, use
+              <literal>-1</literal> for the UID:
+              <literal>lctl set_param mdt.*.identity_flush=-1</literal>
+            </para>
+          </listitem>
         </itemizedlist>
       </section>
     </section>