summaryrefslogtreecommitdiffstats
path: root/utils/gssd/gssd_proc.c
diff options
context:
space:
mode:
authorDavid Hardeman <david@hardeman.nu>2015-01-21 17:13:52 -0500
committerSteve Dickson <steved@redhat.com>2015-01-23 14:19:09 -0500
commitda7a3a2f06d77224de821d1fe44c813eacb30ab8 (patch)
treefd902d23b2e55083bd99220cef2aa8aa1a622792 /utils/gssd/gssd_proc.c
parente01a0c33d463fe8f0f465879e0b0e3f0b9519bc7 (diff)
downloadnfs-utils-da7a3a2f06d77224de821d1fe44c813eacb30ab8.tar.gz
nfs-utils-da7a3a2f06d77224de821d1fe44c813eacb30ab8.tar.xz
nfs-utils-da7a3a2f06d77224de821d1fe44c813eacb30ab8.zip
gssd - improve inotify
Make full use of inotify by not rescanning the whole tree on each change, instead keep track of the inotify events and make sure that the minimum work (scan/create/delete) clients is done in most cases. Still detect anomalies and perform a full rescan in those cases. Signed-off-by: David Hardeman <david@hardeman.nu> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/gssd_proc.c')
-rw-r--r--utils/gssd/gssd_proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c
index c16f111..e39faf0 100644
--- a/utils/gssd/gssd_proc.c
+++ b/utils/gssd/gssd_proc.c
@@ -9,6 +9,7 @@
Copyright (c) 2002 Marius Aamodt Eriksen <marius@UMICH.EDU>.
Copyright (c) 2002 Bruce Fields <bfields@UMICH.EDU>
Copyright (c) 2004 Kevin Coffman <kwc@umich.edu>
+ Copyright (c) 2014 David H?rdeman <david@hardeman.nu>
All rights reserved, all wrongs reversed.
Redistribution and use in source and binary forms, with or without