All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Two more fixes for mount.nfs
@ 2010-09-13 17:17 Chuck Lever
  2010-09-13 17:17 ` [PATCH 1/2] mount.nfs: Refactor mount version and protocol autonegotiation Chuck Lever
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Chuck Lever @ 2010-09-13 17:17 UTC (permalink / raw)
  To: steved; +Cc: linux-nfs

Here are a couple of bug fixes for mount.nfs.

The second patch in this series makes remount work again, but there is
a lingering problem with it (and maybe some other corner cases, not
related to "remount"). 

It turns out that "remount" mounts (even legacy remount, AFAICT) have
always completely wiped the mount options in /etc/mtab, and replaced
them with "remount,foo".  This breaks umount.nfs, which relies on
the contents of /etc/mtab to know how to perform the unmount request.

I'm working on a solution, but it will still be some time.  I felt
that the remount fix here was important enough to send now.

---

Chuck Lever (2):
      mount.nfs: Don't do anything fancy if this is a remount
      mount.nfs: Refactor mount version and protocol autonegotiation


 utils/mount/stropts.c |   95 ++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 81 insertions(+), 14 deletions(-)

-- 
Chuck Lever

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH 0/2] Improvements to mount's autonegotiation
@ 2010-08-31 19:11 Chuck Lever
  2010-08-31 19:11 ` [PATCH 1/2] mount.nfs: Refactor mount version and protocol autonegotiation Chuck Lever
  0 siblings, 1 reply; 7+ messages in thread
From: Chuck Lever @ 2010-08-31 19:11 UTC (permalink / raw)
  To: neilb; +Cc: linux-nfs

Hi Neil-

While reviewing your proposed patch, a couple of ideas occurred to me
that might be helpful.  Compile-tested only.  Let me know what you
think.

---

Chuck Lever (2):
      mount.nfs: Don't try NFSv4 if UDP was requested
      mount.nfs: Refactor mount version and protocol autonegotiation


 utils/mount/stropts.c |   72 +++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 57 insertions(+), 15 deletions(-)

-- 
Chuck Lever

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-09-16 12:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-13 17:17 [PATCH 0/2] Two more fixes for mount.nfs Chuck Lever
2010-09-13 17:17 ` [PATCH 1/2] mount.nfs: Refactor mount version and protocol autonegotiation Chuck Lever
     [not found]   ` <20100913171736.18926.97496.stgit-x+BlCsqV7M/wdl/1UfZZQIVfYA8g3rJ/@public.gmane.org>
2010-09-13 17:51     ` J. Bruce Fields
2010-09-13 17:17 ` [PATCH 2/2] mount.nfs: Don't do anything fancy if this is a remount Chuck Lever
     [not found] ` <20100913171100.18926.77712.stgit-x+BlCsqV7M/wdl/1UfZZQIVfYA8g3rJ/@public.gmane.org>
2010-09-14 19:49   ` [PATCH 0/2] Two more fixes for mount.nfs Jeff Layton
2010-09-16 12:00   ` Steve Dickson
  -- strict thread matches above, loose matches on Subject: below --
2010-08-31 19:11 [PATCH 0/2] Improvements to mount's autonegotiation Chuck Lever
2010-08-31 19:11 ` [PATCH 1/2] mount.nfs: Refactor mount version and protocol autonegotiation Chuck Lever

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.