• Christoph Hellwig's avatar
    hfsplus: optimize fsync · e3494705
    Christoph Hellwig authored
    Avoid doing unessecary work in fsync.  Do nothing unless the inode
    was marked dirty, and only write the various metadata inodes out if
    they contain any dirty state from this inode.  This is archived by
    adding three new dirty bits to the hfsplus-specific inode which are
    set in the correct places.
    Signed-off-by: default avatarChristoph Hellwig <hch@tuxera.com>
    e3494705
inode.c 16.6 KB