DragonFly BSD
DragonFly kernel List (threaded) for 2011-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

per-filesystem syncer threads


From: Venkatesh Srinivas <me@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Dec 2011 23:31:09 -0500

Hi,

There is a kernel process, 'syncer', that periodically fsync()s dirty
vnodes on each filesystem and syncs each filesystem.

This patchset (http://leaf.dragonflybsd.org/~vsrinivas/syncer) {or
http://gitweb.dragonflybsd.org/~vsrinivas/vmflush if you prefer git
trees} allows filesystems to flag themselves with MNT_THR_SYNC; if
they are so flagged, their periodic fsync() and sync paths will be
called from a per-filesystem thread.

The patchset doesn't make any filesystems that way, but I've tested a
little bit with UFS and tmpfs.

Any comments/patch reviews/etc would be greatly appreciated!

Thanks,
-- vs;



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]