CVS commit: [netbsd-7] src/sys/fs/puffs
Module Name:src Committed By: snj Date: Sun Mar 15 22:43:02 UTC 2015 Modified Files: src/sys/fs/puffs [netbsd-7]: puffs_vfsops.c Log Message: Pull up following revision(s) (requested by tron in ticket #587): sys/fs/puffs/puffs_vfsops.c: revision 1.117 Remove debug printf To generate a diff of this commit: cvs rdiff -u -r1.113.2.3 -r1.113.2.4 src/sys/fs/puffs/puffs_vfsops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-7] src/sys/fs/puffs
Module Name:src Committed By: martin Date: Sat Jan 17 11:49:09 UTC 2015 Modified Files: src/sys/fs/puffs [netbsd-7]: puffs_vnops.c Log Message: Pull up following revision(s) (requested by manu in ticket #423): sys/fs/puffs/puffs_vnops.c: revision 1.199 Make sure reads on empty files reach PUFFS filesystems Sending a read through the page cache will get the operation short-circuited. This is a problem with some filesystems that expect to receive the read operation in order to update atime. We fix that by bypassing the page cache when reading a file wich a size known to be zero. To generate a diff of this commit: cvs rdiff -u -r1.182.2.11 -r1.182.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.
CVS commit: [netbsd-7] src/sys/fs/puffs
Module Name:src Committed By: msaitoh Date: Sun Nov 9 10:09:32 UTC 2014 Modified Files: src/sys/fs/puffs [netbsd-7]: puffs_node.c puffs_vnops.c Log Message: Pull up following revision(s) (requested by manu in ticket #194): sys/fs/puffs/puffs_vnops.c: revision 1.197 sys/fs/puffs/puffs_node.c: revision 1.35 Fix PUFFS node use-after-reclaim When puffs_cookie2vnode() misses an entry, vcache_get() creates a new node (puffs_vfsop_loadvnode being called to initialize the PUFFS part), then it discovers it is VNON, and tries to vrele() it. vrele() calls VOP_INACTIVE(), which led us in puffs_vnop_inactive() where we sent a request to the filesystem for a node that already had been reclaimed. The fix is to check for VNON nodes in puffs_vnop_inactive() and to return without doing anyting. This is suboptimal, but a better workaround would probably need to modify vcache API, with an impact on other filesystems. Let us keep it simple. To generate a diff of this commit: cvs rdiff -u -r1.31.4.3 -r1.31.4.4 src/sys/fs/puffs/puffs_node.c cvs rdiff -u -r1.182.2.10 -r1.182.2.11 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.
CVS commit: [netbsd-7] src/sys/fs/puffs
Module Name:src Committed By: msaitoh Date: Sun Nov 9 10:07:31 UTC 2014 Modified Files: src/sys/fs/puffs [netbsd-7]: puffs_vnops.c Log Message: Pull up following revision(s) (requested by manu in ticket #193): sys/fs/puffs/puffs_vnops.c: revision 1.198 PUFFS direct I/O cache fix There are a few situations where we must take care of the cache if direct I/O was enabled: - if we do direct I/O for write but not for read, then any write must invalidate the cache so that a reader gets the written data and not the not-updated cache. - if we used a vnode without direct I/O and it is enabled for writing, we must flush the cache before compeling the open operation, so that the cachec write are not lost. And at inactive time, we wipe direct I/O flags so that a new open without direct I/O does not inherit direct I/O. To generate a diff of this commit: cvs rdiff -u -r1.182.2.9 -r1.182.2.10 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.
CVS commit: [netbsd-7] src/sys/fs/puffs
Module Name:src Committed By: snj Date: Wed Nov 5 18:16:17 UTC 2014 Modified Files: src/sys/fs/puffs [netbsd-7]: puffs_vnops.c Log Message: Pull up following revision(s) (requested by manu in ticket #182): sys/fs/puffs/puffs_vnops.c: revision 1.195 According to pooka@'s comment, a long time ago, VOP_STRATEGY could not fail without taking down the kernel. It seems this is not the case anymore, hence we can stop dropping errors in puffs_vnop_strategy() Approved by pooka@ To generate a diff of this commit: cvs rdiff -u -r1.182.2.8 -r1.182.2.9 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.
CVS commit: [netbsd-7] src/sys/fs/puffs
Module Name:src Committed By: martin Date: Tue Oct 14 08:16:03 UTC 2014 Modified Files: src/sys/fs/puffs [netbsd-7]: puffs_vnops.c Log Message: Pull up revisions 1.192-1.194: fix debug printf formatting and make it compile without debugging enabled. To generate a diff of this commit: cvs rdiff -u -r1.182.2.6 -r1.182.2.7 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.
CVS commit: [netbsd-7] src/sys/fs/puffs
Module Name:src Committed By: martin Date: Mon Oct 13 18:57:46 UTC 2014 Modified Files: src/sys/fs/puffs [netbsd-7]: puffs_vnops.c Log Message: Pull up following revision(s) (requested by manu in ticket #136): sys/fs/puffs/puffs_vnops.c: revision 1.189-1.191 If we truncate a file open for writing, make sure we zero-fill the end of the last page, otherwise if the file is later truncated to a larger size (creating a hole), that area will not return zeroes as it should. To generate a diff of this commit: cvs rdiff -u -r1.182.2.5 -r1.182.2.6 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.
CVS commit: [netbsd-7] src/sys/fs/puffs
Module Name:src Committed By: martin Date: Tue Sep 30 18:14:22 UTC 2014 Modified Files: src/sys/fs/puffs [netbsd-7]: puffs_node.c puffs_vnops.c Log Message: Pull up following revision(s) (requested by hannken in ticket #67): sys/fs/puffs/puffs_node.c: revision 1.34 sys/fs/puffs/puffs_vnops.c: revision 1.187 Fix the puffs_sop_thread -> puffs_cookie2vnode path: - pass the cookie by reference - add missing mutex_exit() - update assertion for VNON typed vnodes To generate a diff of this commit: cvs rdiff -u -r1.31.4.2 -r1.31.4.3 src/sys/fs/puffs/puffs_node.c cvs rdiff -u -r1.182.2.4 -r1.182.2.5 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.
CVS commit: [netbsd-7] src/sys/fs/puffs
Module Name:src Committed By: martin Date: Thu Sep 11 14:00:54 UTC 2014 Modified Files: src/sys/fs/puffs [netbsd-7]: puffs_vnops.c Log Message: Pull up following revision(s) (requested by manu in ticket #93): sys/fs/puffs/puffs_vnops.c: revision 1.186 PUFFS fixes for size update ater write plus read/write sanity checks - Always update kernel metadata cache for size when writing This fixes situation where size update after appending to a file lagged - Make read/write nilpotent when called with null size, as FFS does - Return EFBIG instead of EINVAL for negative offsets, as FFS does To generate a diff of this commit: cvs rdiff -u -r1.182.2.3 -r1.182.2.4 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.
CVS commit: [netbsd-7] src/sys/fs/puffs
Module Name:src Committed By: martin Date: Wed Sep 10 08:42:28 UTC 2014 Modified Files: src/sys/fs/puffs [netbsd-7]: puffs_node.c puffs_vnops.c Log Message: Pull up following revision(s) (requested by manu in ticket #79): sys/fs/puffs/puffs_node.c: revision 1.33 sys/fs/puffs/puffs_vnops.c: revision 1.185 When changing a directory content, update the ctime/mtime in kernel cache, otherwise the updated ctime/mtime appears after the cached entry expire. To generate a diff of this commit: cvs rdiff -u -r1.31.4.1 -r1.31.4.2 src/sys/fs/puffs/puffs_node.c cvs rdiff -u -r1.182.2.2 -r1.182.2.3 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.
CVS commit: [netbsd-7] src/sys/fs/puffs
Module Name:src Committed By: martin Date: Fri Aug 29 11:55:34 UTC 2014 Modified Files: src/sys/fs/puffs [netbsd-7]: puffs_msgif.c puffs_node.c puffs_sys.h puffs_vfsops.c puffs_vnops.c Log Message: Pull up following revision(s) (requested by hannken in ticket #67): sys/fs/puffs/puffs_sys.h: revision 1.86 sys/fs/puffs/puffs_vfsops.c: revision 1.114 sys/fs/puffs/puffs_msgif.c: revision 1.95 sys/fs/puffs/puffs_node.c: revision 1.32 sys/fs/puffs/puffs_vnops.c: revision 1.184 Change puffs from hashlist to vcache. - field "pa_nhashbuckets" of struct "puffs_kargs" becomes a no-op. and should be removed on the next protocol version bump. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.94.4.1 src/sys/fs/puffs/puffs_msgif.c cvs rdiff -u -r1.31 -r1.31.4.1 src/sys/fs/puffs/puffs_node.c cvs rdiff -u -r1.84.4.1 -r1.84.4.2 src/sys/fs/puffs/puffs_sys.h cvs rdiff -u -r1.113 -r1.113.2.1 src/sys/fs/puffs/puffs_vfsops.c cvs rdiff -u -r1.182.2.1 -r1.182.2.2 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.
CVS commit: [netbsd-7] src/sys/fs/puffs
Module Name:src Committed By: riz Date: Tue Aug 26 23:15:13 UTC 2014 Modified Files: src/sys/fs/puffs [netbsd-7]: puffs_msgif.h puffs_sys.h puffs_vnops.c Log Message: Pull up following revision(s) (requested by manu in ticket #52): sys/fs/puffs/puffs_msgif.h: revision 1.81 sys/fs/puffs/puffs_sys.h: revision 1.85 sys/fs/puffs/puffs_vnops.c: revision 1.183 Add a oflags input field to open requests so that the filesystem can pass back information about the file. Implement PUFFS_OPEN_IO_DIRECT, which will force direct IO (bypassing page cache) for the file. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.80.14.1 src/sys/fs/puffs/puffs_msgif.h cvs rdiff -u -r1.84 -r1.84.4.1 src/sys/fs/puffs/puffs_sys.h cvs rdiff -u -r1.182 -r1.182.2.1 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.