Make token_to_proc visible

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Integrate management of exportlist with export manager

Finish integration of export entry which is already embedded
in the gsh_export.

* Add state member to control initialization and removal

* remove redundant export_id from gsh_export and use export.id

* Add path, pseudo, and tag search functions with proper locking

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix nfs4_SetCompoundExport to use export.id

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Update BuildExportEntry to work with export manager

export list is now managed as part of gsh_export.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Rewrite pseudo fs builder to use new safe export manager functions

foreach_gsh_export is the safe way to traverse the export list now.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Rework NFS protocol functions to use save export lookup by path/tag

Note that proper usage also requires a 'put' of the export reference.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Rewrite mnt_Export.c to use safe export scan function.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Update 9P protocol ops to use safe export lookup.

attach and auth pack away a reference to the export in the fid.
This is ref counted so clunk must put it back when it frees the fid
and auth must check for an old export and free it if necessary.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove old, unsafe export scan/lookup functions.

Also, the export list is now completely private to the export manager.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Make a credible opctx for the lock reaper.

For now, at least have good creds.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove FSAL_POSIX and NodeDB

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Fix libcap test

Check for cap_set_proc(2)

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Remove HudsonCI script from autoconf days

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Remove Fuselike FSAL

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Trace cleanup.
Bump tirpc to Fix mount bug on NFSv4.1

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Remove libcap test for now

Until we have a cross-platform test that works properly.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Update ntirpc submodule.

Take rpcb_find_mapped_addr.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Merge remote-tracking branch 'sachin/next' into merge_next

Conflicts:
	src/CMakeLists.txt

Kept commented out of libcap test rather than ifdef LINUX
because it still doesn't work right cross-platform

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'marc/dev41-trace-cleanup' into merge_next

Signed-off-by: Jim Lieb <jlieb@panasas.com>