CVS commit: src/sys/fs/udf

2020-04-06 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Apr 6 14:31:06 UTC 2020 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: udf_get_node(): fix typo and honor "lktype" argument. To generate a diff of this commit: cvs rdiff -u -r1.149 -r1.150 src/sys/fs/udf/udf_subr.

CVS commit: src/sys/kern

2020-04-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Apr 19 13:25:00 UTC 2020 Modified Files: src/sys/kern: vfs_vnode.c Log Message: Take some pressure from vdrain lock: - Use cv_signal() instead of cv_broadcast(), there is only one waiter. - No need to signal if number of vno

CVS commit: src/sys/kern

2020-04-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Apr 19 13:26:18 UTC 2020 Modified Files: src/sys/kern: vfs_mount.c Log Message: Destroy anonymous device vnodes on reboot once the last file system got unmounted and the mount list is empty. PR kern/54969: Disk cache is no l

CVS commit: src/sys/nfs

2020-05-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri May 1 08:43:00 UTC 2020 Modified Files: src/sys/nfs: nfs_node.c Log Message: Resolve delayed truncation from nfs_inactive() too. Should prevent "locking against self" from nfs_unlock(). To generate a diff of this commit:

CVS commit: src/sys/ufs/ufs

2020-05-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri May 1 08:43:37 UTC 2020 Modified Files: src/sys/ufs/ufs: ufs_vfsops.c Log Message: There is no difference between a zero-sized and not yet reclaimed directory vnode and a non-existent vnode. Teach ufs_fhtovp() to treat zero

CVS commit: src/sys/kern

2020-05-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri May 1 08:45:01 UTC 2020 Modified Files: src/sys/kern: vfs_mount.c Log Message: Undo Rev. 1.79, it breaks root-on-raid where it destroys the component disks before the raid: forcefully unmounting / (/dev/raid0a)... sd1:

CVS commit: src/sys/arch/i386/conf

2020-05-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri May 1 14:15:41 UTC 2020 Modified Files: src/sys/arch/i386/conf: ALL Log Message: Remove wd* at umass?, it was dropped. To generate a diff of this commit: cvs rdiff -u -r1.490 -r1.491 src/sys/arch/i386/conf/ALL Please note

CVS commit: src/sys/arch/x86/x86

2020-05-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri May 1 14:16:15 UTC 2020 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Use PRIxPADDR for paddr_t to make i386/ALL compile. To generate a diff of this commit: cvs rdiff -u -r1.139 -r1.140 src/sys/arch/x86/

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2020-05-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu May 7 09:12:03 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: Revert Rev. 1.63 and add a comment why we have to zil_commit() here: Operation zfs_znode.c::zfs_zget_cleaner()

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2020-05-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu May 7 09:12:32 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_znode.c Log Message: Revert Rev. 1.31 as it is no longer possible for the handle to be NULL. To generate a diff of this commit: cv

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2020-05-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu May 7 09:13:06 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_znode.c Log Message: Operation zfs_zget_cleaner() cannot fail, comment and add assertions. To generate a diff of this commit: cvs

CVS commit: src/sys

2020-05-13 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed May 13 09:21:30 UTC 2020 Modified Files: src/sys/kern: vfs_trans.c src/sys/sys: fstrans.h Log Message: Add operation fstrans_held(struct mount *), true if the current thread holds a fstrans lock. Ride 9.99.61 To ge

CVS commit: src/sys/kern

2020-05-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat May 16 17:42:07 UTC 2020 Modified Files: src/sys/kern: subr_kcov.c Log Message: Add __diagused, amd64 kernel ALL compiles again. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/kern/subr_kcov.c Please

CVS commit: src/sys/kern

2020-05-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon May 18 08:27:54 UTC 2020 Modified Files: src/sys/kern: vfs_vnode.c Log Message: vrele_flush(): yield() every 100ms like we do it in vflush(). To generate a diff of this commit: cvs rdiff -u -r1.121 -r1.122 src/sys/kern/vfs_

CVS commit: src/sys/ufs

2020-05-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon May 18 08:28:44 UTC 2020 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c src/sys/ufs/ufs: ufs_vnops.c Log Message: Assert ufs_strategy() always gets used while current thread holds a fstrans lock. To generate a diff o

CVS commit: src/sys/kern

2020-05-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon May 18 08:29:34 UTC 2020 Modified Files: src/sys/kern: vnode_if.src Log Message: VOP_STRATEGY() may still deadlock with devices. Change FSTRANS from LAZY to NO. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80

