Linux NFS development
 help / color / mirror / Atom feed
From: Chuck Lever <chuck.lever@oracle.com>
To: Neil Brown <neilb@suse.de>
Cc: nfs@lists.sourceforge.net
Subject: Re: [PATCH 12/17] mount.nfs: Change *flags to flags
Date: Mon, 16 Jul 2007 00:03:04 -0400	[thread overview]
Message-ID: <469AEDF8.50304@oracle.com> (raw)
In-Reply-To: <18074.60613.359354.119674@notabene.brown>

[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]

Neil Brown wrote:
> On Sunday July 15, chuck.lever@oracle.com wrote:
>> It's not necessary to treat the *flags parameter to nfsmount and nfs4mount
>> as an output parameter.  Nothing is passed back.  Replace it with a normal
>> call-by-value.
> 
> And, in fact, very little is passed forward.
> nfs4mount doesn't use 'flags' at all... maybe it should?
> nfsmount uses it for one thing - checking in MS_REMOUNT was set.
> So maybe we should change the name to 'remount' and pass down
> 'flags & MS_REMOUNT' ??

The earlier patch to move the mount system call into nfsmount.c will 
need the
whole set of flags.  Likewise for nfs4mount.c.

Note this is also why MS_USER and MS_USERS need to be moved into 
mount_constants.h !  ;-)

> Most of the stuff the nfsmount doesn't do if MS_REMOUNT is talking to
> mountd which obviously is not relevant for NFSv4.  But NFSv4 still
> tries to ping the server... Should that be excluded in MS_REMOUNT is
> set, do you think?

I can take a look at that as a separate clean up.

[-- Attachment #2: chuck.lever.vcf --]
[-- Type: text/x-vcard, Size: 290 bytes --]

begin:vcard
fn:Chuck Lever
n:Lever;Chuck
org:Oracle Corporation;Corporate Architecture: Linux Projects Group
adr:;;1015 Granger Avenue;Ann Arbor;MI;48104;USA
title:Principal Member of Staff
tel;work:+1 248 614 5091
x-mozilla-html:FALSE
url:http://oss.oracle.com/~cel
version:2.1
end:vcard


[-- Attachment #3: Type: text/plain, Size: 286 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- Attachment #4: Type: text/plain, Size: 140 bytes --]

_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

      reply	other threads:[~2007-07-16  4:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-16  3:15 [PATCH 12/17] mount.nfs: Change *flags to flags Chuck Lever
2007-07-16  3:57 ` Neil Brown
2007-07-16  4:03   ` Chuck Lever [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=469AEDF8.50304@oracle.com \
    --to=chuck.lever@oracle.com \
    --cc=neilb@suse.de \
    --cc=nfs@lists.sourceforge.net \
    /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