[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [bouyer-quota2] src/sys/ufs
Module Name: src
Committed By: bouyer
Date: Sat Feb 12 19:52:40 UTC 2011
src/sys/ufs/ffs [bouyer-quota2]: ffs_snapshot.c
src/sys/ufs/ufs [bouyer-quota2]: ufs_quota.c
Do not update disk quotas for snapshot inodes, as this may require a
write to the same filesystem, which will trigger a copy on write,
which will trigger another update to the same block.
Set SF_SNAPSHOT just after truncating the snapshot inode, so that this
inode always account for 0 blocks in quotas.
To generate a diff of this commit:
cvs rdiff -u -r1.102 -r18.104.22.168 src/sys/ufs/ffs/ffs_snapshot.c
cvs rdiff -u -r22.214.171.124 -r126.96.36.199 src/sys/ufs/ufs/ufs_quota.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |