CVS commit: src/sys/fs/puffs

2021-04-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Apr 1 19:00:33 UTC 2021 Modified Files: src/sys/fs/puffs: puffs_vfsops.c Log Message: Put a copy of our existing data first in the non-error case (noticed by RVP). To generate a diff of this commit: cvs rdiff -u -r1.125 -

CVS commit: src/sys/fs/puffs

2021-03-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Mar 8 17:34:30 UTC 2021 Modified Files: src/sys/fs/puffs: puffs_msgif.h Log Message: give names to the enums so we can cast by name for lint To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sys/fs/puffs/p

CVS commit: src/sys/fs/puffs

2019-02-04 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Feb 5 00:22:36 UTC 2019 Modified Files: src/sys/fs/puffs: files.puffs Log Message: It turns out we do want the puffs compat code in any kernel which has built-in compat_50 regardless of whether the kernel also has puffs. S

CVS commit: src/sys/fs/puffs

2019-02-04 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Feb 4 14:47:41 UTC 2019 Modified Files: src/sys/fs/puffs: files.puffs Log Message: try '&' instead of '&&' To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/fs/puffs/files.puffs Please note that diffs are no

CVS commit: src/sys/fs/puffs

2018-11-05 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Nov 6 02:39:49 UTC 2018 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Fix use after RECLAIM in PUFFS filesystems >From hannken@ When puffs_cookie2vnode() misses an entry and vrele() it operations puffs_vnop_rec

CVS commit: src/sys/fs/puffs

2018-11-04 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Nov 5 02:28:32 UTC 2018 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Add missing mutex pn->pn_sizemtx lock in puffs_vnop_open() puffs_vnop_open() calls flushvncache(), which calls dosetattr() if pn->pn_stat has

CVS commit: src/sys/fs/puffs

2017-04-08 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Apr 8 08:49:44 UTC 2017 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Update mtime when updating file size. PR kern/51762 (mtime not updated by open(O_TRUNC)) To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/fs/puffs

2017-04-05 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Apr 6 00:02:19 UTC 2017 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: use ubc_zerorange To generate a diff of this commit: cvs rdiff -u -r1.206 -r1.207 src/sys/fs/puffs/puffs_vnops.c Please note that diffs

CVS commit: src/sys/fs/puffs

2017-04-05 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Apr 4 21:07:50 UTC 2017 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: use MAX_PAGE_SIZE. To generate a diff of this commit: cvs rdiff -u -r1.205 -r1.206 src/sys/fs/puffs/puffs_vnops.c Please note that diff

CVS commit: src/sys/fs/puffs

2016-12-26 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Dec 26 08:21:09 UTC 2016 Modified Files: src/sys/fs/puffs: puffs_msgif.c Log Message: Hold the interlock when calling cv_broadcast as per condvar(9) To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/sys/fs/pu

CVS commit: src/sys/fs/puffs

2016-07-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jul 21 18:21:27 UTC 2016 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: replace variable stack declaration with a large enough one and KASSERT. To generate a diff of this commit: cvs rdiff -u -r1.204 -r1.205

CVS commit: src/sys/fs/puffs

2015-12-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Dec 20 01:34:00 UTC 2015 Modified Files: src/sys/fs/puffs: puffs_vfsops.c Log Message: PR/50573: Andreas Gustafsson: puffs can crash kernel for lack of argument checking To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/sys/fs/puffs

2015-04-22 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Apr 22 17:07:24 UTC 2015 Modified Files: src/sys/fs/puffs: puffs_compat.c Log Message: sprinkle COMPAT_50 To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/fs/puffs/puffs_compat.c Please note that diffs are

CVS commit: src/sys/fs/puffs

2015-02-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Feb 25 23:14:59 UTC 2015 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: make this compile again. To generate a diff of this commit: cvs rdiff -u -r1.201 -r1.202 src/sys/fs/puffs/puffs_vnops.c Please note tha

CVS commit: src/sys/fs/puffs

2015-02-25 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Feb 25 14:08:45 UTC 2015 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: 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

CVS commit: src/sys/fs/puffs

2015-02-16 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Feb 16 10:49:39 UTC 2015 Modified Files: src/sys/fs/puffs: puffs_vfsops.c Log Message: Remove debug printf To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 src/sys/fs/puffs/puffs_vfsops.c Please note that dif

CVS commit: src/sys/fs/puffs

2015-01-13 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Jan 13 16:39:51 UTC 2015 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Make sure reads on empty files reach PUFFS filesystems Sending a read through the page cache will get the operation short-circuited. This is

CVS commit: src/sys/fs/puffs

2014-11-04 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Nov 4 09:14:42 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: 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 f

CVS commit: src/sys/fs/puffs

2014-11-04 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Nov 4 09:10:37 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_node.c puffs_vnops.c Log Message: Fix PUFFS node use-after-reclaim When puffs_cookie2vnode() misses an entry, vcache_get() creates a new node (puffs_vfsop_loadvno

CVS commit: src/sys/fs/puffs

2014-10-31 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 31 14:20:54 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_msgif.h Log Message: Add PUFFS_HAVE_FALLOCATE in puffs_msgif.h so that filesystem can decide at build time wether fallocate is usable To generate a diff of this

CVS commit: src/sys/fs/puffs

2014-10-31 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 31 13:52:41 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_msgif.h puffs_vnops.c Log Message: Add PUFFS support for fallocate and fdiscard operations To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sys/

CVS commit: src/sys/fs/puffs

2014-10-31 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 31 13:51:33 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: 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 anym

CVS commit: src/sys/fs/puffs

2014-10-07 Thread Havard Eidnes
Module Name:src Committed By: he Date: Tue Oct 7 12:58:10 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Do the previous correctly... To generate a diff of this commit: cvs rdiff -u -r1.193 -r1.194 src/sys/fs/puffs/puffs_vnops.c Please note that

CVS commit: src/sys/fs/puffs

2014-10-07 Thread Havard Eidnes
Module Name:src Committed By: he Date: Tue Oct 7 11:37:07 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: As is evidenced by several of our 32-bit MIPS ports, it's wrong to print vsize_t with PRIx64 -- instead use our own PRIxVSIZE macro. To genera

CVS commit: src/sys/fs/puffs

2014-10-06 Thread Havard Eidnes
Module Name:src Committed By: he Date: Mon Oct 6 14:26:44 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Make this build again without debugging enabled; DPRINTF() can end up as empty, and in an if conditional, you then need braces if that's the onl

CVS commit: src/sys/fs/puffs

2014-10-06 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Oct 6 09:05:55 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Retore LP64 fix that was removed by mistake To generate a diff of this commit: cvs rdiff -u -r1.190 -r1.191 src/sys/fs/puffs/puffs_vnops.c

CVS commit: src/sys/fs/puffs

2014-10-05 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Oct 6 04:41:59 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Improve zero-fill of last page after shrink fix: 1) do it only if the file is open for writing, otherwise we send write requests to the FS on

CVS commit: src/sys/fs/puffs

2014-10-05 Thread Alan Barrett
Module Name:src Committed By: apb Date: Sun Oct 5 20:40:46 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_sys.h Log Message: Add close brace, accidentally omitted from previous change. To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/sys/fs/puffs/puff

CVS commit: src/sys/fs/puffs

2014-10-05 Thread Alan Barrett
Module Name:src Committed By: apb Date: Sun Oct 5 14:13:15 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_sys.h Log Message: Safer definitions of DPRINTF and DPRINTF_VERBOSE. In the PUFFSDEBUG case, wrap do { ... } while (/*CONSTCOND*/0) around the definitions. In the

CVS commit: src/sys/fs/puffs

2014-10-05 Thread Justin Cormack
Module Name:src Committed By: justin Date: Sun Oct 5 09:28:24 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Use PRIx64 for printing offsets To generate a diff of this commit: cvs rdiff -u -r1.188 -r1.189 src/sys/fs/puffs/puffs_vnops.c Please not

CVS commit: src/sys/fs/puffs

