Subject: Exports list management, take 4
To: None <tech-kern@netbsd.org>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-kern
Date: 09/21/2005 23:03:17
Hi; it's me again ;-)

I have updated the patch with all the suggestions from the last review:

    ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/export.diff

The changes from the last patch are:
- It's now complete.  I've fixed all file systems, the mount utilities, the
  fsck utilities and the newfs tool.  A whole release builds fine.
- I've renamed the "vfs features" functionality to "vfs hooks", made it a
  bit more generic (in case we want to use it in the future for other
  stuff) and added a vfs_hooks.9 manual page documenting it.
- There is now a compat_export_args structure used to add padding
  space in the existing mount arguments structures so that old
  userland keeps working.  The comment in mount.h contains more
  information about this issue.  I'm curious to know if this is really wort=
h
  it or not... (if only we had versioned mount arguments structures...).
- mountd_exports_list now takes a dynamically sized vector of entries
  from userland.
- There are no unrelated "improvements" in mountd(8), like cleaning
  the exports lists upon exit.

I would like to commit this on Friday if you don't have further comments.

Thanks to all who have commented so far for your suggestions.  I see
that the patch is now much more clear than the first version :-)

--
Julio M. Merino Vidal <jmmv84@gmail.com>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/