public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 9/17] locks: add lock cancel command
@ 2007-04-09 18:41 Christoph Hellwig
  2007-04-10 21:53 ` J. Bruce Fields
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2007-04-09 18:41 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: akpm, Trond Myklebust, Marc Eshel, linux-fsdevel

On Thu, Apr 05, 2007 at 07:40:59PM -0400, J. Bruce Fields wrote:
> From: Marc Eshel <eshel@almaden.ibm.com> - unquoted
> 
> Lock managers need to be able to cancel pending lock requests.  In the case
> where the exported filesystem manages its own locks, it's not sufficient just
> to call posix_unblock_lock(); we need to let the filesystem know what's
> happening too.
> 
> We do this by adding a new fcntl lock command: FL_CANCELLK.  Some day this
> might also be made available to userspace applications that could benefit from
> an asynchronous locking api.

Should we really add more and more subcases to ->lock that probably don't
share implementation code?  I'd much prefer adding different operations.


^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <117581646786-git-send-email->]

end of thread, other threads:[~2007-04-10 21:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-09 18:41 [PATCH 9/17] locks: add lock cancel command Christoph Hellwig
2007-04-10 21:53 ` J. Bruce Fields
     [not found] <117581646786-git-send-email->
     [not found] ` <11758164673642-git-send-email->
     [not found]   ` <11758164671398-git-send-email->
     [not found]     ` <11758164672114-git-send-email->
     [not found]       ` <11758164672880-git-send-email->
     [not found]         ` <1175816467294-git-send-email->
     [not found]           ` <11758164671240-git-send-email->
     [not found]             ` <11758164686-git-send-email->
     [not found]               ` <1175816468241-git-send-email->
2007-04-05 23:40                 ` J. Bruce Fields

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