tested new mutex checking in sanoid snapshot thinning. added sleepymutex tool for future dev use in testing.

This commit is contained in:
Jim Salter 2014-11-17 10:33:51 -05:00
parent 75e7f54128
commit 8fccc6ac6d
1 changed files with 8 additions and 0 deletions

8
sleepymutex Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
# this is just a cheap way to trigger mutex-based checks for process activity.
#
# ie ./sleepymutex zfs receive data/lolz if you want a mutex hanging around as long as necessary that will show up
# to any routine that actively does something like "ps axo | grep 'zfs receive'" or whatever.
sleep 99999