From: Wendy Cheng Date: Thu, 05 Apr 2007 17:51:28 -0400 Subject: [Cluster-devel] [PATCH 1/4 Revised] NLM - drop per fsid locks Message-ID: <46156F60.1040400@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit By writing exported filesytem id into /proc/fs/nfsd/nlm_unlock, this patch walks thru lockd's global nlm_files list to release all the locks associated with the particular id. It is used to enable NFS lock failover with active-active clustered servers. Relevant steps: 1) Exports filesystem with "fsid" option as: /etc/exports entry> /mnt/shared/exports *(fsid=1234,sync,rw) 2) Drops locks based on fsid by: shell> echo 1234 > /proc/fs/nfsd/nlm_unlock -- Wendy -------------- next part -------------- A non-text attachment was scrubbed... Name: 001_nlm_drop_l.patch Type: text/x-patch Size: 8959 bytes Desc: not available URL: