cvs commit: src/sys/ufs/ffs ffs_alloc.c
jeff at FreeBSD.org
Sun Jul 3 01:09:05 GMT 2005
jeff 2005-01-24 10:08:35 UTC
FreeBSD src repository
- 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
- 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