Move externs and functions down hierarchy to fsal.h

+ op_ctx and functions from fsal_types.h
  - root_op_export_options, should be extern!
  - root_op_export_set, should be extern!
+ fsal management functions from fsal_api.h
+ stray pnfs_fsal[FSAL_ID_COUNT] array from fsal_pnfs.h
  - should be extern!

* Move req_op_context from fsal_types.h to fsal_api.h
  (down hierarchy where used by functions).
+ append fsal_module *fsal_module for future ds-only use.

* Remove sal_data.h (and others) from fsal_up.h
+ move local use definitions to fsal_up_top.c,
  fixing circular dependency!

* Update a few includes matching these changes
+ inexplicably missing include <pthread> in common_utils.h
+ missing include common_utils.h in FSAL/commonlib.c
+ missing include common_utils.h in FSAL/FSAL_VFS/xattrs.c
+ wrong fsal_types.h should be ganesha_types.h (or ganesha_rpc.h)
  in gsh_config.h

Signed-off-by: William Allen Simpson <bill@cohortfs.com>
Acked-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>

m

Signed-off-by: William Allen Simpson <bill@cohortfs.com>
Restructure hierarchy of nfs_* headers.

* nfs_core.h is primarily called directly from .c
- definitions formerly dependent on nfs_proto_functions.h
  and nfs_exports.h moved up the hierarchy to compound_data.h,
  fixing circular dependency!

* nfs_exports.h is now only called from .c
- Compound data structs moved up the hierarchy to compound_data.h

* nfs_proto_functions.h is now only called from .c
- Typedefs and structs moved up the hierarchy to compound_data.h

Coordinated changes with previous reorganizing of fsal.h, etc.

Repaired various instances of headers without proper includes;
these merely have worked by serendipitous order in .c files.

mount.h was autogenerated, and requires several headers to compile;
rather than scattered through the code (found some mistakes),
use existing nfs23.h via compound_data.h (as .c files are updated).

Updated numerous .c files missing the correct includes.

Signed-off-by: William Allen Simpson <bill@cohortfs.com>
Reorganize fsal_api.h

!  minor version not incremented per Frank.  He will update.

* Divide pNFS DS (servers) from DS handles (files/objects).
+ allows more than one handle per server.
+ allows more than one server per export.
+ disentangle vectors from export (for ds-only).

* structures follow function (operations) definitions.
+ vectors now have prefixes (m_ops, exp_ops, obj_ops).
+ vectors now included in structure allocations:
++ removing unnecessary alloc & frees.
++ speeding every operation call (by one pointer).
++ reducing register pressure (fewer pointers).

Signed-off-by: William Allen Simpson <bill@cohortfs.com>
Configure pNSF DS block

Signed-off-by: William Allen Simpson <bill@cohortfs.com>