[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ocfs2-devel
Subject:    Re: [Ocfs2-devel] A question on OCFS2 mount
From:       Gechangwei <ge.changwei () h3c ! com>
Date:       2016-11-21 5:55:50
Message-ID: 63ADC13FD55D6546B7DECE290D39E37342E5C04E () H3CMLB12-EX ! srv ! huawei-3com ! com
[Download RAW message or body]

On 2016/11/21 9:14, Joseph Qi wrote:
> It supports that a device can be mounted multiple times.
> 
> Actually it is a general feature of linux filesystems.
> 
> Thanks,
> 
> Joseph
> 

That's solve my problem.
Many thanks!

> 
> On 16/11/19 16:32, Gechangwei wrote:
> > On 2016Äê08Ô 31ÈÕ 18:59, Gechangwei wrote:
> > > 
> > > Hi,
> > > 
> > > 
> > > 
> > > I am asking for your help on OCFS2 again.
> > > 
> > > 
> > > 
> > > I can¡¯t figure out a segment of code.
> > > 
> > > 
> > > 
> > > In the function dlm_register_domain which is called during mount
> > > procedure, below code stays:
> > > 
> > > 
> > > 
> > > dlm = __dlm_lookup_domain(domain);
> > > 
> > > if (dlm) {
> > > 
> > > if (dlm->dlm_state != DLM_CTXT_JOINED) {
> > > 
> > > spin_unlock(&dlm_domain_lock);
> > > 
> > > 
> > > 
> > > mlog(ML_ERROR, "fence: dlm(%s) is not
> > > joined yet.\n", dlm->name);
> > > 
> > > 
> > > 
> > > mlog(0, "This ctxt is not joined yet!\n");
> > > 
> > > wait_event_interruptible(dlm_domain_events,
> > > 
> > > 
> > > dlm_wait_on_domain_helper(
> > > 
> > > 
> > > domain));
> > > 
> > > goto retry;
> > > 
> > > }
> > > 
> > > 
> > > 
> > > I can see that it wants to look up an existed DLM context object
> > > which matches file system¡¯s UUID.
> > > 
> > > 
> > > 
> > > According to my comprehension, DLM context object must be detached
> > > from the DLM domain¡¯s list and released when dismount.
> > > 
> > > 
> > > 
> > > So it¡¯s weird that such a DLM context object can be found at the
> > > procedure of MOUNT.
> > > 
> > > 
> > > 
> > > Could you please provide a clue for me, if convenient?
> > > 
> > > how are u
> > > 
> > > Many thanks!
> > > 
> > > 
> > > 
> > > BR.
> > > 
> > > 
> > > 
> > > Changwei.
> > > 
> > > 
> > > 
> > > -------------------------------------------------------------------------------------------------------------------------------------
> > >  ±¾Óʼþ¼°Æ丽¼þº¬Óк¼ÖÝ»ªÈýͨÐż¼ÊõÓÐÏÞ¹«Ë¾µÄ±£ÃÜÐÅÏ¢£¬½öÏÞÓÚ·¢Ë͸øÉÏ
> > > ÃæµØÖ·ÖÐÁгö
> > > µÄ¸öÈË»òȺ×é¡£½ûÖ¹ÈκÎÆäËûÈËÒÔÈκÎÐÎʽʹÓ㨰üÀ¨µ«²»ÏÞÓÚÈ«²¿»ò²¿·ÖµØ
> > > й ¶¡¢¸´ÖÆ¡¢
> > > »òÉ¢·¢£©±¾ÓʼþÖеÄÐÅÏ¢¡£Èç¹ûÄú´íÊÕÁ˱¾Óʼþ£¬ÇëÄúÁ¢¼´µç»°»òÓʼþ֪ͨ·¢
> > > ¼þÈ˲¢É¾³ý±¾
> > > Óʼþ£¡
> > > This e-mail and its attachments contain confidential information from
> > > H3C, which is
> > > intended only for the person or entity whose address is listed above.
> > > Any use of the
> > > information contained herein in any way (including, but not limited
> > > to, total or partial
> > > disclosure, reproduction, or dissemination) by persons other than the
> > > intended
> > > recipient(s) is prohibited. If you receive this e-mail in error,
> > > please notify the sender
> > > by phone or email immediately and delete it!
> > 
> > 
> > 
> > _______________________________________________
> > Ocfs2-devel mailing list
> > Ocfs2-devel@oss.oracle.com
> > https://oss.oracle.com/mailman/listinfo/ocfs2-devel
> 

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic