On Tue, Oct 08, 2013 at 04:16:23PM +0200, David Sterba wrote:
> On Tue, Oct 08, 2013 at 06:19:30PM +0800, Liu Bo wrote:
> > We can't defrag the extent root without deadlock.
> 
> Deadlock under what circumstance? Eg. with snapshot aware defag turned
> on or extent tree cannot be safely defragmented at all?

Hmm, my assumption is based on the comments in btrfs_defrag_leaves(),

Quoting,
"there's recursion here right now in the tree locking, we can't defrag the
extent root without deadlock."

But I just made a quick test, defragment on extent root seems to be good.

I need to dig this more, thanks for pointing out that, Dave.

-liubo
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to