deadlock during umount and quota recovery
Hi Jan,
Umount will get hang with quota recovery, as sb->s_umount will be held in ocfs2_finish_quota_recovery(). This patch series seem to solve this problem but they have not merged into mainline. So I wonder if they have been tested enough?
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013355.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013358.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013354.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013356.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013359.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013360.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013357.html
Thanks,
Jun
Hi Jun,
For your information, with this patch(21158ca85b73 ("ocfs2: without quota support, avoid calling quota recovery")) applied which was already merged into mainline, given that you are not using disk quota, recovery hang can be workaound.
IIRC, Jan's patches somehow didn't reach completion and might cause side-effect.
Of course, if Jan can finish it, that would be better.
-Changwei
Quoted 23 lines · piaojun
Hi Jan,
Umount will get hang with quota recovery, as
sb->s_umountwill be held inocfs2_finish_quota_recovery(). This patch series seem to solve this problem but they have not merged into mainline. So I wonder if they have been tested enough?https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013355.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013358.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013354.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013356.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013359.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013360.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013357.htmlThanks,
Jun_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel at oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel
Quoted 11 lines · Changwei Ge
Hi Jun,
For your information, with this
patch(21158ca85b73 ("ocfs2: without quota support, avoid calling quota recovery"))applied which was already merged into mainline, given that you are not using disk quota, recovery hang can be workaound.IIRC, Jan's patches somehow didn't reach completion and might cause side-effect.
Of course, if Jan can finish it, that would be better.
Yeah, I'm sorry for that. There were some deadlock issues with my patches if I remember right and I never got to fixing those... I'll try to get back to this.
Honza
Quoted 24 lines · piaojun
Quoted 23 lines
Hi Jan,
Umount will get hang with quota recovery, as
sb->s_umountwill be held inocfs2_finish_quota_recovery(). This patch series seem to solve this problem but they have not merged into mainline. So I wonder if they have been tested enough?https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013355.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013358.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013354.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013356.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013359.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013360.html
https://oss.oracle.com/pipermail/ocfs2-devel/2018-February/013357.htmlThanks,
Jun_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel at oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR