mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* fcntl: F_SETLEASE/F_RDLCK question
@ 2005-05-02  9:15 Heiko Carstens
  2005-05-02 11:04 ` Stephen Rothwell
  0 siblings, 1 reply; 15+ messages in thread
From: Heiko Carstens @ 2005-05-02  9:15 UTC (permalink / raw)
  To: linux-kernel, Andy Adamson, Matthew Wilcox; +Cc: Martin Schwidefsky

Hi,

the semantics of fnctl used together with F_SETLEASE and
argument F_RDLCK have been changed with bk changeset
1.1938.185.141 (sometime between 2.6.9 and 2.6.10).
Since then it's only possible to get a read lease when the
file in question does not have _any_ writers.
This is at least inconsistent with the man page of fcntl
and looks pretty much like this is a bug in the kernel.

Any comments?

Thanks,
Heiko

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

end of thread, other threads:[~2005-05-31 15:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-02  9:15 fcntl: F_SETLEASE/F_RDLCK question Heiko Carstens
2005-05-02 11:04 ` Stephen Rothwell
2005-05-02 12:10   ` Heiko Carstens
2005-05-03 10:00   ` Michael Kerrisk
2005-05-03 13:14     ` Stephen Rothwell
2005-05-03 13:55       ` William A.(Andy) Adamson
2005-05-03 13:59         ` Matthew Wilcox
2005-05-03 14:15           ` William A.(Andy) Adamson
2005-05-03 14:50             ` Michael Kerrisk
2005-05-03 16:21               ` William A.(Andy) Adamson
2005-05-03 16:36                 ` J. Bruce Fields
2005-05-31 14:53       ` Michael Kerrisk
2005-05-31 15:23         ` J. Bruce Fields
2005-05-31 15:41           ` Michael Kerrisk
2005-05-31 15:34       ` File leases and fork() Michael Kerrisk

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

all inboxes | Powered by JetHome®