Post by George Wilson via illumos-zfsDan,
During this time did you see reads to the pool taking place? It's possible that all the time is being spent in dbuf_free_range() but some zfs kernel stacks from the time of the hang would be very helpful.
Knut encountered the problem (and it's dinnertime in Norway right now), so he can speak to it more. I asked him about ability to read as well. He said he could "ls" a directory, but wouldn't that just be ARC cached anyway?
Dan
Either iostat or zpool iostat would be useful.
He did mail me zpool iostat...
***@ruge:/# zpool iostat storage0 1
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
storage0 146T 180T 439 6.12K 3.26M 82.4M
storage0 146T 180T 88 0 534K 0
storage0 146T 180T 63 0 387K 0
storage0 146T 180T 49 0 301K 0
storage0 146T 180T 81 0 492K 0
storage0 146T 180T 84 0 510K 0
[… Like this for approx 20 mins…]
storage0 146T 180T 87 0 526K 0
storage0 146T 180T 42 0 262K 0
storage0 146T 180T 5 18.3K 37.3K 146M
storage0 146T 180T 0 58.2K 0 463M
storage0 146T 180T 0 58.1K 0 463M
storage0 146T 180T 0 57.8K 0 458M
storage0 146T 180T 0 57.9K 0 462M
storage0 146T 180T 0 58.0K 0 459M
storage0 146T 180T 0 60.4K 0 481M
storage0 146T 180T 55 8.09K 187K 86.5M
storage0 146T 180T 1.16K 34.6K 3.41M 262M
storage0 146T 180T 0 59.5K 0 473M
storage0 146T 180T 35 41.3K 67.7K 326M
storage0 146T 180T 443 1.50K 796K 10.2M
storage0 146T 180T 3.89K 96 2.57M 5.01M
storage0 145T 182T 19.3K 3.21K 9.72M 23.0M
storage0 144T 182T 24.0K 5 12.3M 167K
storage0 144T 182T 25.7K 60 14.6M 4.31M
storage0 144T 182T 28.5K 58 14.8M 4.16M
storage0 144T 182T 23.1K 65 15.8M 4.26M
storage0 144T 182T 13.4K 3.23K 7.79M 21.1M
storage0 144T 182T 15.3K 445 8.36M 33.4M
storage0 144T 182T 20.4K 9.11K 10.3M 98.0M
storage0 144T 182T 16.0K 1.06K 8.04M 23.4M
storage0 144T 182T 8.95K 180 4.52M 13.4M
storage0 144T 182T 5.66K 9.11K 2.86M 98.2M
storage0 144T 182T 5.69K 1.22K 2.88M 36.0M
storage0 144T 182T 8.80K 167 4.44M 12.2M
storage0 144T 182T 11.6K 8.83K 5.82M 86.1M
storage0 144T 182T 2.33K 54 1.18M 3.30M
storage0 144T 182T 0 11 0 95.5K
storage0 144T 182T 0 0 0 0
storage0 144T 182T 545 0 4.18M 0
storage0 144T 182T 228 1.92K 1.68M 10.7M
storage0 144T 182T 0 1 0 43.8K
storage0 144T 182T 0 57 0 1.05M
storage0 144T 182T 0 33 0 633K
storage0 144T 182T 0 21 0 434K
storage0 144T 182T 0 1.25K 2.49K 3.69M
storage0 144T 182T 0 0 0 7.95K
storage0 144T 182T 0 10 0 167K
storage0 144T 182T 0 0 0 0
storage0 144T 182T 0 0 0 0
storage0 144T 182T 0 814 2.49K 2.42M
storage0 144T 182T 0 299 2.49K 22.3M
storage0 144T 182T 0 431 0 33.0M
storage0 144T 182T 0 1.34K 0 19.3M
storage0 144T 182T 0 7.59K 0 78.6M
storage0 144T 182T 0 433 0 33.0M
Dan