git: sys/vfs/msdosfs: Improve fsync(2) behavior

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Thu Nov 7 05:38:08 PST 2019


commit 8480e7bcdf9ffa9f44f80f9362c6f62424ada748
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Fri Nov 8 00:21:06 2019 +0900

    sys/vfs/msdosfs: Improve fsync(2) behavior
    
    from freebsd/freebsd at 3bbdcb77fd843ff34a0054bea92392cee78dd0ec
    
    Do sloppy sync of metadata by syncing the entire FAT on fsync(2).
    Also improve deupdat(). Read above for details.

Summary of changes:
 sys/vfs/msdosfs/msdosfs_denode.c | 33 +++++++++++++++++++++++----------
 sys/vfs/msdosfs/msdosfs_vnops.c  | 30 ++++++++++++++++++++++++++----
 2 files changed, 49 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8480e7bcdf9ffa9f44f80f9362c6f62424ada748


-- 
DragonFly BSD source repository



More information about the Commits mailing list