Skip to content

Commit 31c6eb2

Browse files
committed
macOS: Use VNODE_RELOAD in iterate
in the hopes of avoiding ZFS call back in VNOP_INACTIVE
1 parent a5a1b83 commit 31c6eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/os/macos/spl/spl-vnode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ spl_cache_purgevfs_impl(struct vnode *vp, void *arg)
422422
void
423423
spl_cache_purgevfs(mount_t mp)
424424
{
425-
(void) vnode_iterate(mp, 0, spl_cache_purgevfs_impl, NULL);
425+
(void) vnode_iterate(mp, VNODE_RELOAD, spl_cache_purgevfs_impl, NULL);
426426
}
427427

428428
/* Gross hacks - find solutions */

0 commit comments

Comments
 (0)