Re: [Nfs-ganesha-devel] NLM locks recovery issue

2017-10-17 Thread Frank Filz
To: Malahal Naineni <mala...@gmail.com <mailto:mala...@gmail.com> > Cc: nfs-ganesha-devel@lists.sourceforge.net <mailto:nfs-ganesha-devel@lists.sourceforge.net> Subject: Re: [Nfs-ganesha-devel] NLM locks recovery issue Hi, I had a follow up question on this. I was looking into NSM re

Re: [Nfs-ganesha-devel] NLM locks recovery issue

2017-10-17 Thread sriram patil
lto:spsrirampa...@gmail.com] >> *Sent:* Monday, October 16, 2017 11:02 PM >> *To:* Frank Filz <ffilz...@mindspring.com> >> *Cc:* Malahal Naineni <mala...@gmail.com>; nfs-ganesha-devel@lists.source >> forge.net >> >> *Subject:* Re: [Nfs-ganesha-devel] NLM locks

Re: [Nfs-ganesha-devel] NLM locks recovery issue

2017-10-17 Thread sriram patil
l [mailto:spsrirampa...@gmail.com] > *Sent:* Monday, October 16, 2017 11:02 PM > *To:* Frank Filz <ffilz...@mindspring.com> > *Cc:* Malahal Naineni <mala...@gmail.com>; nfs-ganesha-devel@lists. > sourceforge.net > > *Subject:* Re: [Nfs-ganesha-devel] NLM lock

Re: [Nfs-ganesha-devel] NLM locks recovery issue

2017-10-16 Thread Frank Filz
anesha-devel@lists.sourceforge.net Subject: Re: [Nfs-ganesha-devel] NLM locks recovery issue Hi, I had a follow up question on this. I was looking into NSM related implementation as well. I see that ganesha handles the notify messages from clients and releases all the locks. But, when the

Re: [Nfs-ganesha-devel] NLM locks recovery issue

2017-10-16 Thread sriram patil
Hi, I had a follow up question on this. I was looking into NSM related implementation as well. I see that ganesha handles the notify messages from clients and releases all the locks. But, when the server crashes/restarts it does not explicitly notify clients. I did not find any code sending

[Nfs-ganesha-devel] NLM locks recovery issue

2017-10-16 Thread sriram patil
Hi, I was looking into NLM locking code for NFSv3. According to NLM/NSM protocols specifications, when server restarts, the client should send nlm4_Lock request with "reclaim" flag set. This reclaim is honored only if "NLM server" is in grace period. However, this code in nlm4_Lock function