Re: [OpenZFS Developer] rt->rt_space is not zero. range_tree.c:153

2015-08-27 Thread George Wilson
Jorgen, Since you're unloading the pool, there should not be any new allocations or frees happening. This is actually prevented by the call to txg_sync_stop() from spa_unload(). Here it should perform the final txg_wait_synced() to clear out all the ms_freetrees and stop the sync thread. You coul

Re: [OpenZFS Developer] rt->rt_space is not zero. range_tree.c:153

2015-08-27 Thread Jorgen Lundman
Can you provide some details about the stack trace when you hit this failure. All of the ms_freetrees should be empty by the time you can range_tree_destroy(). So to debug this we need to understand the calling stack to determine why that isn't happening. The stack at the moment of the VERIFY0

Re: [OpenZFS Developer] Review Request 229: account for ashift when choosing buffers to be written to l2arc device

2015-08-27 Thread Steven Hartland
--- This is an automatically generated e-mail. To reply, visit: https://reviews.csiden.org/r/229/#review765 --- Ship it! Ship It! - Steven Hartland On June 25, 2015, 12:34 p.m., An