[Ocfs2-devel] [PATCH] ocfs2: fix ocfs2 read inode data panic in ocfs2_iget

sunny.s.zhang sunny.s.zhang at oracle.com
Thu Mar 28 20:24:27 PDT 2019


Hi Joseph,


在 2019年03月29日 10:21, Joseph Qi 写道:
>
> On 19/3/29 09:05, sunny.s.zhang wrote:
>> Hi Gang,  Jiang Qi,  Joseph,
>>
>> Is my description clear?
>> Are there any other suggestions?
>> In addition, it works fine on ext4.
> So this happens when using ocfs2 as NFSv3 backend, right?
> If so, please describe the use case in commit log as well as the
> sequence how it happens.
Thank you very much for the feedback.
OK, I will add it to the commit log.
>
> BTW, since the dinode has been deleted, the block may be used in other
> way. So I don't think we can use "di->i_dtime != 0" to identify this
> case.
Yes, Although the time window is very small, it is strictly possible to 
happen.
I will make a new patch and consider the above question.
Thanks,
Sunny
>
> Thanks,
> Joseph




More information about the Ocfs2-devel mailing list