From owner-freebsd-current@FreeBSD.ORG Sat Aug 23 02:01:35 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1ECF116A4BF for ; Sat, 23 Aug 2003 02:01:35 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E23E43F3F for ; Sat, 23 Aug 2003 02:01:34 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h7N91SRH024773; Sat, 23 Aug 2003 11:01:28 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Kirk McKusick From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 23 Aug 2003 01:32:38 PDT." <200308230832.h7N8Wcol050681@beastie.mckusick.com> Date: Sat, 23 Aug 2003 11:01:28 +0200 Message-ID: <24772.1061629288@critter.freebsd.dk> cc: "\[iso-8859-2\] Branko F. Gračnar" cc: freebsd-current@freebsd.org cc: Robert Watson cc: Paul Saab Subject: Re: mksnap_ffs, snapshot issues, again X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2003 09:01:35 -0000 In message <200308230832.h7N8Wcol050681@beastie.mckusick.com>, Kirk McKusick writes: >But, to get to the problem that you are having with accessing your >filesystem. The problem is that although the filesystem is only >locked briefly, the snapshot file is locked for the entire 48 minutes. >Thus, if you touch the snapshot file (by for example doing a "stat" >on it), then the process doing the stat will hang for 48 minutes. Isn't there some way we can loosen this aspect up ? Either by having stat know about it and return approximate info or simply by failing ? (I pressume that making the sleep interruptible would break all sorts of standards) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.