]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement VOP_FDATASYNC() for msdosfs.
authorkib <kib@FreeBSD.org>
Mon, 15 Aug 2016 19:17:00 +0000 (19:17 +0000)
committerkib <kib@FreeBSD.org>
Mon, 15 Aug 2016 19:17:00 +0000 (19:17 +0000)
commit30646b2071b3520465a822ebb1bbd1939939614d
treefbac7ea724a3da6bbb1d0c9e535841ffa963c7a2
parentab615e726f7d07a2dd5e904c1fa064e08c05b168
Implement VOP_FDATASYNC() for msdosfs.

Standard VOP_FSYNC() implementation just syncs data buffers, and due
to this, is the correct and efficient implementation for msdosfs or
any other filesystem which uses bufer cache trivially.  Provide
globally visible wrapper vop_stdfdatasync_buf() for future consumption
by other filesystems.

Reviewed by: mckusick
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D7471
sys/fs/msdosfs/msdosfs_vnops.c
sys/kern/vfs_default.c
sys/sys/vnode.h