On Mon, Jan 7, 2019 at 8:28 PM Malahal Naineni <malahal(a)gmail.com> wrote:
sm-notify has a state number, hopefully that should help the client
not reclaim the locks.
In my case, I need to increase the state number for sm-notify (even
without Ganesha restart). This makes the client to reclaim.
The issue I see is, during reclaims client always uses the state number as zero.
So, if client had taken lock with state number 5 and then it reclaims
it, it reclaims with state number 0.
This adds two entries at Ganesha side, one for each state number. This
works in Ganesha restart case.
As I am getting the reclaims without Ganesha restart, there are two
entries on server side.
This cause the issue - even after client unlocks the lock, the file
remains locked on the server side.
Thanks & Regards,
Suhrud
> Regards, Malahal.
>
> On Mon, Jan 7, 2019 at 7:51 PM Daniel Gryniewicz <dang(a)redhat.com> wrote:
> >
> > I believe this should be fine.
> >
> > Daniel
> >
> > On 12/28/2018 01:51 AM, Suhrud Patankar wrote:
> > > Hello All,
> > >
> > > For one case in our cluster, I need to send sm-notify to the client
> > > even when Ganesha has not restarted, but it is in Grace period.
> > > So the client sends reclaim to a server which has not actually lost the
locks.
> > >
> > > Can Ganesha handle NLM reclaim locks without actually loosing the locks
first?
> > >
> > > Thanks & Regards,
> > > Suhrud
> > > _______________________________________________
> > > Devel mailing list -- devel(a)lists.nfs-ganesha.org
> > > To unsubscribe send an email to devel-leave(a)lists.nfs-ganesha.org
> > >
> > _______________________________________________
> > Devel mailing list -- devel(a)lists.nfs-ganesha.org
> > To unsubscribe send an email to devel-leave(a)lists.nfs-ganesha.org
> _______________________________________________
> Devel mailing list -- devel(a)lists.nfs-ganesha.org
> To unsubscribe send an email to devel-leave(a)lists.nfs-ganesha.org