CVS commit: src/sys/kern
"YAMAMOTO Takashi" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
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.