Skip to content

Instantly share code, notes, and snippets.

@lundman
Created April 3, 2014 09:52
Show Gist options
  • Save lundman/9951694 to your computer and use it in GitHub Desktop.
Save lundman/9951694 to your computer and use it in GitHub Desktop.
diff --git a/module/zfs/zfs_znode.c b/module/zfs/zfs_znode.c
index c8065a7..412ad2e 100644
--- a/module/zfs/zfs_znode.c
+++ b/module/zfs/zfs_znode.c
@@ -1329,6 +1329,11 @@ again:
ZFS_OBJ_HOLD_EXIT(zfsvfs, obj_num);
getnewvnode_drop_reserve();
+ printf("Waiting on zp %p to die!\n", zp);
+ delay(hz>>1);
+ goto again;
+
+
/* remove zp from reclaim list now */
mutex_enter(&zfsvfs->z_reclaim_list_lock);
if (zp->z_reclaimed) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment