linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Jeff Layton <jlayton@redhat.com>
Cc: Steve French <smfrench@gmail.com>,
	linux-cifs-client@lists.samba.org,
	samba-technical@lists.samba.org, linux-fsdevel@vger.kernel.org
Subject: Re: [linux-cifs-client] Re: mount options for selectively disabling parts of CIFS Unix Extensions
Date: Tue, 17 Jul 2007 14:49:29 -0400	[thread overview]
Message-ID: <1184698169.19637.19.camel@heimdal.trondhjem.org> (raw)
In-Reply-To: <20070717075714.78af7b69.jlayton@redhat.com>

On Tue, 2007-07-17 at 07:57 -0400, Jeff Layton wrote:
> NFS has just gone through a not too dissimilar situation (mounting the
> same export twice with different options). It now fails with -EBUSY in
> that situation. A new mount option was also introduced (nosharedcache)
> that makes it fall back on the previous behavior (not sharing
> superblocks between mounts of the same export).

Well... The NFS situation was different. NFS has always supported
different mount options for different filesystems. What we were having
issues with was that people were asking to mount the _same_ filesystem
in different places with different mount options.

In CIFS parlance, the equivalent would be to mount \\SERVER\SHAREA\foo
and \\SERVER\SHAREA\bar with different mount options: I'm not sure that
is really what Steve is proposing.

Anyhow, the issue with that is you have to deal with potentially caching
the same file on two different super blocks if, say foo/a and bar/b
happen to be hard linked. We punted on dealing with the dragons hidden
in that sort of issue by requiring that users mount with nosharedcache
if and only if they know that this is safe.

Cheers
  Trond


  reply	other threads:[~2007-07-17 18:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-16 22:40 mount options for selectively disabling parts of CIFS Unix Extensions Steve French
2007-07-16 23:11 ` Steve French
2007-07-17 11:30   ` Jan Engelhardt
2007-07-17 11:57   ` [linux-cifs-client] " Jeff Layton
2007-07-17 18:49     ` Trond Myklebust [this message]
2007-07-17 22:09       ` Steve French
2007-07-18  2:17         ` Trond Myklebust
2007-07-17 12:49 ` J. Bruce Fields
2007-07-17 14:13   ` Steve French

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=1184698169.19637.19.camel@heimdal.trondhjem.org \
    --to=trond.myklebust@fys.uio.no \
    --cc=jlayton@redhat.com \
    --cc=linux-cifs-client@lists.samba.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=samba-technical@lists.samba.org \
    --cc=smfrench@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).