From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Joseph D. Wagner" Subject: RE: Does mandatory locking need to be set when the file is locked? Date: Mon, 15 Dec 2003 09:50:18 -0600 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <000001c3c323$24154030$0201a8c0@joe> References: <20031215153858.GE15674@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Cc: Return-path: Received: from ssa8.serverconfig.com ([209.51.129.179]:57735 "EHLO ssa8.serverconfig.com") by vger.kernel.org with ESMTP id S263734AbTLOPuT convert rfc822-to-8bit (ORCPT ); Mon, 15 Dec 2003 10:50:19 -0500 To: "'Matthew Wilcox'" In-Reply-To: <20031215153858.GE15674@parcelfarce.linux.theplanet.co.uk> List-Id: linux-fsdevel.vger.kernel.org > Please, don't use mandatory locking. It's racy (by design), buggy > (by design) and adds code to the fast path. 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. Joseph D. Wagner