Date: Sun, 03 Jul 2005 01:08:35 -0000 From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c Message-ID: <200501241008.j0OA8ZMw029841@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501241008.j0OA8ZMw029841>