freebsd-skq/sys/ufs
mckusick 8cecf7b3e5 When creating a snapshot, create a list of initially allocated blocks.
Whenever doing a copy-on-write check, first look in the list of
initially allocated blocks to see if it is there. If so, no further
check is needed. If not, fall through and do the full check. This
change eliminates one of two known deadlocks caused by snapshots.
Handling the second deadlock will be the subject of another check-in.
This change also reduces the cost of the copy-on-write check by
speeding up the verification of frequently checked blocks.

Sponsored by:	DARPA & NAI Labs.
2002-10-09 06:13:48 +00:00
..
ffs When creating a snapshot, create a list of initially allocated blocks. 2002-10-09 06:13:48 +00:00
ufs Mark two places where an unsigned number is checked "if (foo < 0)" with 2002-10-02 09:11:18 +00:00