On Fri, Oct 21, 2016 at 05:05:07PM +0800, Wang Xiaoguang wrote: > This issue was found when I tried to delete a heavily reflinked file, > when deleting such files, other transaction operation will not have a > chance to make progress, for example, start_transaction() will blocked > in wait_current_trans(root) for long time, sometimes it even triggers > soft lockups, and the time taken to delete such heavily reflinked file > is also very large, often hundreds of seconds. Using perf top, it reports > that:
> [...] With this patch, it just took about 10~15 seconds to > delte the same file. Great improvement! Patch looks good on a quick skim so I'll add it to next, but proper review is still required. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html