[Ocfs2-devel] [PATCH] ocfs2: avoid getting dlm lock of the target directory multiple times during reflink process
Joseph Qi
joseph.qi at linux.alibaba.com
Tue Aug 31 00:39:59 PDT 2021
On 8/31/21 2:25 PM, Gang He wrote:
> Hello Joseph and Wengang,
>
> When you have time, please help review this patch.
> About the deadlock problem which was caused by ocfs2_downconvert_lock failure, we have the fix patch, it is very key.
> But I feel this patch is still useful as a optimization patch, the user
> case is to reflink the files to the same directory concurrently, our users usually backup the files(via reflink) from the cluster nodes concurrently(via crontab) every day/hour.
> The current design, during the reflink process, the node will acquire/release dlm lock of the target directory multiple times,
> this is very inefficient in concurrently reflink.
>
Sure, I'll spend some time this week.
Thanks,
Joseph
More information about the Ocfs2-devel
mailing list