From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Randy.Dunlap" Subject: Re: Does mandatory locking need to be set when the file is locked? Date: Mon, 15 Dec 2003 08:23:10 -0800 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20031215082310.75d92d1e.rddunlap@osdl.org> References: <20031215153858.GE15674@parcelfarce.linux.theplanet.co.uk> <000001c3c323$24154030$0201a8c0@joe> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: willy@debian.org, linux-fsdevel@vger.kernel.org Return-path: Received: from fw.osdl.org ([65.172.181.6]:17619 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S263700AbTLOQb6 (ORCPT ); Mon, 15 Dec 2003 11:31:58 -0500 To: "Joseph D. Wagner" In-Reply-To: <000001c3c323$24154030$0201a8c0@joe> List-Id: linux-fsdevel.vger.kernel.org On Mon, 15 Dec 2003 09:50:18 -0600 "Joseph D. Wagner" wrote: | > Please, don't use mandatory locking. It's racy (by design), buggy | > (by design) and adds code to the fast path. provide suggested alternatives... | What!?! Are you saying mandatory locking doesn't always work? | | Exactly what are the known bugs, and when do they happen? | | My program DEPENDS upon mandatory locking, so I'd like a little more info before I abandon that route entirely. | | Thanks for your time. -- ~Randy MOTD: Always include version info.