[Ocfs2-devel] [PATCH 1/2 v2] ocfs2: fix race between dio and recover orphan
Joseph Qi
joseph.qi at huawei.com
Sun Jul 12 17:54:28 PDT 2015
On 2015/7/12 18:10, Zhen Ren wrote:
> Hi Joseph,
>
> The following added lines are same as the deleted. Is it because the unnecessary trailing whitespaces?
>
> - level = ocfs2_iocb_rw_locked_level(iocb);
> - ocfs2_rw_unlock(inode, level);
> + level = ocfs2_iocb_rw_locked_level(iocb);
> + ocfs2_rw_unlock(inode, level);
>
No, I want rw unlock to be done later in case of append direct io. This
is for preventing the described race case.
> --
> Eric
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/ocfs2-devel
>
>
>
>
More information about the Ocfs2-devel
mailing list