Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   drochner
Date:           Fri Oct 19 17:09:08 UTC 2012

Modified Files:
        src/include: mntopts.h
        src/sbin/atactl: atactl.c
        src/sbin/mount: mount.8
        src/sbin/mount_ffs: mount_ffs.c
        src/sys/dev/ata: atareg.h wd.c
        src/sys/sys: dkio.h fstypes.h
        src/sys/ufs/ffs: ffs_alloc.c ffs_extern.h ffs_vfsops.c
        src/sys/ufs/ufs: ufsmount.h

Log Message:
Implement experimental support to pass notifications that a file
was deleted from the filesystem to the disk driver, commonly
known as "discard" or "trim".
fs/driver support is in ffs and ata wd for now.
This is what was posted here:
http://mail-index.netbsd.org/tech-kern/2012/02/28/msg012813.html
with minor cleanup, and the global switch replaced by a mount option.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/include/mntopts.h
cvs rdiff -u -r1.66 -r1.67 src/sbin/atactl/atactl.c
cvs rdiff -u -r1.77 -r1.78 src/sbin/mount/mount.8
cvs rdiff -u -r1.27 -r1.28 src/sbin/mount_ffs/mount_ffs.c
cvs rdiff -u -r1.40 -r1.41 src/sys/dev/ata/atareg.h
cvs rdiff -u -r1.400 -r1.401 src/sys/dev/ata/wd.c
cvs rdiff -u -r1.17 -r1.18 src/sys/sys/dkio.h
cvs rdiff -u -r1.30 -r1.31 src/sys/sys/fstypes.h
cvs rdiff -u -r1.130 -r1.131 src/sys/ufs/ffs/ffs_alloc.c
cvs rdiff -u -r1.78 -r1.79 src/sys/ufs/ffs/ffs_extern.h
cvs rdiff -u -r1.278 -r1.279 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -u -r1.38 -r1.39 src/sys/ufs/ufs/ufsmount.h

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