2007-09-28 20:36:24

by Chuck Lever

[permalink] [raw]
Subject: [PATCH 0/8] Refresh: Add string option parsing facility to mount.nfs

Refresh of series that adds string option parsing to text-based mount.nfs.

I found that it is necessary to do some rather advanced lexical parsing of
the mount option string in order to handle version/protocol fallback. So I've
implemented a data structure that can handle the parsing requirements, and
some wrapper logic to convert the mount option string to the new data
structure and then convert it back to a string before calling mount(2).

This series introduces the new facility and makes use of it for existing text-
based mount option processing (like adding "addr=" and so on). In subsequent
patches I will make more use of the new facility.

This refresh also introduces a string tokenization facility that can handle
quoted commas, so we can deal properly with 'context="foo,bar"'. Note that a
kernel patch will also be required for the NFS client to handle quoted commas
in the value part of NFS mount options.

--
corporate: <chuck dot lever at oracle dot com>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2007-09-28 22:01:17

by NeilBrown

[permalink] [raw]
Subject: Re: [PATCH 0/8] Refresh: Add string option parsing facility to mount.nfs

On Friday September 28, [email protected] wrote:
> Refresh of series that adds string option parsing to text-based mount.nfs.

Thanks. They are applied.

I guess we are close to a 1.1.1 release now? I'm away for a week but
we can maybe do that when I get back?

NeilBrown

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2007-09-29 09:52:11

by Steinar H. Gunderson

[permalink] [raw]
Subject: Re: [PATCH 0/8] Refresh: Add string option parsing facility to mount.nfs

On Sat, Sep 29, 2007 at 08:00:58AM +1000, Neil Brown wrote:
> I guess we are close to a 1.1.1 release now? I'm away for a week but
> we can maybe do that when I get back?

I'll push out a new git release to Debian unstable later today. Experience
has shown that it's a good way to find obscure bugs :-)

/* Steinar */
--
Homepage: http://www.sesse.net/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs