DragonFly commits List (threaded) for 2012-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel/vfs: enable accounting for ro mounts
commit cc4d37f8a346c3d1f28bce11089ab00026b8f0fb
Author: François Tigeot <ftigeot@wolfpond.org>
Date: Tue Jan 3 14:10:16 2012 +0100
kernel/vfs: enable accounting for ro mounts
* Some filesystems may be first mounted read-only and then upgraded
to read-write status
* The VFS layer has no provision for signaling VFSes of status change,
mount-point specific initialization code can only be run for the
initial mount
* VFS accounting was thus never enabled on a ro->rw mount point transition
* Bite the bullet and run vq_init() unconditionally for both read-only
and read-write mounts, the cost is only a few variables set to NULL
or zero anyway.
Summary of changes:
sys/kern/vfs_default.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cc4d37f8a346c3d1f28bce11089ab00026b8f0fb
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]