You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new `ZPOOL_LOCK_BEHAVIOR` envvar to control `zpool status` lock
behavior. `ZPOOL_LOCK_BEHAVIOR` can have one of these values:
"lockless": Try for a short amount of time to get the spa_namespace
lock. If that doesn't work, then do the zpool status locklessly. This
is dangerous and can crash your system if the pools configs are being
modified while zpool status is running. This setting requires `zpool
status` to be run as root.
"trylock": Try for a short amount of time to get the spa_namespace
lock. If that doesn't work then simply abort 'zpool status'.
"wait": Wait forever for the lock. This is the default.
These options allow users to view the zpool status when the pool
gets stuck while holding the spa_namespace lock.
Signed-off-by: Tony Hutter <[email protected]>
0 commit comments