2014-10-05 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Oct 5 07:53:22 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: If we truncate the file, make sure we zero-fill the end of the last page, otherwise if the file is later truncated to a larger size (creating

CVS commit: src/sys/fs/puffs

2014-09-30 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Sep 30 10:15:03 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_node.c puffs_vnops.c Log Message: Fix the puffs_sop_thread -> puffs_cookie2vnode path: - pass the cookie by reference - add missing mutex_exit() - update assert

CVS commit: src/sys/fs/puffs

2014-09-11 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Sep 11 07:59:14 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: PUFFS fixes for size update ater write plus read/write sanity checks - Always update kernel metadata cache for size when writing This fixes

CVS commit: src/sys/fs/puffs

2014-09-05 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Sep 5 15:39:19 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_node.c puffs_vnops.c Log Message: When changing a directory content, update the ctime/mtime in kernel cache, otherwise the updated ctime/mtime appears after the ca

CVS commit: src/sys/fs/puffs

2014-09-04 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Sep 5 05:39:52 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_msgif.c Log Message: Don't use C++ class and this keywords as variables. To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/fs/puffs/puffs_msg

CVS commit: src/sys/fs/puffs

2014-08-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Aug 28 08:29:50 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_msgif.c puffs_node.c puffs_sys.h puffs_vfsops.c puffs_vnops.c Log Message: Change puffs from hashlist to vcache. - field "pa_nhashbuckets" of struct

CVS commit: src/sys/fs/puffs

2014-08-16 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Aug 16 16:19:41 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_msgif.h puffs_sys.h puffs_vnops.c Log Message: Add a oflags input field to open requests so that the filesystem can pass back information about the file. Implement

CVS commit: src/sys/fs/puffs

2014-05-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun May 25 19:32:36 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vfsops.c Log Message: use standard dirty vnode test. To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/sys/fs/puffs/puffs_vfsops.c Please

CVS commit: src/sys/fs/puffs

2014-05-25 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun May 25 17:43:47 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vfsops.c Log Message: The pageflush_selector gets a vnode with v_interlock held. Remove the mutex_enter()/mutex_exit() and simplify. Hi christos... To genera

CVS commit: src/sys/fs/puffs

2014-03-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Mar 17 09:36:35 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vfsops.c Log Message: Change pageflush() to use vfs_vnode_iterator. To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108 src/sys/fs/puffs/puffs_vfs

CVS commit: src/sys/fs/puffs

2013-10-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Oct 17 21:03:27 UTC 2013 Modified Files: src/sys/fs/puffs: puffs_msgif.c puffs_node.c puffs_sys.h puffs_vnops.c Log Message: - remove unused variables - add _NOERROR flavor macros for the case where errors are ignored. To

CVS commit: src/sys/fs/puffs

2013-03-06 Thread YAMAMOTO Takashi
Module Name:src Committed By: yamt Date: Wed Mar 6 11:40:22 UTC 2013 Modified Files: src/sys/fs/puffs: puffs_node.c Log Message: comments use sizeof(var) instead of sizeof(type) where possibly confusing To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/s

CVS commit: src/sys/fs/puffs

2013-03-06 Thread YAMAMOTO Takashi
Module Name:src Committed By: yamt Date: Wed Mar 6 11:39:38 UTC 2013 Modified Files: src/sys/fs/puffs: puffs_sys.h Log Message: comment To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83 src/sys/fs/puffs/puffs_sys.h Please note that diffs are not public doma

CVS commit: src/sys/fs/puffs

2013-01-16 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Jan 16 21:10:14 UTC 2013 Modified Files: src/sys/fs/puffs: puffs_vfsops.c Log Message: Do the protocol consistency check hack only when compiling ELF. To generate a diff of this commit: cvs rdiff -u -r1.106 -r1.107 src/sys/fs

CVS commit: src/sys/fs/puffs

2012-08-10 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Aug 11 01:10:11 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_sys.h Log Message: Missing bit in previous commit (PUFFS_KFLAG_CACHE_DOTDOT option to avoid looking up ..) To generate a diff of this commit: cvs rdiff -u -r1.81

CVS commit: src/sys/fs/puffs

2012-08-10 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Aug 10 14:52:57 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Missing bit in previous commit (prevent race between create|mknod|mkdir|symlink and reclaim) To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/fs/puffs

2012-08-09 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Aug 9 07:46:18 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_vfsops.c Log Message: Backout previous bugfix attempt for unmounts. That changes did not address the real problem. To generate a diff of this commit: cvs rdiff -

CVS commit: src/sys/fs/puffs

2012-07-27 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Jul 27 07:38:45 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_msgif.c puffs_sys.h puffs_vfsops.c puffs_vnops.c Log Message: Rename slow sopreq queue into node sopreq queue, to refet the fact that is only intended

CVS commit: src/sys/fs/puffs

2012-07-27 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Jul 27 07:25:56 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_vfsops.c To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/sys/fs/puffs/puffs_vfsops.c Please note that diffs are not public domain; they are s

CVS commit: src/sys/fs/puffs

2012-07-23 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Jul 23 19:06:11 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_node.c puffs_vnops.c Log Message: Backout NCHNAMLEN check for cache_enter. That change collided with rmind's move of this exact check into cache_enter To generat

CVS commit: src/sys/fs/puffs

2012-07-23 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Jul 23 12:15:31 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_node.c puffs_vnops.c Log Message: Di not call cache_enter with path components bigger than NCHNAMLEN, as it panics the kernel. To generate a diff of this commit:

CVS commit: src/sys/fs/puffs

2012-07-22 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Jul 22 17:40:46 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_msgif.c puffs_vfsops.c Log Message: Fix hang unmount bug introduced by last commit. We introduced a slow queue for delayed reclaims, while the existing queue for

CVS commit: src/sys/fs/puffs

2012-04-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Apr 18 00:42:50 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: - Makesure update_va does not change vnode size when it should not. For instance when doing a fault-issued VOP_GETPAGES within VOP_WRITE, chan

CVS commit: src/sys/fs/puffs

2012-04-08 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Apr 8 15:04:41 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_msgif.h puffs_node.c puffs_sys.h puffs_vfsops.c puffs_vnops.c Log Message: Add name and atttribute cache with filesytem provided TTL. lookup, create, m

CVS commit: src/sys/fs/puffs

2012-03-16 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Fri Mar 16 23:13:49 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Prevent access beyond end of PUFFS file on read, similar to as is done for NFS. To generate a diff of this commit: cvs rdiff -u -r1.163

CVS commit: src/sys/fs/puffs

2012-01-19 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Jan 19 08:14:41 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_node.c Log Message: Fix a race condition where the filesystem lookups a vnode that is being recycled, producing ENOENT while the file does exist. Approved by yamt

CVS commit: src/sys/fs/puffs

2012-01-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Jan 17 09:30:16 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Add a few KASSERT() - I have a crash that likely will cause one of them to fire... To generate a diff of this commit: cvs rdiff -u -r1.162

CVS commit: src/sys/fs/puffs

2011-10-30 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Oct 30 13:24:13 UTC 2011 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Add a comment that pn_sizemtx should be useless as VOP_GETATTR now needs a shared lock at least. To generate a diff of this commit: cvs r

CVS commit: src/sys/fs/puffs

2011-10-18 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Oct 19 01:39:29 UTC 2011 Modified Files: src/sys/fs/puffs: puffs_msgif.c puffs_node.c puffs_vfsops.c puffs_vnops.c Log Message: Remove #ifdef DIAGNOSTIC guards around KASSERT, as the macro contains them To generate

CVS commit: src/sys/fs/puffs

2011-10-18 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Oct 18 15:39:09 UTC 2011 Modified Files: src/sys/fs/puffs: puffs_msgif.c puffs_node.c puffs_vfsops.c puffs_vnops.c Log Message: Make sure pagedaemon does not sleep for memory in puffs_vnop_sleep. Add KASSERT on any s

CVS commit: src/sys/fs/puffs

2011-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Oct 17 23:54:01 UTC 2011 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Roll back the change that forced kernel threads to not sleep in PUFFS. The change does not make consensus, since only pagedaemon should need i

CVS commit: src/sys/fs/puffs

2011-09-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Sep 27 01:48:58 UTC 2011 Modified Files: src/sys/fs/puffs: puffs_msgif.h Log Message: don't get affected by the NAME_MAX bump. Use the same constant as the rest of the extrattr code. To generate a diff of this commit: cvs

CVS commit: src/sys/fs/puffs

2011-09-21 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Sep 21 15:36:33 UTC 2011 Modified Files: src/sys/fs/puffs: puffs_vfsops.c puffs_vnops.c Log Message: Make sure ioflush does not sleep in PUFFS code path, waiting for a mutex, a memory allocation, or a response from the filesyste

CVS commit: src/sys/fs/puffs

2011-08-28 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Aug 29 04:12:46 UTC 2011 Modified Files: src/sys/fs/puffs: puffs_node.c puffs_sys.h puffs_vnops.c Log Message: Add a mutex for operations that touch size (setattr, getattr, write, fsync). This is required to avoid data corrupti

CVS commit: src/sys/fs/puffs

2011-02-11 Thread YAMAMOTO Takashi
Module Name:src Committed By: yamt Date: Fri Feb 11 09:15:45 UTC 2011 Modified Files: src/sys/fs/puffs: puffs_msgif.c Log Message: puffs_msg_wait: check PARKFLAG_HASERROR before PARKFLAG_CALL. PR/44240. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/s

CVS commit: src/sys/fs/puffs

2011-01-11 Thread Mihai Chelaru
Module Name:src Committed By: kefren Date: Tue Jan 11 14:04:54 UTC 2011 Modified Files: src/sys/fs/puffs: puffs_sys.h puffs_vnops.c Log Message: add advlock to puffs. ok pooka@ should fix kern/43321 To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/fs

CVS commit: src/sys/fs/puffs

2010-11-15 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Nov 15 20:31:41 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_msgif.c Log Message: Apply patch from PR kern/44093 by yamt: Interrupt server wait only on certain signals (same set at nfs -i) instead of all signals. Accordin

CVS commit: src/sys/fs/puffs

2010-11-12 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Nov 12 17:46:09 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_msgif.c Log Message: Allow clients to reuse a "park". Patch from , fixes PR kern/44086 by him. To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83 sr

CVS commit: src/sys/fs/puffs

2010-07-25 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Jul 25 10:03:59 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_node.c Log Message: It makes no sense to call vget() with LK_RETRY. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/fs/puffs/puffs_node.

CVS commit: src/sys/fs/puffs

2010-07-15 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jul 15 21:55:05 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_vfsops.c Log Message: f_namemax is one of the static fields overridden by copy_statvfs_info(), so be sure to set it to the value coming from the file server as pa

CVS commit: src/sys/fs/puffs

2010-07-14 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Jul 14 14:07:37 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: RENAME lookup semantics say return EISDIR if dvp = *vpp for the last component obviously(!!) To generate a diff of this commit: cvs rd

CVS commit: src/sys/fs/puffs

2010-07-11 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sun Jul 11 11:17:27 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_compat.c Log Message: Do fhtovp compat translation only for fhtovp ops, not all vfs ops. Allocate tailing extra buffer for compat op too. To generate a diff of

CVS commit: src/sys/fs/puffs

2010-07-06 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jul 6 17:00:07 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_msgif.c Log Message: Remove groolingly spooky variable which has been haunting us for several years without doing anything useful. To generate a diff of this co

CVS commit: src/sys/fs/puffs

2010-07-06 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jul 6 13:47:47 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_msgif.c puffs_msgif.h puffs_sys.h puffs_vfsops.c Added Files: src/sys/fs/puffs: puffs_compat.c Log Message: Add compat to enable running puffs

CVS commit: src/sys/fs/puffs

2010-07-06 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jul 6 12:28:40 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_vfsops.c Log Message: ctassert size of some key structures does not change To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92 src/sys/fs/puffs/puffs_

CVS commit: src/sys/fs/puffs

2010-07-06 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jul 6 12:05:18 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_vfsops.c Log Message: Make sure that pa_spare is zero-filled and does not contain any garbage which might disrupt future use. To generate a diff of this commit:

CVS commit: src/sys/fs/puffs

2010-05-21 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri May 21 10:40:20 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_msgif.h puffs_vfsops.c Log Message: Since libpuffs needs a major bump for extattr support anyway, make some changes to the user-kernel protocol. Namely, try to b

CVS commit: src/sys/fs/puffs

2010-05-21 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri May 21 10:16:54 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_msgif.h puffs_vfsops.c puffs_vnops.c Log Message: Support extended attributes. To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71 src/sys/fs/puffs/pu

CVS commit: src/sys/fs/puffs

2010-05-20 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu May 20 12:09:46 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_msgif.h Log Message: Fix typo. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sys/fs/puffs/puffs_msgif.h Please note that diffs are not publ

CVS commit: src/sys/fs/puffs

2010-02-17 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Feb 17 14:32:08 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_vfsops.c Log Message: * add a rant about why MPSAFE isn't enabled even though puffs code is * predict_false that we are mounting when calling statvfs * KNF To g

CVS commit: src/sys/fs/puffs

2010-01-14 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 14 19:50:07 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_msgif.c puffs_vfsops.c Log Message: In case the operations thread has exited, do not queue any more operations. This prevents kernel memory leaks (one of which h

CVS commit: src/sys/fs/puffs

2010-01-14 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 14 14:44:13 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Since VOP_GETATTR() does not require a locked vnode, resolve and reference the puffs_node before sending the request to the file server. Thi

CVS commit: src/sys/fs/puffs

2010-01-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 7 23:02:34 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_msgif.c puffs_sys.h puffs_vfsops.c Log Message: Rename PUFFS_SOPREQ_EXIT to PUFFS_SOPREQSYS_EXIT to better signal it comes from within the kernel instead of as a

CVS commit: src/sys/fs/puffs

2010-01-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 7 22:59:27 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_msgif.c Log Message: Fix variable name in my commit tree too. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/fs/puffs/puffs_msgif.c Plea

CVS commit: src/sys/fs/puffs

2010-01-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 7 22:45:31 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_msgif.c puffs_msgif.h puffs_sys.h Log Message: Add a PUFFS_UNMOUNT server->kernel request, which causes the kernel to initiate self destruct, i.e. unmount(MNT_FOR

CVS commit: src/sys/fs/puffs

2009-12-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Dec 7 20:57:55 UTC 2009 Modified Files: src/sys/fs/puffs: puffs_msgif.c puffs_sys.h puffs_vfsops.c Log Message: Process flush requests from the file server in a separate thread context. This fixes a long-standing but seldomly

CVS commit: src/sys/fs/puffs

2009-12-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Dec 7 15:51:52 UTC 2009 Modified Files: src/sys/fs/puffs: puffs_msgif.c Log Message: Need to send protocol layer response instead of transport layer return value. While there, just collapse all non-supported types into one en

CVS commit: src/sys/fs/puffs

2009-12-04 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Dec 4 20:26:35 UTC 2009 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Push all information cached in the vnode to the file server before issuing INACTIVE. PR kern/42194. Also, send setattr in fsync asynchronous

CVS commit: src/sys/fs/puffs

2009-11-19 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Nov 19 16:21:04 UTC 2009 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Send VOP_ABORTOP() in case attempting cross-dev rename, part of PR kern/42210. Also, fix a memory management error in said case. To genera

CVS commit: src/sys/fs/puffs

2009-11-19 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Nov 19 15:50:49 UTC 2009 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Send VOP_ABORTOP() as a FAF -- we don't care about the return value. To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.139 src/sy

CVS commit: src/sys/fs/puffs

2009-11-05 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Nov 5 19:42:44 UTC 2009 Modified Files: src/sys/fs/puffs: puffs_msgif.c puffs_node.c puffs_sys.h puffs_vfsops.c puffs_vnops.c Log Message: Kill suspend support. It was never implemented correctly: * it depended

CVS commit: src/sys/fs/puffs

2009-11-05 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Nov 5 19:22:58 UTC 2009 Modified Files: src/sys/fs/puffs: puffs_sys.h puffs_vnops.c Log Message: Reinstante PNODE_DYING. vmlocking had a brief hiatus when it was not a valid optimization, but that's long gone and once VOP_INA

CVS commit: src/sys/fs/puffs

2009-10-17 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sat Oct 17 23:22:04 UTC 2009 Modified Files: src/sys/fs/puffs: puffs_msgif.h Log Message: Bump protocol version once more to allow for previous to be pulled to netbsd-5 (protocols are not compatible due to time_t/dev_t change). T

CVS commit: src/sys/fs/puffs

2009-10-17 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sat Oct 17 23:16:05 UTC 2009 Modified Files: src/sys/fs/puffs: puffs_msgif.h puffs_vnops.c Log Message: Transmit VOP_ABORTOP() to the server. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/fs/puffs/puffs_ms

CVS commit: src/sys/fs/puffs

2009-09-30 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Sep 30 18:22:29 UTC 2009 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: remove leading whitespace. no functional change. To generate a diff of this commit: cvs rdiff -u -r1.134 -r1.135 src/sys/fs/puffs/puffs_vn

CVS commit: src/sys/fs/puffs

2009-09-30 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Sep 30 18:19:17 UTC 2009 Modified Files: src/sys/fs/puffs: puffs_node.c puffs_vnops.c Log Message: * fix a race i introduced almost two years ago in rev 1.116: operations creating a node cannot be considered outgoing operatio

CVS commit: src/sys/fs/puffs

2009-09-19 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sat Sep 19 11:44:19 UTC 2009 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Set SAVENAME for rmdir and remove. Addresses an easy part of PR kern/38188 To generate a diff of this commit: cvs rdiff -u -r1.132 -r1.133

CVS commit: src/sys/fs/puffs

2009-09-12 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sat Sep 12 18:17:55 UTC 2009 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Fix typo: - pcinfo = kmem_zalloc(sizeof_puffs_cacheinfo) + runsize, + pcinfo = kmem_zalloc(sizeof(struct puffs_

CVS commit: src/sys/fs/puffs

2009-05-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon May 18 15:47:28 UTC 2009 Added Files: src/sys/fs/puffs: TODO Log Message: add some todo-items, based on a file which was lingering in my local tree for apparently almost two years now To generate a diff of this commit: cvs rd