Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2000 11:26:26 -0400 (EDT)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-hackers@freebsd.org
Subject:   Questions of the syncer process
Message-ID:  <Pine.SOL.4.21.0004191113350.26080-100000@sol.cs.binghamton.edu>

next in thread | raw e-mail | index | archive | help

I have two questions related to the syncer process that replaces the old
update process:

(1) The syncer process is waken up once a second (it sleeps on lbolt). If
I have more than 30 mounted filesystems, then each filesystem's dirty data
will stay more than 30 seconds.  If I only have a couple of filesystems,
then the syncer will run more frequenty than the old update process. Is
this a good choice?

(2) I do not understand why vfs_msync(mp, MNT_NOWAIT) is called before
VFS_SYNC(mp, MNT_LAZY,...). It seems to me that the latter includes the
work done by the former.

Thanks for any insights into this subject.

-Zhihui



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0004191113350.26080-100000>