CVS commit: src/sys/kern

2020-05-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon May 18 08:30:06 UTC 2020 Modified Files: src/sys/kern: vnode_if.c Log Message: Regen. To generate a diff of this commit: cvs rdiff -u -r1.111 -r1.112 src/sys/kern/vnode_if.c Please note that diffs are not public domain; th

CVS commit: src/sys/uvm

2020-05-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed May 20 12:47:36 UTC 2020 Modified Files: src/sys/uvm: uvm_aobj.c Log Message: Suppress GCC warnings and fix a UVMHIST_LOG() statement. Kernels ALL/amd64 and ALL/i386 and port sparc64 build again. To generate a diff of this

CVS commit: src/sys

2020-05-24 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun May 24 10:42:28 UTC 2020 Modified Files: src/sys/arch/atari/dev: event_var.h src/sys/dev/sun: event_var.h Log Message: Change proc_lock -> &proc_lock. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src

CVS commit: src/external/cddl/osnet

2020-05-26 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue May 26 08:39:27 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vfsops.c src/external/cddl/osnet/sys/sys: vnode.h Log Message: Replace vp->v_count with vrefcnt(vp) and remove now unneeded

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2018-07-31 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Jul 31 09:33:50 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_znode.c Log Message: Initialize z_lockf for new znodes. Ok: Chuck Silvers To generate a diff of this commit: cvs rdiff -u -r1.20

CVS commit: src/sys/dev

2018-08-29 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Aug 29 09:04:03 UTC 2018 Modified Files: src/sys/dev: fss.c fssvar.h Log Message: Convert flags FSS_ACTIVE and FSS_ERROR into new member sc_state with states FSS_IDLE, FSS_ACTIVE and FSS_ERROR. No functional change intended.

CVS commit: src/sys/dev

2018-08-29 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Aug 29 09:04:40 UTC 2018 Modified Files: src/sys/dev: fss.c fssvar.h Log Message: Add two new states FSS_CREATING and FSS_DESTROYING and use them while creating or destroying a snapshot. Remove now unneeded sc_lock that made

CVS commit: src/sys/kern

2018-08-29 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Aug 29 09:05:17 UTC 2018 Modified Files: src/sys/kern: vfs_bio.c Log Message: Make sure getnewbuf() runs bawrite() inside fstrans. Use fstrans_start_nowait() to skip buffers that would block. To generate a diff of this comm

CVS commit: src/sbin/fsck_ffs

2018-10-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Oct 5 09:49:23 UTC 2018 Modified Files: src/sbin/fsck_ffs: setup.c Log Message: Add a test for duplicate inodes on the persistent snapshot list. To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/sbin/fsck

CVS commit: src

2018-10-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Oct 5 09:51:56 UTC 2018 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile fstrans.9 src/sys/dev: vnd.c src/sys/kern: vfs_trans.c src/sys/miscfs/genfs: genfs_vfsops.c

CVS commit: src/external/bsd/nsd

2018-10-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Oct 12 09:43:59 UTC 2018 Modified Files: src/external/bsd/nsd: Makefile.inc Log Message: Fix obvious typo: add missing equal sign. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/bsd/nsd/Makefile.in

CVS commit: src/sys/kern

2018-11-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Nov 7 09:58:19 UTC 2018 Modified Files: src/sys/kern: uipc_socket.c Log Message: Update getsockopt(SO_ERROR) to behave like soreceive() and return and clear so->so_rerror if so->so_error is zero. Ok: christos@ To generate

CVS commit: src/sys/kern

2018-11-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Nov 7 09:59:12 UTC 2018 Modified Files: src/sys/kern: uipc_syscalls.c Log Message: Don't defer errors from sendmmsg(). This matches the linux manpage. Defer errors from recvmmsg() through so_rerror and tests and return a d

CVS commit: src/sys/kern

2018-11-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 12 09:21:13 UTC 2018 Modified Files: src/sys/kern: uipc_syscalls.c Log Message: sys_recvmmsg: don't defer an error that already gets returned. To generate a diff of this commit: cvs rdiff -u -r1.198 -r1.199 src/sys/kern

CVS commit: src/external/bsd/nsd/include

2018-11-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 12 09:21:45 UTC 2018 Modified Files: src/external/bsd/nsd/include: config.h Log Message: Re-enable {send,recv}mmsg now they are working. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/bsd/nsd/i

CVS commit: src/sys/compat

2018-11-14 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Nov 14 17:51:37 UTC 2018 Modified Files: src/sys/compat/linux/common: linux_socket.c src/sys/compat/netbsd32: netbsd32_socket.c Log Message: Apply the recent fixes to {send,recv}mmsg() to their compat variants. To g

CVS commit: src/external/bsd/nsd/dist

2018-11-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Nov 20 10:03:39 UTC 2018 Modified Files: src/external/bsd/nsd/dist: server.c Log Message: Fix NSD when built with --enable-recvmmsg: When resetting a query with query_reset(queries[i], ...) always restore the corresponding m

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2018-11-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Nov 28 09:55:06 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: Always unbusy pages in zfs_putapage() after the data has been written into the DMU. Running fsx no longer hang

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2018-11-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Nov 28 09:55:36 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_znode.c Log Message: Add missing sa_buf_rele() into zfs_zget_cleaner(). To generate a diff of this commit: cvs rdiff -u -r1.21 -r1

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2018-11-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Nov 28 09:56:09 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: Remove an early test for "source and target are equal" from zfs_rename() that broke BSD semantics. To generat

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2018-11-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Nov 28 09:56:40 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: Don't try to release a NULL vnode in zfs_netbsd_rename(). To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2018-11-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Nov 28 09:57:16 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: We expect VOP_ACCESS() to return EACCESS as general error. Change zfs_netbsd_access() to translate the common

CVS commit: src

2018-11-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Nov 28 09:57:59 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c src/tests/fs/vfs: t_unpriv.c Log Message: Add missing access check for setting va_Xtime into zfs_netbsd_setattr().

CVS commit: src

2018-11-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Nov 28 09:58:58 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c src/tests/fs/vfs: t_unpriv.c Log Message: Add missing access check for REMOVE into zfs_netbsd_lookup(). PR kern/476

CVS commit: src

2018-11-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Nov 28 10:01:28 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c src/tests/fs/vfs: t_unpriv.c Log Message: Redo the access check for setting va_flags in zfs_netbsd_setattr(). Use u

CVS commit: src/tests/fs/vfs

2018-11-30 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Nov 30 09:52:39 UTC 2018 Modified Files: src/tests/fs/vfs: t_full.c Log Message: Skip zfs, it does not GOP_ALLOC. PR kern/47656 test zfs_fillfs. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/tests/fs/vfs

CVS commit: src/external/cddl/osnet

2018-11-30 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Nov 30 09:53:41 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c src/external/cddl/osnet/sys/sys: uio.h Log Message: Zfs_write() may hide write errors if uiomove() succeeds but a fu

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2018-12-06 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Dec 6 09:58:52 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_znode.c Log Message: Add missing ZFS_OBJ_HOLD_ENTER() / ZFS_OBJ_HOLD_EXIT() to zfs_zget_cleaner(). To generate a diff of this comm

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2018-12-06 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Dec 6 10:00:40 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: We have component names as counted strings (cn_nameptr, cn_namelen) but ZFS expects a null-terminated name. Al

CVS commit: src/sys/dev

2018-12-10 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Dec 10 15:22:35 UTC 2018 Modified Files: src/sys/dev: vnd.c Log Message: Operation handle_with_strategy() also needs the fstrans_start_lazy() / fstrans_done() bracket. PR kern/53624 (dom0 freeze on domU exit) To generate a

CVS commit: src/external/cddl/osnet/sys/kern

2018-12-13 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Dec 13 10:19:47 UTC 2018 Modified Files: src/external/cddl/osnet/sys/kern: mod.c Log Message: Don't allow module to init before mp_online. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/cddl/osnet/

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2018-12-13 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Dec 13 10:20:51 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: Drop v_interlock for zfs_range_lock(), another thread might hold part of this range and wait for v_interlock.

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2018-12-13 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Dec 13 10:20:20 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: Operation zfs_range_lock() needs range as (offset,length), not as (low,high). To generate a diff of this comm

CVS commit: src/lib/librumphijack

2018-12-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Dec 16 14:03:37 UTC 2018 Modified Files: src/lib/librumphijack: hijack.c rumphijack.3 Log Message: Add an option "modctl" to capture modctl(). To generate a diff of this commit: cvs rdiff -u -r1.125 -r1.126 src/lib/librumph

CVS commit: src/tests/fs

2018-12-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Dec 16 14:04:14 UTC 2018 Modified Files: src/tests/fs/common: fstest_zfs.c src/tests/fs/zfs: t_zpool.sh Log Message: Have to hijack sysctl() and modctl() for zfs commands. Should fix PR kern/53422 To generate a dif

CVS commit: src

2019-01-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Jan 1 10:06:55 UTC 2019 Modified Files: src/share/man/man9: vfsops.9 vnode.9 src/sys/fs/tmpfs: tmpfs_subr.c tmpfs_vfsops.c src/sys/fs/udf: udf_subr.c src/sys/kern: vfs_subr.c vfs_vnode.c src/sy

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-01-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Jan 1 10:08:01 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ioctl.c zfs_vfsops.c zfs_znode.c src/external/cddl/osnet/dist/uts/common/fs/zfs/sys: zfs_znode.h Log Message: Ca

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-01-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Jan 1 10:09:27 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: Cannot use ZFS_ENTER() / ZFS_EXIT() as zfs_netbsd_putpages() is used during vnode reclaim. Add missing protect

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-01-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Jan 1 10:08:42 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: As already noted in XXX comment do a zil_commit() on reclaim. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-01-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jan 5 09:20:29 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: Even though zfs_netbsd_putpages() cannot use ZFS_ENTER() it has to respect the teardown lock. Enter z_teardown

CVS commit: src/external/cddl/osnet/dev/dtrace/amd64

2019-01-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jan 12 10:41:31 UTC 2019 Modified Files: src/external/cddl/osnet/dev/dtrace/amd64: dtrace_subr.c Log Message: There is no such function read_rflags(), probably meant x86_read_flags(). To generate a diff of this commit: cvs

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-01-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jan 12 10:42:09 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: dmu_send.c Log Message: Need FOF_UPDATE_OFFSET to update the offset on plain files. Running "zfs send" to plain files no longer writes

CVS commit: src/external/cddl/osnet/sys/kern

2019-01-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jan 12 10:42:40 UTC 2019 Modified Files: src/external/cddl/osnet/sys/kern: taskq.c Log Message: Disable valid assertion "!(flags & TQ_NOQUEUE)" as "zfs send" triggers it. To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-01-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jan 12 10:43:33 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ioctl.c zfs_onexit.c Log Message: The ZFS onexit routines expect opening ZFS_DEV with O_EXCL to return a cloned device w

CVS commit: src/external/cddl/osnet/lib/libzfs

2019-01-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jan 12 10:44:05 UTC 2019 Modified Files: src/external/cddl/osnet/lib/libzfs: zmount.c Log Message: Pass unmount flags down to syscall, "zfs unmount -f" now works. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/external/cddl/osnet/sys/sys

2019-01-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jan 12 10:44:36 UTC 2019 Modified Files: src/external/cddl/osnet/sys/sys: vnode.h Log Message: Allow zfs_vn_rdwr() with "rw == UIO_READ" too. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/external/cddl/o

CVS commit: src/sys/kern

2019-01-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Jan 17 10:18:52 UTC 2019 Modified Files: src/sys/kern: kern_threadpool.c Log Message: Use PRIu64 for "uint64_t tp_refcnt". To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/kern/kern_threadpool.c Please

CVS commit: src/sys/dev/pci

2019-01-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Jan 17 10:20:01 UTC 2019 Modified Files: src/sys/dev/pci: ld_virtio.c Log Message: Use cv_broadcast() on "sc_sync_wait" to prevent deadlock when more than one thread try to "DIOCCACHESYNC" at the same time. To generate a di

CVS commit: src/sys/arch/sparc64/sparc64

2019-01-30 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Jan 30 10:11:11 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: netbsd32_machdep_13.c Log Message: Make this compile with "options DEBUG". To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/spar

CVS commit: src/sys/kern

2019-02-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 5 09:49:44 UTC 2019 Modified Files: src/sys/kern: vfs_mount.c Log Message: Allow dounmount() with file system already suspended. Remove no longer valid test for layered mounts, ZFS will unmount snapshots bottom up. To

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-02-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 5 09:50:18 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: zfs_netbsd_reclaim(): validate "z_log" before zil_commit(). To generate a diff of this commit: cvs rdiff -u -

CVS commit: src

2019-02-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 5 09:54:36 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ctldir.c zfs_ioctl.c zfs_vfsops.c zfs_vnops.c zfs_znode.c src/external/cddl/osnet/dist/uts/common/fs/zfs/sys: zfs

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-02-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 5 09:55:48 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ctldir.c Log Message: Implement the ZFS control directory ".zfs" and its subdirectory 'snapshot". Automatically mount snapshots on

CVS commit: src/sys/arch/sparc64/sparc64

2019-02-15 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Feb 15 16:36:33 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: Add /* FALLTHROUGH */ for DEBUG kernel. To generate a diff of this commit: cvs rdiff -u -r1.190 -r1.191 src/sys/arch/sparc64/sparc64

CVS commit: src/sys/dev/hyperv

2019-02-15 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Feb 15 16:37:54 UTC 2019 Modified Files: src/sys/dev/hyperv: vmbus.c Log Message: Add __diagused. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/hyperv/vmbus.c Please note that diffs are not public

CVS commit: src/sys/kern

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:02:52 UTC 2019 Modified Files: src/sys/kern: subr_disk_open.c Log Message: Fix vnode locking for opendisk(), must lock for VOP_OPEN(). To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/kern/sub

CVS commit: src/sys/dev

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:03:25 UTC 2019 Modified Files: src/sys/dev: fss.c fssvar.h Log Message: Make FSS_ERROR a flag to prevent bogus fscow_disestablish() after error. To generate a diff of this commit: cvs rdiff -u -r1.106 -r1.107 src/

CVS commit: src/sys/ufs/mfs

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:03:56 UTC 2019 Modified Files: src/sys/ufs/mfs: mfs_vnops.c Log Message: Remove superfluous VOP_UNLOCK(), vnode will be unlocked from spec_reclaim(). To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 s

CVS commit: src/sys/dev/raidframe

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:04:28 UTC 2019 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Fix vnode locking, must lock for VOP_OPEN() and VOP_UNLOCK() when done. To generate a diff of this commit: cvs rdiff -u -r1.374 -

CVS commit: src/sys

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:05:20 UTC 2019 Modified Files: src/sys/kern: vfs_syscalls.c src/sys/nfs: nfs_serv.c Log Message: Bracket do_sys_renameat() and nfsrv_rename() with fstrans. The v_mount field for vnodes on the same file syst

CVS commit: src/sys

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:06:00 UTC 2019 Modified Files: src/sys/fs/union: union_vfsops.c src/sys/miscfs/nullfs: null_vfsops.c src/sys/miscfs/overlay: overlay_vfsops.c src/sys/miscfs/umapfs: umap_vfsops.c Log Message:

CVS commit: src/sys/kern

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:06:33 UTC 2019 Modified Files: src/sys/kern: vfs_vnode.c Log Message: Assign vnode to dead_rootmount before vcache_dealloc() releases it. Now v_mount is never NULL. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:07:27 UTC 2019 Modified Files: src/sys/kern: init_main.c vfs_mount.c vfs_trans.c vfs_vnode.c src/sys/miscfs/genfs: genfs_vfsops.c src/sys/rump/librump/rumpvfs: rump_vfs.c src/sys/sys: fstypes.

CVS commit: src

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:08:38 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ctldir.c src/sys/kern: vfs_mount.c vfs_trans.c Log Message: Move fstrans_unmount() to vfs_rele(), just before it would free

CVS commit: src/sys/kern

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:09:45 UTC 2019 Modified Files: src/sys/kern: vfs_trans.c Log Message: - Make the fstrans mount info part of the per-lwp state and replace most accesses to the mount with fstrans mount info. - Add "fmi_gone" to be

CVS commit: src/sys/kern

2019-02-21 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Feb 21 08:52:53 UTC 2019 Modified Files: src/sys/kern: vfs_trans.c Log Message: Fix bad assertion: vfs_suspend(dead_rootmount) may happen and must return EOPNOTSUPP. To generate a diff of this commit: cvs rdiff -u -r1.54 -r

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-02-22 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Feb 22 09:01:32 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_replay.c Log Message: Always set "cn_namelen" in addition to "cn_nameptr". Fix vnode locking for REMOVE, RMDIR and RENAME. To gen

CVS commit: src/sys/kern

2019-02-24 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Feb 24 16:11:24 UTC 2019 Modified Files: src/sys/kern: vfs_trans.c Log Message: Clear per-lwp entries whose mount is gone before the first return from fstrans_done(). No longer leaks "struct mount" forever. To generate a d

CVS commit: src/sys

2019-03-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Mar 1 09:02:03 UTC 2019 Modified Files: src/sys/kern: kern_exit.c kern_lwp.c vfs_trans.c src/sys/sys: fstrans.h lwp.h Log Message: Move pointer to fstrans private data into "struct lwp". Ride NetBSD 8.99.35 To gen

CVS commit: src/sys/kern

