Date: Tue, 17 Dec 2002 14:36:33 -0800 (PST) From: Kirk McKusick <mckusick@FreeBSD.org> 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 Message-ID: <200212172236.gBHMaXnU029348@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <iedowse@maths.tcd.ie>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212172236.gBHMaXnU029348>
