[111] in arla-drinkers

home help back first fref pref prev next nref lref last post

flock and fcntl(F_SETLK)

daemon@ATHENA.MIT.EDU (Magnus Ahltorp)
Sun Jul 19 17:41:25 1998

From arla-drinkers-request@sundance.stacken.kth.se Sun Jul 19 21:41:24 1998
Return-Path: <arla-drinkers-request@sundance.stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 13383 invoked from network); 19 Jul 1998 21:41:23 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 19 Jul 1998 21:41:23 -0000
Received: from yakko.stacken.kth.se (map@yakko.stacken.kth.se [130.237.234.52])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id XAA21833;
	Sun, 19 Jul 1998 23:36:20 +0200 (MET DST)
Received: (from map@localhost)
	by yakko.stacken.kth.se (8.8.8/8.8.7) id XAA20321;
	Sun, 19 Jul 1998 23:36:03 +0200 (CEST)
Sender: map@stacken.kth.se
To: linux-kernel@vger.rutgers.edu
Cc: arla-drinkers@stacken.kth.se
Subject: flock and fcntl(F_SETLK)
From: Magnus Ahltorp <map@stacken.kth.se>
Date: 19 Jul 1998 23:36:01 +0200
Message-ID: <lv14swdy14u.fsf@yakko.stacken.kth.se>
Lines: 9
X-Mailer: Gnus v5.3/Emacs 19.34

fcntl(F_SETLK) uses the f_op->lock(), so why doesn't flock() have a
similar hook in the file system?

This inconsistency makes flock() broken when using network file
systems that have proper locking (like AFS). How is this supposed to
be implemented in network file systems?

/Magnus
map@stacken.kth.se

home help back first fref pref prev next nref lref last post