From owner-cvs-all Tue Dec 17 14:36:35 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 34D4E37B401; Tue, 17 Dec 2002 14:36:34 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5D2F43E4A; Tue, 17 Dec 2002 14:36:33 -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 gBHMaXmV029349; Tue, 17 Dec 2002 14:36:33 -0800 (PST) (envelope-from mckusick@repoman.freebsd.org) Received: (from mckusick@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBHMaXnU029348; Tue, 17 Dec 2002 14:36:33 -0800 (PST) Message-Id: <200212172236.gBHMaXnU029348@repoman.freebsd.org> From: Kirk McKusick Date: Tue, 17 Dec 2002 14:36:33 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys conf.h src/sys/ufs/ufs inode.h src/sys/ufs/ffs ffs_snapshot.c X-FreeBSD-CVS-Branch: RELENG_5_0 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/17 14:36:33 PST Modified files: (Branch: RELENG_5_0) sys/sys conf.h sys/ufs/ufs inode.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. Reviewed by: Ian Dowse Sponsored by: DARPA & NAI Labs. Approved by: re MFC from: src/sys/sys/conf.h 1.151 MFC from: src/sys/ufs/ufs/inode.h 1.42 & 1.43 MFC from: src/sys/ufs/ffs/ffs_snapshot.c 1.54 & 1.55 Revision Changes Path 1.150.2.1 +8 -2 src/sys/sys/conf.h 1.53.2.1 +183 -135 src/sys/ufs/ffs/ffs_snapshot.c 1.41.2.1 +6 -3 src/sys/ufs/ufs/inode.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message