All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] [QUESTION] deadlock during umount and quota recovery
@ 2019-11-28  7:33 piaojun
  2019-11-28  9:05 ` Changwei Ge
  0 siblings, 1 reply; 3+ messages in thread
From: piaojun @ 2019-11-28  7:33 UTC (permalink / raw)
  To: ocfs2-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Ocfs2-devel] [QUESTION] deadlock during umount and quota recovery
  2019-11-28  7:33 [Ocfs2-devel] [QUESTION] deadlock during umount and quota recovery piaojun
@ 2019-11-28  9:05 ` Changwei Ge
  2019-11-28 11:21   ` Jan Kara
  0 siblings, 1 reply; 3+ messages in thread
From: Changwei Ge @ 2019-11-28  9:05 UTC (permalink / raw)
  To: ocfs2-devel

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

On 2019/11/28 3:33 ??, piaojun wrote:
> 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
> 
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/ocfs2-devel
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Ocfs2-devel] [QUESTION] deadlock during umount and quota recovery
  2019-11-28  9:05 ` Changwei Ge
@ 2019-11-28 11:21   ` Jan Kara
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Kara @ 2019-11-28 11:21 UTC (permalink / raw)
  To: ocfs2-devel

On Thu 28-11-19 17:05:58, Changwei Ge wrote:
> 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
> On 2019/11/28 3:33 ??, piaojun wrote:
> > 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
> > 
> > _______________________________________________
> > Ocfs2-devel mailing list
> > Ocfs2-devel at oss.oracle.com
> > https://oss.oracle.com/mailman/listinfo/ocfs2-devel
> > 
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-28 11:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-28  7:33 [Ocfs2-devel] [QUESTION] deadlock during umount and quota recovery piaojun
2019-11-28  9:05 ` Changwei Ge
2019-11-28 11:21   ` Jan Kara

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.