public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* nfs4 locks: What happens when a lease can't get renewed?
@ 2010-06-11 21:15 Nils Goroll
       [not found] ` <4C12A779.6010005-fLMQ21Bj+IYb1SvskN2V4Q@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Nils Goroll @ 2010-06-11 21:15 UTC (permalink / raw)
  To: linux-nfs

Hi,

I wonder what happens if a lock on nfs4 has been acquired by an application (for
instance, using fcntl(fd, F_SETLK, F_WRLCK)) and the lock can't be RENEWed, for
instance due to a network outage preventing communication between the client and
the server.

I would have thought that some notification mechanism was useful, for instance
my means of delivery of a signal as set using F_SETOWN / F_SETSIG for leases.

I would highly appreciate helpful pointers should this question have already
been discussed of if there exists any other helpful documentation on it.

Thank you,

Nils

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: nfs4 locks: What happens when a lease can't get renewed?
       [not found] ` <4C12A779.6010005-fLMQ21Bj+IYb1SvskN2V4Q@public.gmane.org>
@ 2010-06-17 10:08   ` Nils Goroll
  0 siblings, 0 replies; 2+ messages in thread
From: Nils Goroll @ 2010-06-17 10:08 UTC (permalink / raw)
  To: linux-nfs

Hi,

I am reposting my question because I feel it is quite substantial. IMHO, some
mechanism to ensure data integrity is needed for "lost locks".

On 06/11/10 11:15 PM, Nils Goroll wrote:
> Hi,
> 
> I wonder what happens if a lock on nfs4 has been acquired by an application (for
> instance, using fcntl(fd, F_SETLK, F_WRLCK)) and the lock can't be RENEWed, for
> instance due to a network outage preventing communication between the client and
> the server.
> 
> I would have thought that some notification mechanism was useful, for instance
> my means of delivery of a signal as set using F_SETOWN / F_SETSIG for leases.
> 
> I would highly appreciate helpful pointers should this question have already
> been discussed of if there exists any other helpful documentation on it.
> 
> Thank you,
> 
> Nils
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-17 10:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-11 21:15 nfs4 locks: What happens when a lease can't get renewed? Nils Goroll
     [not found] ` <4C12A779.6010005-fLMQ21Bj+IYb1SvskN2V4Q@public.gmane.org>
2010-06-17 10:08   ` Nils Goroll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox