NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/59885 CVS commit: src/sys/kern



The following reply was made to PR kern/59885; it has been noted by GNATS.

From: "YAMAMOTO Takashi" <yamt%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/59885 CVS commit: src/sys/kern
Date: Sun, 22 Mar 2026 13:03:26 +0000

 Module Name:	src
 Committed By:	yamt
 Date:		Sun Mar 22 13:03:26 UTC 2026
 
 Modified Files:
 	src/sys/kern: vfs_mount.c
 
 Log Message:
 dounmount/vfs_insmntque: allow vcache_get during VFS_UNMOUNT
 
 we currently have assertions to prevent file systems from
 populating its vnode cache during VFS_UNMOUNT. this commit
 relaxes the assertions a bit to allow vcache_get during
 VFS_UNMOUNT. although VFS_UNMOUNT should still eventually
 drain the vnode cache for the mount, this commit allows it
 to populate its vnode cache temporarily.
 
 this is for zfs, which sometimes need to access znode when
 committing the log. (zfs_get_data)  a forthcoming zfs change
 will depend on this change.
 
 PR/59885
 https://gnats.netbsd.org/59885
 discussed on tech-kern.
 https://mail-index.netbsd.org/tech-kern/2026/02/20/msg030817.html
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.110 -r1.111 src/sys/kern/vfs_mount.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 



Home | Main Index | Thread Index | Old Index