]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Only the most recent snapshot contains the complete list of blocks
authorKirk McKusick <mckusick@FreeBSD.org>
Sat, 14 Dec 2002 01:36:59 +0000 (01:36 +0000)
committerKirk McKusick <mckusick@FreeBSD.org>
Sat, 14 Dec 2002 01:36:59 +0000 (01:36 +0000)
commit0db138a6b0df9d7ae412c29a0d3ed4fa094d01ed
tree117df852a8e9562b242983825c63bf072eb527fe
parent0f5f789c0d2a4333fd5d917ea1e165bc2a62ffda
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
sys/sys/conf.h
sys/sys/linedisc.h
sys/ufs/ffs/ffs_snapshot.c
sys/ufs/ufs/inode.h