mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Elliot Lee <sopwith@redhat.com>
To: "David S. Miller" <davem@redhat.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: knfsd and FS_REQUIRES_DEV
Date: Tue, 11 Dec 2001 19:45:56 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.33.0112111922100.541-100000@devserv.devel.redhat.com> (raw)
In-Reply-To: <20011211.162011.21927662.davem@redhat.com>

On Tue, 11 Dec 2001, David S. Miller wrote:

>    From: Elliot Lee <sopwith@redhat.com>
>    Date: Tue, 11 Dec 2001 19:13:48 -0500 (EST)
> 
>    I'm looking for information on knfsd's requirement that a filesystem be
>    FS_REQUIRES_DEV in order to export it. Would someone point me in the right
>    direction?
>    
>    Needing to implement some not-quite-kosher exports,
> 
> NFSD puts dev/ino into the filehandles it gives to the
> client, it uses this to lookup the inode in question.

I believe you're bringing up a requirement that inode numbers not change
while the filesystem is being exported, in order to avoid constant "stale
file handle" type of things. I can provide that guarantee (userland
filesystem via coda), but knfsd won't let me get that far because of its
more conservative policies right now.

I'm not worried about problems where files mysteriously disappear due to
me screwing up inode numbers in my code, only about causing kernel panics
or other Bad Things in the server's kernel. If I were to remove the
FS_REQUIRES_DEV check (or, more likely, submit a patch adding an nfsd
module option to remove the check...), what are the worst things that
could theoretically and realistically happen?

-- Elliot



  reply	other threads:[~2001-12-12  0:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-12  0:13 Elliot Lee
2001-12-12  0:20 ` David S. Miller
2001-12-12  0:45   ` Elliot Lee [this message]
2001-12-12  1:21     ` Neil Brown
2001-12-12  0:46   ` Linus Torvalds
2001-12-12  2:15     ` Trond Myklebust

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=Pine.LNX.4.33.0112111922100.541-100000@devserv.devel.redhat.com \
    --to=sopwith@redhat.com \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®