Source-Changes archive

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

CVS commit: [netbsd-6] src



Module Name:    src
Committed By:   martin
Date:           Fri Feb 27 20:21:02 UTC 2015

Modified Files:
        src/lib/libperfuse [netbsd-6]: ops.c perfuse.c
        src/lib/libpuffs [netbsd-6]: puffs.3
        src/sys/fs/puffs [netbsd-6]: puffs_msgif.h puffs_sys.h puffs_vfsops.c
            puffs_vnops.c

Log Message:
Pull up following revision(s) (requested by manu in ticket #1260):
        lib/libpuffs/puffs.3: revision 1,55,1.60
        sys/fs/puffs/puffs_msgif.h: revision 1.84
        lib/libperfuse/ops.c: revision 1.83
        sys/fs/puffs/puffs_sys.h: revision 1.89
        sys/fs/puffs/puffs_vfsops.c: revision 1.116
        lib/libperfuse/perfuse.c: revision 1.36
        sys/fs/puffs/puffs_vnops.c: revision 1.200-1.202

Use more markup. New sentence, new line. Bump date for previous.

Add PUFFS_KFLAG_NOFLUSH_META to prevent sending metadata flush to FUSE
FUSE filesystems do not expect to get metadata updates for [amc]time
and size, they updates the value on their own after operations.

The PUFFS PUFFS_KFLAG_NOFLUSH_META option prevents regular metadata cache
flushes to the filesystem , and libperfuse uses it to match Linux FUSE
behavior.

While there, fix a bug in SETATTR: do not update kernel metadata cache
from SETATTR reply when the request is asynchronous, as we do not have
the reply yet.

Update file size after write without metadata flush
If we do not use metadata flush, we must make sure the size is updated
in the filesystem after a write, otherwise the next GETATTR will get us
a stale value and the file will be truncated.


To generate a diff of this commit:
cvs rdiff -u -r1.50.2.20 -r1.50.2.21 src/lib/libperfuse/ops.c
cvs rdiff -u -r1.25.2.5 -r1.25.2.6 src/lib/libperfuse/perfuse.c
cvs rdiff -u -r1.49.2.3 -r1.49.2.4 src/lib/libpuffs/puffs.3
cvs rdiff -u -r1.77.8.3 -r1.77.8.4 src/sys/fs/puffs/puffs_msgif.h
cvs rdiff -u -r1.78.8.3 -r1.78.8.4 src/sys/fs/puffs/puffs_sys.h
cvs rdiff -u -r1.100.8.3 -r1.100.8.4 src/sys/fs/puffs/puffs_vfsops.c
cvs rdiff -u -r1.163.2.11 -r1.163.2.12 src/sys/fs/puffs/puffs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index