CVS commit: src/sys/compat/linux

2017-01-02 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Jan 2 16:32:10 UTC 2017 Modified Files: src/sys/compat/linux/arch/alpha: syscalls.master src/sys/compat/linux/arch/amd64: syscalls.master src/sys/compat/linux/arch/arm: syscalls.master

Re: CVS commit: src

2016-10-19 Thread Emmanuel Dreyfus
On Wed, Oct 19, 2016 at 04:19:43AM +1100, matthew green wrote: > i assume this is the cause of the build break: Yes, that passed on netbsd-6 but breaks with netbsd-7 toolchain. But Christos fixed it in the meantime. -- Emmanuel Dreyfus m...@netbsd.org

CVS commit: src

2016-10-18 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Oct 18 15:06:17 UTC 2016 Modified Files: src/lib/libperfuse: libperfuse.3 perfuse.c src/usr.sbin/perfused: msg.c perfused.8 Log Message: Make FUSE socket buffer tunable When dealing with high I/O throughput, we could

CVS commit: src

2016-10-18 Thread Emmanuel Dreyfus
/libperfuse/libperfuse.3 Tue Oct 18 15:06:17 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: libperfuse.3,v 1.3 2011/05/10 12:14:37 njoly Exp $ +.\" $NetBSD: libperfuse.3,v 1.4 2016/10/18 15:06:17 manu Exp $ .\" .\" Copyright (c) 2010 Emmanuel Dreyfus. All rights reserved. .\" @@ -100,

CVS commit: src/sys/kern

2015-08-01 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Aug 2 03:29:22 UTC 2015 Modified Files: src/sys/kern: vfs_mount.c Log Message: Do not VFS_SYNC before VFS_UNMOUNT on force unmount VFS_SYNC does not consider whether we are performing a force unmount or not, and therefore it

CVS commit: src/sys/kern

2015-08-01 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Aug 2 03:29:22 UTC 2015 Modified Files: src/sys/kern: vfs_mount.c Log Message: Do not VFS_SYNC before VFS_UNMOUNT on force unmount VFS_SYNC does not consider whether we are performing a force unmount or not, and therefore it

Re: CVS commit: src

2015-07-24 Thread Emmanuel Dreyfus
On Fri, Jul 24, 2015 at 03:51:44PM -0300, Jared McNeill wrote: I'm seeing this error on arm now with today's autobuild: http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201507241030Z/evbarm-earmv7hf/ I am confused: how can it be caused by our pthread change from two months ago? -- Emmanuel

CVS commit: src/sys/nfs

2015-07-14 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Jul 15 03:28:55 UTC 2015 Modified Files: src/sys/nfs: nfs_bio.c nfs_clntsocket.c nfs_iod.c nfs_socket.c nfs_var.h nfs_vfsops.c nfsmount.h Log Message: Fix soft NFS force unmount For many reasons, forcibly

CVS commit: src/sys/nfs

2015-07-14 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Jul 15 03:28:55 UTC 2015 Modified Files: src/sys/nfs: nfs_bio.c nfs_clntsocket.c nfs_iod.c nfs_socket.c nfs_var.h nfs_vfsops.c nfsmount.h Log Message: Fix soft NFS force unmount For many reasons, forcibly

CVS commit: src/sbin/umount

2015-06-27 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Jun 27 08:29:56 UTC 2015 Modified Files: src/sbin/umount: umount.c Log Message: Remove useless and harmful sync(2) call in umount(8) Remove sync(2) call before unmount(2) in umount(8). This sync(2) is useless since unmount(2)

CVS commit: src/sbin/umount

2015-06-27 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Jun 27 08:29:56 UTC 2015 Modified Files: src/sbin/umount: umount.c Log Message: Remove useless and harmful sync(2) call in umount(8) Remove sync(2) call before unmount(2) in umount(8). This sync(2) is useless since unmount(2)

CVS commit: src/lib/libperfuse

