[fedfs-utils] [PATCH 0/7] Seven more for fedfs-utils 0.8

Chuck Lever chuck.lever at oracle.com
Wed Jan 4 13:06:10 PST 2012


Here's where the meat of 0.8 begins.

In this series, I introduce all the pre-requisites for the new
junction features in 0.8.  This introduces a non-compatible change
with previous versions of fedfs-utils: the contents of junctions are
now stored in one xattr instead of three, and the content is of that
xattr is now XML instead of raw text.

The XML is simple enough for humans to read and edit, and it allows us
to store a great deal of information in junctions.  For example, if
there ever should be yet another NFS FS locations format, or a new
type of junction for NFS, XML can accomodate that easily.

Another key patch here converts all the internal static libraries to
shared libraries.  This is needed for the junction resolution plug-in,
which will be introduced in the next patch set.

Review period ends EOB Wednesday, January 11, 2012.

---

Chuck Lever (7):
      libjunction: Add support for nfs-basic junctions
      libjunction: Store junctions in XML format
      libjunction: Don't treat opaque byte array as NUL-terminated
      libjunction: Factor FedFS-specific code into a separate file
      libjunction: Introduce new APIs for creating and deleting FedFS junctions
      fedfsd: Flush kernel's exports cache after junction operations
      Makefile: Enable building shared libraries


 .gitignore                          |    3 
 configure.ac                        |    5 
 src/fedfsc/Makefile.am              |   17 
 src/fedfsd/Makefile.am              |   17 
 src/fedfsd/svc.c                    |   33 -
 src/include/junction.h              |   84 ++
 src/libadmin/Makefile.am            |    6 
 src/libjunction/Makefile.am         |   16 
 src/libjunction/export-cache.c      |  121 +++
 src/libjunction/fedfs.c             |  671 ++++++++++++++
 src/libjunction/junction-internal.h |  118 ++
 src/libjunction/junction.c          |  449 +++------
 src/libjunction/locations.c         |  131 +++
 src/libjunction/nfs.c               | 1681 +++++++++++++++++++++++++++++++++++
 src/libjunction/xml.c               |  397 ++++++++
 src/libnsdb/Makefile.am             |   11 
 src/libparser/Makefile.am           |   10 
 src/libsi/Makefile.am               |   10 
 src/libxlog/Makefile.am             |   10 
 src/mount/Makefile.am               |   11 
 src/nsdbc/Makefile.am               |   15 
 src/nsdbparams/Makefile.am          |   15 
 src/resolve-junction/Makefile.am    |   17 
 23 files changed, 3429 insertions(+), 419 deletions(-)
 create mode 100644 src/libjunction/export-cache.c
 create mode 100644 src/libjunction/fedfs.c
 create mode 100644 src/libjunction/junction-internal.h
 create mode 100644 src/libjunction/locations.c
 create mode 100644 src/libjunction/nfs.c
 create mode 100644 src/libjunction/xml.c

-- 
Signature



More information about the fedfs-utils-devel mailing list