Last active
February 6, 2017 21:31
-
-
Save sjenning/d11c2e67e05cd6654b807fc58175bd81 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "Getting thin_ls runtimes" | |
| for i in $(seq 0 9); do | |
| sleep 15 | |
| dmsetup message /dev/mapper/*--pool 0 reserve_metadata_snap | |
| /usr/bin/time thin_ls --no-headers -m -o DEV,EXCLUSIVE_BYTES /dev/mapper/*_tmeta >/dev/null | |
| dmsetup message /dev/mapper/*--pool 0 release_metadata_snap | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment