CVS commit: src/sys/arch/sparc/stand/bootblk

2013-06-10 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Jun 10 10:26:22 UTC 2013 Modified Files: src/sys/arch/sparc/stand/bootblk: genfth.cf genlfs.cf Log Message: Move member di_inumber from ufs1_dinode to ulfs1_dinode. No functional change intended. Tested on sparc64. To

CVS commit: src/sys/ufs/ffs

2013-05-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue May 7 09:40:54 UTC 2013 Modified Files: src/sys/ufs/ffs: ffs_snapshot.c Log Message: When invalidating short buffers on the snapshots clean list use bbusy() to mark the buffer busy. There exists a small window where a

CVS commit: src/sys

2013-02-13 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 13 14:03:49 UTC 2013 Modified Files: src/sys/dev: fss.c src/sys/kern: vfs_mount.c vfs_subr.c vfs_vnode.c src/sys/miscfs/specfs: spec_vnops.c specdev.h src/sys/sys: param.h Log Message: Make the

CVS commit: src/tests/fs

2013-02-06 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 6 09:05:01 UTC 2013 Modified Files: src/tests/fs/common: snapshot.c src/tests/fs/ffs: t_snapshot.c t_snapshot_log.c t_snapshot_v2.c src/tests/fs/msdosfs: t_snapshot.c Log Message: Test taking a snapshot

CVS commit: src/sys/dev

2013-02-06 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 6 09:29:46 UTC 2013 Modified Files: src/sys/dev: fss.c Log Message: Take fss_device_lock first when closing a fss device. Fixes PR kern/47514 (Multiple dump -X triggers kernel panic in fss_ioctl) To generate a diff

CVS commit: src/sys/dev

2013-02-06 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 6 09:33:17 UTC 2013 Modified Files: src/sys/dev: fss.c Log Message: Lookup the block device mounted on from the specfs_hash table. This doesn't belong here but makes it possible to pullup. Fixes PR kern/47020 (fss(4)

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

2013-01-25 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Jan 25 17:12:33 UTC 2013 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: Update the DEBUG section at the tail of pmap_clear_modify(). Nothing prevents page modification after the modify bit was cleared but

CVS commit: src/sys/kern

2013-01-21 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Jan 21 09:14:01 UTC 2013 Modified Files: src/sys/kern: vfs_trans.c Log Message: Replace the rwlock based implementation with passive serialization from pserialize(9) and mutex / condvar. The fast paths

CVS commit: src/sys/compat/netbsd32

2013-01-15 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Jan 15 17:14:11 UTC 2013 Modified Files: src/sys/compat/netbsd32: netbsd32_execve.c Log Message: netbsd32_posix_spawn_fa_alloc: use the right length for path allocation. This error lead to memory pool corruption when

CVS commit: src/sys/kern

2012-12-30 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Dec 30 09:19:24 UTC 2012 Modified Files: src/sys/kern: vfs_bio.c Log Message: Always call brelse() on error for breadn() too. To generate a diff of this commit: cvs rdiff -u -r1.241 -r1.242 src/sys/kern/vfs_bio.c Please

CVS commit: src/sys/fs/msdosfs

2012-12-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Dec 28 08:04:00 UTC 2012 Modified Files: src/sys/fs/msdosfs: msdosfs_vnops.c Log Message: Move the initialization of n to after the error branch. From Taylor R Campbell riastr...@netbsd.org To generate a diff of this

CVS commit: src/sys/fs/msdosfs

2012-12-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Dec 20 11:44:39 UTC 2012 Modified Files: src/sys/fs/msdosfs: msdosfs_fat.c Log Message: Revert rev. 1.20 now that bread() has been fixed. PR kern/46282 (6.0_BETA crash: msdosfs_bmap - pcbmap - bread - bio_doread) To

CVS commit: src/sys/kern

2012-12-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Dec 8 07:24:42 UTC 2012 Modified Files: src/sys/kern: vfs_wapbl.c Log Message: Try to coalesce writes to the journal in MAXPHYS sized and aligned blocks. Speeds up wapbl_flush() on raid5 by a factor of 3-4. Discussed on

CVS commit: src/sys/kern

2012-11-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Nov 17 10:10:18 UTC 2012 Modified Files: src/sys/kern: vfs_wapbl.c Log Message: wapbl_biodone: Release the buffer before reclaiming the log. wapbl_flush() may wait for the log to become empty and all buffers should

CVS commit: src/sys/kern

2012-11-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 12 11:00:07 UTC 2012 Modified Files: src/sys/kern: vfs_vnode.c vfs_vnops.c Log Message: Bring back Manuel Bouyers patch to resolve races between vget() and vrelel() resulting in vget() returning dead vnodes. It is

CVS commit: src/sys/dev

2012-07-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jul 28 15:12:42 UTC 2012 Modified Files: src/sys/dev: fss.c Log Message: Use `getdisksize()' to get the size of the mounted-on block device. Should work for disks without partition table (wedges) now. To generate a diff

CVS commit: src/sys/dev

2012-07-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jul 28 16:14:18 UTC 2012 Modified Files: src/sys/dev: fss.c Log Message: Minor fix to previous -- release vnode after last use, not before. To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83 src/sys/dev/fss.c

CVS commit: src/usr.sbin/fssconfig

2012-06-11 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Jun 11 15:25:14 UTC 2012 Modified Files: src/usr.sbin/fssconfig: fssconfig.8 Log Message: File system snapshots are no longer experimental. Forgot to chang this man page in Nov 2011. To generate a diff of this commit: cvs

CVS commit: src/sys/fs/msdosfs

2012-04-09 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Apr 9 11:10:07 UTC 2012 Modified Files: src/sys/fs/msdosfs: msdosfs_fat.c Log Message: pcbmap(): We cannot use bread() here as for the pagedaemon getblk() may fail leading to a panic in bread(). Replace

CVS commit: src/sys/kern

2012-04-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Apr 5 07:26:37 UTC 2012 Modified Files: src/sys/kern: vfs_vnops.c Log Message: Fix vn_lock() to return an invalid (dead, clean) vnode only if the caller requested it by setting LK_RETRY. Should fix PR #46221: Kernel panic

CVS commit: src/sys/dev

2012-03-26 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Mar 26 16:28:08 UTC 2012 Modified Files: src/sys/dev: vnd.c vndvar.h Log Message: When backed by a sparse file limit the number of pending requests. Should fix PR #45829: writing to vnd on sparse file blocks on pager_map

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

2012-03-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Mar 17 17:58:38 UTC 2012 Modified Files: src/sys/rump/librump/rumpkern: vm.c Log Message: Don't take a mutex we already took 6 lines above. To generate a diff of this commit: cvs rdiff -u -r1.124 -r1.125

CVS commit: src/tests/rump/rumpkern

2012-03-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Mar 17 18:00:29 UTC 2012 Modified Files: src/tests/rump/rumpkern: t_vm.c Log Message: Starting with Rev. 1.191 of kern/subr_pool.c a pool has to be inactive for at least 10 seconds before it can be reclaimed. Change the

CVS commit: src/sys/ufs

2012-03-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Mar 16 08:39:54 UTC 2012 Modified Files: src/sys/ufs/ext2fs: ext2fs_lookup.c src/sys/ufs/ufs: ufs_lookup.c Log Message: Fix last commit that broke lookup for dot with op DELETE. Reviewed by: David Holland

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

2012-01-29 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Jan 29 18:29:12 UTC 2012 Modified Files: src/sys/arch/i386/conf: INSTALL_FLOPPY Log Message: Add virtio driver to INSTALL_FLOPPY. Requested by Matthias Scheler t...@netbsd.org for particular cases like

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

2012-01-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Jan 20 18:47:04 UTC 2012 Modified Files: src/sys/arch/x86/include: i82489reg.h Log Message: Revert revision 1.4 and change LAPIC_LEVEL_ASSERT / _MASK back to 0x4000. According to Intel 64 and IA-32 Architectures Software

CVS commit: src/sys/kern

2011-12-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Dec 20 16:49:37 UTC 2011 Modified Files: src/sys/kern: vfs_vnode.c Log Message: Move the diagnostic check for a missing VOP_CLOSE() to the top of vrelel(). As long as we hold the vnode interlock there is no chance for this

CVS commit: src/sys/fs/union

2011-12-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Dec 5 11:12:11 UTC 2011 Modified Files: src/sys/fs/union: union_vfsops.c Log Message: The union file system is as stable as other layered file systems so no longer print a warning to the console. Gnats is waiting ... To

CVS commit: src/sys/fs/union

2011-11-25 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Nov 25 11:19:10 UTC 2011 Modified Files: src/sys/fs/union: union_subr.c Log Message: When union_allocvp() finds a node being cleaned out and the caller holds a lock, ignore the node and continue. To allow the cleaning to

CVS commit: src/sys/fs/union

2011-11-23 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Nov 23 19:39:11 UTC 2011 Modified Files: src/sys/fs/union: union.h union_subr.c union_vfsops.c Log Message: Use hashinit() / hashdone() to create the union node hash list. Cleanup the hash lookup in union_allocvp(). Needs

CVS commit: src/sys/dev/pci

2011-11-23 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Nov 23 19:40:42 UTC 2011 Modified Files: src/sys/dev/pci: ld_virtio.c Log Message: According to Virtio PCI Card Specification v0.9.2 DRAFT there is no feature named VIRTIO_BLK_F_SECTOR_MAX so remove it. Linux seems to use

CVS commit: src/sys/nfs

2011-11-21 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 21 09:08:00 UTC 2011 Modified Files: src/sys/nfs: nfs_serv.c Log Message: nfsrv_lookup(): Defer the postopattr lookup on dirp until the child node is unlocked. Ok: YAMAMOTO Takashi y...@netbsd.org To

CVS commit: src/sys/fs/msdosfs

2011-11-21 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 21 10:46:57 UTC 2011 Modified Files: src/sys/fs/msdosfs: msdosfs_vnops.c Log Message: Add missing fstrans_done(). Should fix PR #45635 (KASSERT fli-fli_trans_cnt == 0 failed) To generate a diff of this commit: cvs

CVS commit: src/sys/fs/union

2011-11-21 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 21 18:29:23 UTC 2011 Modified Files: src/sys/fs/union: union.h union_subr.c union_vfsops.c union_vnops.c Log Message: Replace flag based union node locking with generic vnode lock, support shared and nowait locks and

CVS commit: src/sys/kern

2011-11-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Nov 20 10:32:33 UTC 2011 Modified Files: src/sys/kern: kern_verifiedexec.c Log Message: Fix locking against self in veriexec_fp_calc(). To generate a diff of this commit: cvs rdiff -u -r1.127 -r1.128

CVS commit: src/sys/arch/xen/xen

2011-11-14 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 14 16:04:30 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Bring back sys/disklabel.h for DISKUNIT and DISKPART. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

CVS commit: src/sys

2011-11-14 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 14 18:35:15 UTC 2011 Modified Files: src/sys/fs/adosfs: advfsops.c src/sys/fs/cd9660: cd9660_vfsops.c src/sys/fs/filecorefs: filecore_vfsops.c src/sys/fs/hfs: hfs_subr.c src/sys/fs/msdosfs:

CVS commit: src/sys/fs/union

2011-11-14 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 14 18:38:14 UTC 2011 Modified Files: src/sys/fs/union: union_subr.c Log Message: Remove a needless vnode lock/unlock dance. This is a leftover from the removal of VOP_LEASE(). Function union_removed_upper() always

CVS commit: src/sys/fs/union

2011-11-14 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 14 18:42:57 UTC 2011 Modified Files: src/sys/fs/union: union_vnops.c Log Message: VOP_ABORTOP() has no specific lock requirements so there is no need to force locked vnodes here. It should be impossible to come here

CVS commit: src/sys/kern

2011-11-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 7 08:44:16 UTC 2011 Modified Files: src/sys/kern: bufq_priocscan.c Log Message: Move an assertion to the right place. Ok: YAMAMOTO Takashi y...@netbsd.org Fixes PR #45578 (kernel crash with BUFQ_PRIOCSCAN) To

CVS commit: src

2011-11-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Nov 5 09:22:44 UTC 2011 Modified Files: src/distrib/sets/lists/man: mi src/share/man/man4: Makefile ld.4 Added Files: src/share/man/man4: virtio.4 Log Message: Document virtio(4). To generate a diff of

CVS commit: src/sys/dev/pci

2011-11-02 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Nov 2 14:34:09 UTC 2011 Modified Files: src/sys/dev/pci: ld_virtio.c Log Message: Make sure we allocate enough segments for the request dma maps. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/nfs

2011-10-30 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Oct 30 12:00:28 UTC 2011 Modified Files: src/sys/nfs: nfs_serv.c Log Message: VOP_GETATTR() needs a shared lock at least. To generate a diff of this commit: cvs rdiff -u -r1.160 -r1.161 src/sys/nfs/nfs_serv.c Please note

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

CVS commit: src/sys/nfs

2011-10-24 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Oct 24 11:43:31 UTC 2011 Modified Files: src/sys/nfs: nfs_kq.c nfs_vfsops.c Log Message: VOP_GETATTR() needs a shared lock at least. As nfs_kqpoll() ignores the return value from VOP_GETATTR() initialize the attrributes to

CVS commit: src/sys/fs/smbfs

2011-10-23 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Oct 23 08:42:06 UTC 2011 Modified Files: src/sys/fs/smbfs: smbfs_kq.c Log Message: VOP_GETATTR() needs a shared lock at least. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/fs/smbfs/smbfs_kq.c

CVS commit: src/sys/fs/union

2011-10-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Oct 18 09:22:53 UTC 2011 Modified Files: src/sys/fs/union: union_subr.c union_vnops.c Log Message: VOP_GETATTR() needs a shared lock at least. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51

CVS commit: src/sys/fs/udf

2011-10-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Oct 18 20:20:30 UTC 2011 Modified Files: src/sys/fs/udf: udf_vnops.c Log Message: VOP_GETATTR() needs a shared lock at least. While here fix a typo (fvp - tvp). To generate a diff of this commit: cvs rdiff -u -r1.67

CVS commit: src/sys/miscfs

2011-10-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Oct 16 12:26:16 UTC 2011 Modified Files: src/sys/miscfs/fdesc: fdesc_vnops.c src/sys/miscfs/procfs: procfs_map.c Log Message: VOP_GETATTR() needs a shared lock at least. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/fs/nilfs

2011-10-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Oct 16 12:41:46 UTC 2011 Modified Files: src/sys/fs/nilfs: nilfs_vnops.c Log Message: VOP_GETATTR() needs a shared lock at least. While here fix a typo (fvp - tvp). To generate a diff of this commit: cvs rdiff -u -r1.14

CVS commit: src/sys

2011-10-14 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Oct 14 09:23:31 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_file.c linux_file64.c linux_ioctl.c linux_misc.c src/sys/compat/linux32/common: linux32_dirent.c src/sys/compat/ossaudio:

CVS commit: src

2011-10-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Oct 7 09:35:07 UTC 2011 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vfsops.c src/sys/fs/msdosfs: msdosfs_vfsops.c src/sys/fs/puffs: puffs_vfsops.c src/sys/fs/smbfs:

CVS commit: src/sys/kern

2011-10-03 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Oct 3 10:30:13 UTC 2011 Modified Files: src/sys/kern: vfs_vnode.c Log Message: As getnewvnode() is prepared to wait for an allocation change vnalloc() to always use PR_WAITOK. No more 'WARNING: unable to allocate new

CVS commit: src/sys/kern

2011-10-02 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Oct 2 13:00:07 UTC 2011 Modified Files: src/sys/kern: vfs_vnode.c Log Message: The path getnewvnode()-getcleanvnode()-vclean()-VOP_LOCK() will panic if the vnode we want to clean is a layered vnode and the caller already

CVS commit: src/sys/fs/union

2011-08-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Aug 28 08:27:57 UTC 2011 Modified Files: src/sys/fs/union: union_vfsops.c Log Message: Print the warning message on mount once. Should fix PR #42795 (patch to make mounting union filesystems less obnoxious) To generate a

CVS commit: src/sys/fs/tmpfs

2011-08-27 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Aug 27 15:32:28 UTC 2011 Modified Files: src/sys/fs/tmpfs: tmpfs_subr.c tmpfs_vnops.c Log Message: Finish and enable whiteout support for tmpfs: - Enable VOP tmpfs_whiteout(). - Support ISWHITEOUT in tmpfs_alloc_file(). -

CVS commit: src/tests/lib/librumpclient

2011-08-25 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Aug 25 18:46:01 UTC 2011 Modified Files: src/tests/lib/librumpclient: t_fd.c Log Message: t_fd/sigio: pass test if we receive at least one SIGIO signal. While a real kernel collects these signals until the connect() returns

CVS commit: src/sys/fs/union

2011-08-23 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Aug 23 07:39:37 UTC 2011 Modified Files: src/sys/fs/union: union.h union_subr.c union_vnops.c Log Message: Stop abusing relookup() to prepare the creation of new nodes in the upper layer. Replace union_relookup() with

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

2011-08-23 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Aug 23 07:40:32 UTC 2011 Modified Files: src/sys/rump/librump/rumpvfs: rumpfs.c Log Message: When consuming only part of a path in rump_vop_lookup(): - Make sure to consume complete path components. - Consume trailing

CVS commit: src/libexec/httpd

2011-08-21 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Aug 21 10:45:33 UTC 2011 Modified Files: src/libexec/httpd: ssl-bozo.c Log Message: Fix typo. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/libexec/httpd/ssl-bozo.c Please note that diffs are not

CVS commit: src/sys/fs/union

2011-08-13 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Aug 13 10:48:14 UTC 2011 Modified Files: src/sys/fs/union: union_subr.c Log Message: Use mutexes to protect the hash lists instead of tsleep/wakeup. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49

CVS commit: src/sys/fs/union

2011-08-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Aug 12 06:40:10 UTC 2011 Modified Files: src/sys/fs/union: union_subr.c Log Message: When creating a union node representing a device initialize the spec_node to make vrele() happy. To generate a diff of this commit: cvs

CVS commit: src/sys/fs/union

2011-08-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Aug 12 14:36:30 UTC 2011 Modified Files: src/sys/fs/union: union_vnops.c Log Message: Add missing parts to mount devices from a union file system: - union_close()has to lock/unlock the lower vnode. - union_fsync()has

CVS commit: src/sys/fs/union

2011-08-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Aug 12 17:41:17 UTC 2011 Modified Files: src/sys/fs/union: union.h union_subr.c union_vnops.c Log Message: Change some `#ifdef DIAGNOSTIC' to `KASSERT'. Instead of a `pid_t' use a `lwp_t *' for locking diagnostics. No

CVS commit: src/sys/fs/union

2011-08-10 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Aug 10 06:19:54 UTC 2011 Modified Files: src/sys/fs/union: union_subr.c Log Message: Use LK_SHARED, it is sufficient for VOP_GETATTR() and VOP_READDIR(). To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45

CVS commit: src

2011-08-10 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Aug 10 06:27:02 UTC 2011 Modified Files: src/sys/fs/union: union_vnops.c src/tests/fs/union: t_pr.c Log Message: For devices, sockets and fifos ignore setting the file size to zero to make open(..., O_TRUNC) happy

CVS commit: src/sys/fs/union

2011-08-10 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Aug 10 15:56:01 UTC 2011 Modified Files: src/sys/fs/union: union_subr.c Log Message: Update the (shared) v_interlock if the upper node changes. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46

CVS commit: src/sys/kern

2011-08-09 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Aug 9 06:36:52 UTC 2011 Modified Files: src/sys/kern: sys_select.c Log Message: No need to lock the selcluster in selscan() if either NO_DIRECT_SELECT is defined or all polls return an event. To generate a diff of this

CVS commit: src

2011-08-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Aug 7 06:01:51 UTC 2011 Modified Files: src/sys/fs/union: union.h union_subr.c union_vnops.c src/tests/fs/vfs: t_union.c Log Message: Change union rmdir semantics to fail directory removal for non-empty directories

CVS commit: src/sys/kern

2011-08-06 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Aug 6 11:04:25 UTC 2011 Modified Files: src/sys/kern: sys_select.c Log Message: Fix the races of direct select()/poll(): - When sel_do_scan() restarts do a full initialization with selclear() so we start from an empty

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

2011-08-06 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Aug 7 05:56:32 UTC 2011 Modified Files: src/sys/rump/librump/rumpvfs: rumpfs.c Log Message: Allow removal of a directory containing only whiteouts and free them first. To generate a diff of this commit: cvs rdiff -u

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

2011-08-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Aug 5 08:14:00 UTC 2011 Modified Files: src/sys/rump/librump/rumpvfs: rumpfs.c Log Message: Make whiteouts work on rumpfs: - On lookup it is ok to create if the name exists and is a whiteout - When replacing a whiteout

CVS commit: src

2011-08-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Aug 5 08:17:48 UTC 2011 Modified Files: src/sys/fs/union: union_vnops.c src/tests/fs/vfs: t_union.c Log Message: When union_lookup() creates a shadow directory and nameiop is not LOOKUP it has to restart the lookup

CVS commit: src

2011-08-03 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Aug 3 10:03:52 UTC 2011 Modified Files: src/sys/ufs/ufs: ufs_vnops.c src/tests/fs/vfs: t_union.c Log Message: Make whiteouts work on journaling ffs file system by adding the missing UFS_WAPBL_BEGIN() /

CVS commit: src

2011-07-23 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jul 23 14:28:28 UTC 2011 Modified Files: src/sys/dev/putter: putter.c src/tests/include: t_paths.c Log Message: putter_fop_stat(): set st_mode to S_IFCHR. Fixes PR #44807: something broken in stat(2). To generate

CVS commit: src

2011-07-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Jul 20 11:52:00 UTC 2011 Modified Files: src/sys/fs/msdosfs: msdosfs_vnops.c src/tests/fs/vfs: t_vnops.c Log Message: Even though msdosfs never truncates file names it advertises _PC_NO_TRUNC as zero. Make it

CVS commit: src/sys/kern

2011-07-11 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Jul 11 08:23:01 UTC 2011 Modified Files: src/sys/kern: vnode_if.sh vnode_if.src Log Message: Change VOP_BWRITE() to take a vnode as its first argument like all other VOPs do. Layered file systems no longer have to modify

CVS commit: src

2011-07-11 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Jul 11 08:27:41 UTC 2011 Modified Files: src/share/man/man9: vnodeops.9 src/sys/kern: vfs_bio.c vfs_subr.c vnode_if.c src/sys/miscfs/genfs: layer_extern.h layer_vnops.c src/sys/miscfs/nullfs:

CVS commit: src/sys/miscfs/genfs

2011-07-11 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Jul 11 08:34:01 UTC 2011 Modified Files: src/sys/miscfs/genfs: layer_vnops.c Log Message: Layer_fsync(): when syncing a device node call spec_fsync() to clean the layer node before descending to the lower file

CVS commit: src/sys/kern

2011-07-03 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Jul 3 15:25:09 UTC 2011 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Return EINVAL when trying to create a device node with rdev == VNOVAL. Fixes PR #45111 tmpfs panic with mknod(2). To generate a diff of

CVS commit: src/sys/ufs/ffs

2011-07-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Jul 1 14:28:22 UTC 2011 Modified Files: src/sys/ufs/ffs: ffs_snapshot.c Log Message: ffs_copyonwrite(): If the write is to the in-file-system journal there is no need to lock and check the snapshots. To generate a

CVS commit: src/sys/dev

2011-06-29 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Jun 29 09:12:42 UTC 2011 Modified Files: src/sys/dev: vnd.c vndvar.h Log Message: Make vnd(4) work on sparse files: - Make the strategy decision a device flag and set VNF_USE_VN_RDWR for files known to be sparse. - Change

CVS commit: src/sys/uvm

2011-06-29 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Jun 29 19:51:12 UTC 2011 Modified Files: src/sys/uvm: uvm_bio.c Log Message: Remove dead uvm_vnp_zerorange() after bump to 5.99.54. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/uvm/uvm_bio.c

CVS commit: src/sys/uvm

2011-06-27 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Jun 27 15:56:37 UTC 2011 Modified Files: src/sys/uvm: uvm_amap.c Log Message: amap_copy(): Keep the source amap locked until its lock has been copied. Kernel assertion anon-an_lock == amap-am_lock no longer fails. Ok:

CVS commit: src/sys/dev/i2c

2011-06-21 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Jun 21 12:38:28 UTC 2011 Modified Files: src/sys/dev/i2c: ibmhawk.c Log Message: Make sure sensor state is valid before calling sysmon_envsys_sensor_attach(). Ok: Paul Goyette pgoye...@netbsd.org To generate a diff of

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

2011-06-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Jun 19 11:22:42 UTC 2011 Modified Files: src/sys/rump/librump/rumpvfs: vm_vfs.c Log Message: Add a noop wrapper for ubc_purge() to make file system tests work again. Not really sure if this is the right way -- Antti? To

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

2011-06-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Jun 19 18:28:24 UTC 2011 Modified Files: src/sys/rump/librump/rumpvfs: vm_vfs.c Log Message: Revert previous. ubc_purge() is already defined in rumpkern/vm.c To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

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

2011-06-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Jun 19 18:29:25 UTC 2011 Modified Files: src/sys/rump/librump/rumpkern: vm.c Log Message: Make ubc_purge() a noop. To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 src/sys/rump/librump/rumpkern/vm.c Please

CVS commit: src/sys/uvm

2011-06-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Jun 17 09:50:52 UTC 2011 Modified Files: src/sys/uvm: uvm_bio.c Log Message: When ubc_alloc() reuses a cached mapping window remove the object from the lists AFTER clearing its mapping. Removes a race where

CVS commit: src/sys

2011-06-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Jun 16 09:21:04 UTC 2011 Modified Files: src/sys/fs/msdosfs: msdosfs_denode.c msdosfs_vnops.c src/sys/fs/tmpfs: tmpfs_subr.c src/sys/fs/udf: udf_allocation.c src/sys/rump/librump/rumpvfs: vm_vfs.c

CVS commit: src/sys/ufs/ffs

2011-05-08 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun May 8 18:37:15 UTC 2011 Modified Files: src/sys/ufs/ffs: ffs_snapshot.c Log Message: Revert previous commit. Locking the snapshot vnode while the file system is suspended extends the suspension until the vnode gets

CVS commit: src/sys/ufs/ufs

2011-04-30 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Apr 30 14:24:27 UTC 2011 Modified Files: src/sys/ufs/ufs: ufs_vnops.c Log Message: ufs_mknod: change vnode type to VNON before it gets unlocked. Closes a small window where the vnode could have type VCHR but op vector

CVS commit: src/sys/ufs/ffs

2011-04-27 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Apr 27 07:24:53 UTC 2011 Modified Files: src/sys/ufs/ffs: ffs_extern.h ffs_vfsops.c ffs_vnops.c Log Message: Cleanup ffs fsync and make devices on wapbl enabled file systems work here: - Replace the ugly sync loop in

CVS commit: src/sys/sys

2011-04-27 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Apr 27 09:47:25 UTC 2011 Modified Files: src/sys/sys: buf.h Log Message: Remove no longer needed flag BC_SCANNED /* Block already pushed during sync */. To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116

CVS commit: src/sys/dev/scsipi

2011-04-26 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Apr 26 07:41:18 UTC 2011 Modified Files: src/sys/dev/scsipi: scsiconf.c Log Message: Fixup previous. The bug was in scsibusdetach(), which is not doing things in the proper order: it has to detach its children and check for

CVS commit: src

2011-04-26 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Apr 26 11:32:40 UTC 2011 Modified Files: src/share/man/man9: vnode.9 src/sys/fs/msdosfs: msdosfs_vnops.c src/sys/fs/ntfs: ntfs_vnops.c src/sys/fs/sysvbfs: sysvbfs_vnops.c src/sys/fs/udf:

CVS commit: src/sys/dev/scsipi

2011-04-25 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Apr 25 14:14:22 UTC 2011 Modified Files: src/sys/dev/scsipi: scsiconf.c Log Message: Don't kill outstanding requests when detaching a scsibus on shutdown. Both the controller and tyhe targets are still running. To generate

CVS commit: src/sys/ufs/ffs

2011-04-23 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Apr 23 07:36:02 UTC 2011 Modified Files: src/sys/ufs/ffs: ffs_balloc.c Log Message: Try to keep snapshot indirect blocks contiguous. This speeds up snapshot creation by a factor of ~3 and reduces the file system suspension

CVS commit: src/sys/ufs/ffs

2011-04-23 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Apr 23 08:23:52 UTC 2011 Modified Files: src/sys/ufs/ffs: ffs_snapshot.c Log Message: ffs_snapshot(): return an error if the node is an invalid snapshot. To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113

CVS commit: src/sys/ufs/ffs

2011-04-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Apr 18 07:36:14 UTC 2011 Modified Files: src/sys/ufs/ffs: ffs_snapshot.c Log Message: Preallocate all cylinder group blocks so we no longer redo ~50% of the cylinder groups while the file system is suspended. This was

<    1   2   3   4   5   6   7   >