2015-06-03 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Jun 3 14:07:06 UTC 2015 Modified Files: src/lib/libperfuse: ops.c Log Message: Fix dot-lookup when readdir does not provide inodes Some filesystems do not provide inode numbers through readdir (FUSE mounts without -o

CVS commit: src/lib/libperfuse

2015-06-03 Thread Emmanuel Dreyfus
$ */ +/* $NetBSD: ops.c,v 1.84 2015/06/03 14:07:05 manu Exp $ */ /*- * Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved. @@ -651,13 +651,17 @@ fuse_to_dirent(struct puffs_usermount *p struct puffs_node *pn; struct perfuse_node_data *pnd = PERFUSE_NODE_DATA(opc

Re: CVS commit: src

2015-06-02 Thread Emmanuel Dreyfus
Martin Husemann mar...@duskware.de wrote: Right, the situation is considered sane now? Yes, works reliable on faster hardware - need to fix the test case someday. Good. I will still wait a bit more before sending the pullup request. Just in case... -- Emmanuel Dreyfus http://hcpnet.free.fr

Re: CVS commit: src

2015-06-01 Thread Emmanuel Dreyfus
.html -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

CVS commit: src

2015-05-29 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri May 29 07:37:32 UTC 2015 Modified Files: src/include: limits.h src/lib/libpthread: pthread.c pthread_int.h pthread_key_create.3 pthread_tsd.c src/lib/libpthread_dbg: pthread_dbg.c Log Message: Make

CVS commit: src

2015-05-29 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri May 29 07:37:32 UTC 2015 Modified Files: src/include: limits.h src/lib/libpthread: pthread.c pthread_int.h pthread_key_create.3 pthread_tsd.c src/lib/libpthread_dbg: pthread_dbg.c Log Message: Make

Re: CVS commit: src

2015-05-29 Thread Emmanuel Dreyfus
? -- Emmanuel Dreyfus m...@netbsd.org

CVS commit: src/sbin/raidctl

2015-05-27 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed May 27 15:31:15 UTC 2015 Modified Files: src/sbin/raidctl: raidctl.c Log Message: Better sanity check numbers given to raidctl(8) Replace atoi(3) by strtol(3), and check that numbers are valid, positive, and in int32_t range.

CVS commit: src/sbin/raidctl

2015-05-27 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed May 27 15:31:15 UTC 2015 Modified Files: src/sbin/raidctl: raidctl.c Log Message: Better sanity check numbers given to raidctl(8) Replace atoi(3) by strtol(3), and check that numbers are valid, positive, and in int32_t range.

CVS commit: src/usr.bin/make

2015-05-25 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon May 25 09:01:06 UTC 2015 Modified Files: src/usr.bin/make: targ.c Log Message: Fix warning about uninitialized variable This warning gets fatal when including make(1) as a crunchgen(1) binary. To generate a diff of this

CVS commit: src/usr.bin/make

2015-05-25 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon May 25 09:01:06 UTC 2015 Modified Files: src/usr.bin/make: targ.c Log Message: Fix warning about uninitialized variable This warning gets fatal when including make(1) as a crunchgen(1) binary. To generate a diff of this

CVS commit: src/usr.bin/netstat

2015-05-24 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon May 25 03:56:20 UTC 2015 Modified Files: src/usr.bin/netstat: route.c Log Message: Make sure netstat builds with -DSMALL src/usr.bin/netstat relies on code from src/sbin/route. WHen building with -DSMALL, some functions such

CVS commit: src/usr.bin/netstat

2015-05-24 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon May 25 03:56:20 UTC 2015 Modified Files: src/usr.bin/netstat: route.c Log Message: Make sure netstat builds with -DSMALL src/usr.bin/netstat relies on code from src/sbin/route. WHen building with -DSMALL, some functions such

CVS commit: src/bin/dd

2015-03-18 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Mar 18 13:23:49 UTC 2015 Modified Files: src/bin/dd: Makefile args.c dd.1 dd.c dd.h extern.h Log Message: Add iflag and oflag operands to dd(1) Like GNU dd(1) similar operands, iflag and oflag allow specifying the O_* flags

CVS commit: src/bin/dd

2015-03-18 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Mar 18 13:23:49 UTC 2015 Modified Files: src/bin/dd: Makefile args.c dd.1 dd.c dd.h extern.h Log Message: Add iflag and oflag operands to dd(1) Like GNU dd(1) similar operands, iflag and oflag allow specifying the O_* flags

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-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

2015-02-15 Thread Emmanuel Dreyfus
:1.82 Tue Jan 13 16:51:30 2015 +++ src/lib/libperfuse/ops.c Sun Feb 15 20:21:29 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: ops.c,v 1.82 2015/01/13 16:51:30 manu Exp $ */ +/* $NetBSD: ops.c,v 1.83 2015/02/15 20:21:29 manu Exp $ */ /*- * Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved

CVS commit: src

2015-02-15 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Feb 15 20:21:29 UTC 2015 Modified Files: src/lib/libperfuse: ops.c perfuse.c src/lib/libpuffs: puffs.3 src/sys/fs/puffs: puffs_msgif.h puffs_sys.h puffs_vfsops.c puffs_vnops.c Log Message: Add

CVS commit: src/lib/libc/gen

2015-01-29 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Jan 29 15:55:22 UTC 2015 Modified Files: src/lib/libc/gen: fts.c Log Message: Fix double free in fts_read()/fts_close() When fts_read() gets an error on fchdir(), it exited with sp-fts_cur set to a freed structure. fts_close()

CVS commit: src/lib/libc/gen

2015-01-29 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Jan 29 15:55:22 UTC 2015 Modified Files: src/lib/libc/gen: fts.c Log Message: Fix double free in fts_read()/fts_close() When fts_read() gets an error on fchdir(), it exited with sp-fts_cur set to a freed structure. fts_close()

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

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/lib/libperfuse

2015-01-13 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Jan 13 16:51:30 UTC 2015 Modified Files: src/lib/libperfuse: ops.c Log Message: Fix atime update FUSE filesystems assume that SETATTR with atime is the result of utiimes() being called. As a result, atime and mtime will be

CVS commit: src/lib/libperfuse

2015-01-13 Thread Emmanuel Dreyfus
/12 05:08:43 manu Exp $ */ +/* $NetBSD: ops.c,v 1.82 2015/01/13 16:51:30 manu Exp $ */ /*- * Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved. @@ -1785,30 +1785,27 @@ perfuse_node_setattr_ttl(struct puffs_us } /* - * Setting mtime without atime or vice versa leads

CVS commit: src/lib/libpuffs

2014-12-22 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Dec 22 08:16:21 UTC 2014 Modified Files: src/lib/libpuffs: puffs.c Log Message: Do not warn about relative path because of trailing slash libpuffs calls realpath() to obtain an absolute path to use for mounting. If the

CVS commit: src/lib/libpuffs

2014-12-22 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Dec 22 08:16:21 UTC 2014 Modified Files: src/lib/libpuffs: puffs.c Log Message: Do not warn about relative path because of trailing slash libpuffs calls realpath() to obtain an absolute path to use for mounting. If the

CVS commit: src/sys/ufs/ufs

2014-12-19 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Dec 19 10:59:21 UTC 2014 Modified Files: src/sys/ufs/ufs: extattr.h Log Message: Bump UFS1 extended attribute max name length to 256 For extended attribute name max length, kernel filesystem-independant code use either

CVS commit: src/sys/ufs/ufs

2014-12-19 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Dec 19 10:59:21 UTC 2014 Modified Files: src/sys/ufs/ufs: extattr.h Log Message: Bump UFS1 extended attribute max name length to 256 For extended attribute name max length, kernel filesystem-independant code use either

CVS commit: src/usr.sbin/perfused

2014-12-12 Thread Emmanuel Dreyfus
05:49:42 2012 +++ src/usr.sbin/perfused/perfused.c Fri Dec 12 09:58:39 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: perfused.c,v 1.24 2012/07/21 05:49:42 manu Exp $ */ +/* $NetBSD: perfused.c,v 1.25 2014/12/12 09:58:39 manu Exp $ */ /*- * Copyright (c) 2010 Emmanuel Dreyfus. All rights reserved

CVS commit: src/usr.sbin/perfused

2014-12-12 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Dec 12 09:58:39 UTC 2014 Modified Files: src/usr.sbin/perfused: perfused.c Log Message: Survive if filesystem installs a signal handler We tested for signal(3) to return 0 for success, which is incorrect: signal(3) returns the

CVS commit: src/sys/kern

2014-11-26 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Nov 26 10:50:36 UTC 2014 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Do not follow symlinks in sys_unmount() There are situations where the underlying filesystem is unreachable (e.g: NFS) causing symlink

CVS commit: src/sys/kern

2014-11-26 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Nov 26 10:50:36 UTC 2014 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Do not follow symlinks in sys_unmount() There are situations where the underlying filesystem is unreachable (e.g: NFS) causing symlink

CVS commit: src/sys/ufs/ufs

2014-11-19 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Nov 19 16:26:47 UTC 2014 Modified Files: src/sys/ufs/ufs: ufs_extattr.c Log Message: Fix uninitialized mutex usage We use extended attribute mount mutex before testing if it had been initialized, and as reported by Christos,

CVS commit: src/sys/ufs/ufs

2014-11-19 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Nov 19 16:26:47 UTC 2014 Modified Files: src/sys/ufs/ufs: ufs_extattr.c Log Message: Fix uninitialized mutex usage We use extended attribute mount mutex before testing if it had been initialized, and as reported by Christos,

CVS commit: src/sys

2014-11-16 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Nov 16 16:01:43 UTC 2014 Modified Files: src/sys/arch/acorn26/conf: GENERIC src/sys/arch/acorn32/conf: GENERIC src/sys/arch/alpha/conf: GENERIC src/sys/arch/amd64/conf: ALL GENERIC XEN3_DOM0 XEN3_DOMU

CVS commit: src/sys

2014-11-16 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Nov 16 16:01:43 UTC 2014 Modified Files: src/sys/arch/acorn26/conf: GENERIC src/sys/arch/acorn32/conf: GENERIC src/sys/arch/alpha/conf: GENERIC src/sys/arch/amd64/conf: ALL GENERIC XEN3_DOM0 XEN3_DOMU

CVS commit: src/sys

2014-11-14 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Nov 14 10:09:50 UTC 2014 Modified Files: src/sys/kern: vfs_mount.c src/sys/ufs/ffs: ffs_vfsops.c src/sys/ufs/ufs: ufs_extattr.c Log Message: Fix use-after-free on failed unmount with extended attribute enabled

CVS commit: src/sys/ufs/ufs

2014-11-14 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Nov 15 05:03:55 UTC 2014 Modified Files: src/sys/ufs/ufs: ufs_extattr.c Log Message: Fix UFS1 extended attribute backend autocreation deadlock UFS1 extended attribute backend autocration goes through a vn_open() to create the

CVS commit: src/sys

2014-11-14 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Nov 14 10:09:50 UTC 2014 Modified Files: src/sys/kern: vfs_mount.c src/sys/ufs/ffs: ffs_vfsops.c src/sys/ufs/ufs: ufs_extattr.c Log Message: Fix use-after-free on failed unmount with extended attribute enabled

CVS commit: src/sys/ufs/ufs

2014-11-14 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Nov 15 05:03:55 UTC 2014 Modified Files: src/sys/ufs/ufs: ufs_extattr.c Log Message: Fix UFS1 extended attribute backend autocreation deadlock UFS1 extended attribute backend autocration goes through a vn_open() to create the

CVS commit: src/sys/arch

2014-11-12 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Nov 12 10:47:24 UTC 2014 Modified Files: src/sys/arch/acorn26/conf: GENERIC src/sys/arch/acorn32/conf: GENERIC src/sys/arch/alpha/conf: GENERIC src/sys/arch/amd64/conf: GENERIC XEN3_DOM0 XEN3_DOMU

CVS commit: src/sys/arch

2014-11-12 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Nov 12 10:47:24 UTC 2014 Modified Files: src/sys/arch/acorn26/conf: GENERIC src/sys/arch/acorn32/conf: GENERIC src/sys/arch/alpha/conf: GENERIC src/sys/arch/amd64/conf: GENERIC XEN3_DOM0 XEN3_DOMU

CVS commit: src/lib/libperfuse

2014-11-11 Thread Emmanuel Dreyfus
+++ src/lib/libperfuse/ops.c Wed Nov 12 05:08:43 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: ops.c,v 1.80 2014/11/04 09:17:31 manu Exp $ */ +/* $NetBSD: ops.c,v 1.81 2014/11/12 05:08:43 manu Exp $ */ /*- * Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved. @@ -3460,6 +3460,7

CVS commit: src/lib/libperfuse

2014-11-11 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Nov 12 05:08:44 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: Allow setxattr to be called with a NULL value, instead of crashing. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81

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

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

CVS commit: src/lib/libperfuse

2014-11-04 Thread Emmanuel Dreyfus
:20:08 2014 +++ src/lib/libperfuse/ops.c Tue Nov 4 09:17:31 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: ops.c,v 1.79 2014/10/31 15:20:08 manu Exp $ */ +/* $NetBSD: ops.c,v 1.80 2014/11/04 09:17:31 manu Exp $ */ /*- * Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved. @@ -813,11 +813,6

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

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

CVS commit: src/lib/libperfuse

2014-11-04 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Nov 4 09:17:32 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: Restore build with -DDEBUG, and avoid a spurious diagnostic error with -DDEBUG To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80

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

CVS commit: src/lib/libpuffs

2014-10-31 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 31 13:56:04 UTC 2014 Modified Files: src/lib/libpuffs: dispatcher.c opdump.c puffs.c puffs.h puffs_ops.3 Log Message: libpuffs support for fallocate and fdiscard operations To generate a diff of this commit: cvs rdiff -u

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/lib/libperfuse

2014-10-31 Thread Emmanuel Dreyfus
@@ -1,4 +1,4 @@ -/* $NetBSD: fuse.h,v 1.5 2011/12/28 17:33:53 manu Exp $ */ +/* $NetBSD: fuse.h,v 1.6 2014/10/31 15:12:15 manu Exp $ */ /*- * Copyright (c) 2010 Emmanuel Dreyfus. All rights reserved. @@ -169,6 +169,9 @@ enum fuse_opcode { FUSE_DESTROY = 38, FUSE_IOCTL = 39

CVS commit: src/lib/libperfuse

2014-10-31 Thread Emmanuel Dreyfus
--- src/lib/libperfuse/ops.c:1.78 Fri Oct 31 15:12:15 2014 +++ src/lib/libperfuse/ops.c Fri Oct 31 15:20:08 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: ops.c,v 1.78 2014/10/31 15:12:15 manu Exp $ */ +/* $NetBSD: ops.c,v 1.79 2014/10/31 15:20:08 manu Exp $ */ /*- * Copyright (c) 2010-2011 Emmanuel

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

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

CVS commit: src/lib/libpuffs

2014-10-31 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 31 13:56:04 UTC 2014 Modified Files: src/lib/libpuffs: dispatcher.c opdump.c puffs.c puffs.h puffs_ops.3 Log Message: libpuffs support for fallocate and fdiscard operations To generate a diff of this commit: cvs rdiff -u

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/lib/libperfuse

2014-10-31 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 31 15:12:15 UTC 2014 Modified Files: src/lib/libperfuse: fuse.h ops.c perfuse.c perfuse_priv.h Log Message: FUSE fallocate support There seems to be no fdiscard FUSE operation at the moment, hence that one is left unused.

CVS commit: src/lib/libperfuse

2014-10-31 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 31 15:20:08 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: Avoid deadlocks on write errors On write errors, we failed to dequeue some operations, leading to rare but unpleasant deadlocks To generate a

CVS commit: src/lib/libperfuse

2014-10-28 Thread Emmanuel Dreyfus
/ops.c:1.76 Sat Oct 11 04:19:38 2014 +++ src/lib/libperfuse/ops.c Tue Oct 28 16:54:11 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: ops.c,v 1.76 2014/10/11 04:19:38 manu Exp $ */ +/* $NetBSD: ops.c,v 1.77 2014/10/28 16:54:11 manu Exp $ */ /*- * Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights

CVS commit: src/lib/libperfuse

2014-10-28 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Oct 28 16:54:11 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: Fix invalid free in deletextattr FUSE handler Do not free FUSE message on error as it was not allocated. To generate a diff of this commit: cvs

CVS commit: src/lib/libperfuse

2014-10-10 Thread Emmanuel Dreyfus
/ops.c:1.75 Tue Sep 30 00:06:19 2014 +++ src/lib/libperfuse/ops.c Sat Oct 11 04:19:38 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: ops.c,v 1.75 2014/09/30 00:06:19 manu Exp $ */ +/* $NetBSD: ops.c,v 1.76 2014/10/11 04:19:38 manu Exp $ */ /*- * Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved

CVS commit: src/lib/libperfuse

2014-10-10 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Oct 11 04:19:38 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: Report allocated bytes on FS correctly, instead of using file size (which is wrong for sparse files) To generate a diff of this commit: cvs rdiff

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-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: 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-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 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-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/lib/libperfuse

2014-09-29 Thread Emmanuel Dreyfus
2014 +++ src/lib/libperfuse/ops.c Tue Sep 30 00:06:19 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: ops.c,v 1.74 2014/09/11 04:05:52 manu Exp $ */ +/* $NetBSD: ops.c,v 1.75 2014/09/30 00:06:19 manu Exp $ */ /*- * Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved. @@ -607,6 +607,7

CVS commit: src/lib/libperfuse

2014-09-29 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Sep 30 00:06:19 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: Do not trust the filesystem's readdir to give us nul-terminated file names To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75

CVS commit: src/lib/libc

2014-09-25 Thread Emmanuel Dreyfus
. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Emmanuel Dreyfus. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1

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

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

CVS commit: src/lib/libperfuse

2014-09-10 Thread Emmanuel Dreyfus
) 2010-2011 Emmanuel Dreyfus. All rights reserved. @@ -3198,16 +3198,6 @@ perfuse_node_write2(struct puffs_usermou requeue_request(pu, opc, PCQ_WRITE); pnd-pnd_flags |= PND_INWRITE; - /* - * Serialize size access, see comment in perfuse_node_setattr(). - */ - if ((u_quad_t)offset + *resid vap

CVS commit: src/lib/libperfuse

2014-09-10 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Sep 11 04:05:52 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: Avoid a file resize serialization deadlock when writing with PUFFS_IO_APPEND flag. The symptom was a hang when appending to a file with a null

Re: CVS commit: src/lib/libperfuse

2014-09-08 Thread Emmanuel Dreyfus
And I just posted pullup-7 #86 -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: CVS commit: src/lib/libperfuse

2014-09-05 Thread Emmanuel Dreyfus
On Date: Wed, 3 Sep 2014 18:43:34 +, David Holland wrote: On Wed, Sep 03, 2014 at 04:01:45PM +, Emmanuel Dreyfus wrote: Modified Files: src/lib/libperfuse: ops.c perfuse.c Log Message: Improve POSIX compliance of FUSE filesystems through PERUSE - access denied

CVS commit: src/lib/libperfuse

2014-09-05 Thread Emmanuel Dreyfus
+++ src/lib/libperfuse/ops.c Fri Sep 5 15:20:16 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: ops.c,v 1.72 2014/09/03 23:59:58 enami Exp $ */ +/* $NetBSD: ops.c,v 1.73 2014/09/05 15:20:16 manu Exp $ */ /*- * Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved. @@ -2352,6 +2352,12

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

CVS commit: src/lib/libperfuse

2014-09-05 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Sep 5 15:20:17 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: rmdir dir/.. must return an error. Use ENOTEMPRY like FFS does. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73

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

CVS commit: src/lib/libperfuse

2014-09-03 Thread Emmanuel Dreyfus
Fri Aug 29 04:58:40 2014 +++ src/lib/libperfuse/ops.c Wed Sep 3 16:01:45 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: ops.c,v 1.70 2014/08/29 04:58:40 manu Exp $ */ +/* $NetBSD: ops.c,v 1.71 2014/09/03 16:01:45 manu Exp $ */ /*- * Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved. @@ -269,7

CVS commit: src/lib/libperfuse

2014-09-03 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Sep 3 16:01:45 UTC 2014 Modified Files: src/lib/libperfuse: ops.c perfuse.c Log Message: Improve POSIX compliance of FUSE filesystems through PERUSE - access denied is EPERM and not EACCES - access to file owned by someone

CVS commit: src/usr.sbin/pcictl

2014-09-01 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Sep 1 07:11:19 UTC 2014 Modified Files: src/usr.sbin/pcictl: pcictl.8 pcictl.c Log Message: read and write commands for pcictl, from riastradh@ and wiz@ http://mail-index.netbsd.org/tech-kern/2014/08/26/msg017572.html To

CVS commit: src/usr.sbin/pcictl

2014-09-01 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Sep 1 07:11:19 UTC 2014 Modified Files: src/usr.sbin/pcictl: pcictl.8 pcictl.c Log Message: read and write commands for pcictl, from riastradh@ and wiz@ http://mail-index.netbsd.org/tech-kern/2014/08/26/msg017572.html To

<    1   2   3   4   5   6   7   >