From owner-cvs-all Fri Dec 13 17:37: 1 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B340337B401; Fri, 13 Dec 2002 17:37:00 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F28743E4A; Fri, 13 Dec 2002 17:37:00 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gBE1b0mV035774; Fri, 13 Dec 2002 17:37:00 -0800 (PST) (envelope-from mckusick@repoman.freebsd.org) Received: (from mckusick@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBE1b0fN035773; Fri, 13 Dec 2002 17:37:00 -0800 (PST) Message-Id: <200212140137.gBE1b0fN035773@repoman.freebsd.org> From: Kirk McKusick Date: Fri, 13 Dec 2002 17:37:00 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ufs inode.h src/sys/sys conf.h src/sys/ufs/ffs ffs_snapshot.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mckusick 2002/12/13 17:37:00 PST Modified files: sys/ufs/ufs inode.h sys/sys conf.h sys/ufs/ffs ffs_snapshot.c Log: Only the most recent snapshot contains the complete list of blocks that were copied in all of the earlier snapshots, thus its precomputed list must be used in the copyonwrite test. Using incomplete lists may lead to deadlock. Also do not include the blocks used for the indirect pointers in the indirect pointers as this may lead to inconsistent snapshots. Sponsored by: DARPA & NAI Labs. Approved by: re Revision Changes Path 1.151 +8 -2 src/sys/sys/conf.h 1.54 +188 -138 src/sys/ufs/ffs/ffs_snapshot.c 1.42 +0 -2 src/sys/ufs/ufs/inode.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message