cvs commit: src/sys/ufs/ffs ffs_alloc.c
Jeff Roberson
jeff at FreeBSD.org
Sun Jul 3 01:09:05 GMT 2005
jeff 2005-01-24 10:08:35 UTC
FreeBSD src repository
Modified files:
sys/ufs/ffs ffs_alloc.c
Log:
- Don't use atomic operations to deal with the active array, instead
it is now quite naturally protected by the ufsmount mutex.
- Use the ufs lock to protect various fields in struct fs, primarily the
cg summary needs protection to avoid allocation races. Several
functions have been slightly re-arranged to reduce the number of
lock operations.
- Adjust several functions (blkfree, freefile, etc.) to accept a
ufsmount as an argument so that we may access the ufs lock.
Sponsored By: Isilon Systems, Inc.
Revision Changes Path
1.129 +183 -96 src/sys/ufs/ffs/ffs_alloc.c
More information about the cvs-src
mailing list