2019-03-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Mar 7 11:09:10 UTC 2019 Modified Files: src/sys/kern: vfs_trans.c Log Message: Change "fli_alias" to point to the corresponding "fstrans_lwp_info". Fix fstrans_clear_lwp_info() list traversal, remove already advanced the li

CVS commit: src/sys/kern

2019-03-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Mar 7 11:09:48 UTC 2019 Modified Files: src/sys/kern: vfs_vnops.c Log Message: Change vn_openchk() to fail VNON and VBAD with error ENXIO. Reported-by: syzbot+d66b1be08516a4d2d...@syzkaller.appspotmail.com Reported-by: syzb

CVS commit: src/sys/rump/librump/rumpkern

2019-03-09 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Mar 9 09:02:38 UTC 2019 Modified Files: src/sys/rump/librump/rumpkern: emul.c lwproc.c Log Message: Rumpkernel has its own thread deallocation. Add missing fstrans_lwp_dtor() to lwproc_freelwp(). PR bin/50350: rump/rumpker

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs/sys

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 09:54:17 UTC 2021 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs/sys: zfs_context.h Log Message: Use the right uid / gid for nobody:nobody like FreeBSD does. Prevents null pointer dereferences when ZFS

CVS commit: src/sys

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 09:56:32 UTC 2021 Modified Files: src/sys/kern: vfs_mount.c src/sys/uvm: uvm_swap.c Log Message: Reorganize uvm_swap_shutdown() a bit, make sure the vnode gets locked and referenced across the call to swap_off(

CVS commit: src/usr.sbin/mountd

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 09:58:35 UTC 2021 Modified Files: src/usr.sbin/mountd: mountd.c Log Message: Split get_exportlist() into get_exportlist() and get_exportlist_one() in preparation to support multiple input files. No functional change i

CVS commit: src/usr.sbin/mountd

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 10:00:27 UTC 2021 Modified Files: src/usr.sbin/mountd: mountd.8 mountd.c Log Message: Add support for multiple exports files. This will be useful for example for ZFS, where we have an automatically generated /etc/zfs/e

CVS commit: src/etc/rc.d

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 10:02:42 UTC 2021 Modified Files: src/etc/rc.d: mountall mountd Log Message: Enable "/etc/zfs/exports" from "zfs share" in rc.d/mountd and rc.d/mountall. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/sys/uvm

2021-02-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Feb 19 13:20:44 UTC 2021 Modified Files: src/sys/uvm: uvm_swap.c Log Message: When turning off swap during reboot we have to lock with LK_RETRY as regular files got reclaimed during unmount. Adresses PR kern/54969 (Disk cach

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2021-04-21 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Apr 21 10:02:34 UTC 2021 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: arc.c Log Message: Prevent blocking l2arc_feed_thread() forever, skip the cv_timedwait() for negative or zero ticks. To generate a dif

CVS commit: src/sys/miscfs/fdesc

2021-05-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat May 1 15:08:14 UTC 2021 Modified Files: src/sys/miscfs/fdesc: fdesc_vnops.c Log Message: Make sure fdesc_lookup() never returns VNON vnodes. Should fix PR kern/56130 (fdescfs create nodes with wrong major number) To gener

CVS commit: src/sys/dev/dm

2021-05-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri May 7 09:53:39 UTC 2021 Modified Files: src/sys/dev/dm: dm_ioctl.c Log Message: Make sure the unit number of device-mapper devices matches their minor number. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 s

CVS commit: src/sys/dev/dm

2021-05-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri May 7 09:54:43 UTC 2021 Modified Files: src/sys/dev/dm: device-mapper.c Log Message: Track the number of cdev and bdev opens and fail dm_detach() on open devices unless detach is forced. PR kern/54969 (Disk cache is no long

CVS commit: src/sys/fs/ntfs

2021-05-13 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu May 13 08:57:29 UTC 2021 Modified Files: src/sys/fs/ntfs: ntfs_subr.c Log Message: ntfs_loadntnode(): Use bread() when ntm_sysvn[NTFS_MFTINO] is NULL. May happen when loading node 0 (MFT) during mount and some attributes are

CVS commit: src/sys/kern

2021-05-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue May 18 08:59:44 UTC 2021 Modified Files: src/sys/kern: exec_elf.c Log Message: Remove a superfluous VOP_GETATTR() from elf_load_interp() and replace the LK_EXCLUSIVE lock with a LK_SHARED lock. The attributes requested were

<    2   3   4   5   6   7   8   >