All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sunil Mushran <sunil.mushran@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] mount point is not unique among all nodes
Date: Thu, 12 Feb 2009 14:19:03 -0800	[thread overview]
Message-ID: <4994A057.2000606@oracle.com> (raw)
In-Reply-To: <499481EF.40609@suse.de>

The bug refers to a heartbeat2 issue.

So your qs is: Mount a ocfs2 vol on two nodes, A & B. Then on
node A, create a directory on the ocfs2 vol and then mount a
local filesystem on that dir. Then remove that dir on node B.

While I have not tested this, it will be a problem. We are relying
on vfs_rmdir() to call d_mountpoint(dentry) to nak the unlink.
But it is obviously not cluster-aware.

File a bugzilla. We'll have to think about a solution.

Coly Li wrote:
> Hi list,
>
> Here is a bug report on novell bugzilla (https://bugzilla.novell.com/show_bug.cgi?id=456280) that
> mount point inside node A can be removed from node B.
>
> The problem is, node B does not know an empty dir is be using as mount point on another node. Is
> there any solution to return -EBUSY when a dir is be using as mount point on another node ?
>
> Thanks in advance.
>   

      parent reply	other threads:[~2009-02-12 22:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-12 20:09 [Ocfs2-devel] mount point is not unique among all nodes Coly Li
2009-02-12 22:17 ` Joel Becker
2009-02-12 22:43   ` Joel Becker
2009-02-13  6:24     ` Coly Li
2009-02-12 22:19 ` Sunil Mushran [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4994A057.2000606@oracle.com \
    --to=sunil.mushran@oracle.com \
    --cc=ocfs2-devel@oss.oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.