Enable delegations.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Check callback state during setclientid_confirm

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Changes related to delegations and delegation recalls.
  Delegate only if callback path is up.
  Do not recall if the path status is down, wait for next renew to tell
  the client about path state.
  Mark the path down if recall callback fails.
  renew will return NFS4ERR_CB_PATH_DOWN if the path state is down.
  callback path is established only during setclientid_confirm.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Added new data structs, prototypes, and delegation functions.

Signed-off-by: Jeremy Bongio <jbongio@us.ibm.com>
Add code to state_lock() to update stats.

Signed-off-by: Jeremy Bongio <jbongio@us.ibm.com>
Initialize delegation stats when creating new inode entry.

Signed-off-by: Jeremy Bongio <jbongio@us.ibm.com>
Add statfs support for any directory below the mount point.
Add an option to let the FSAL handle reclaims during grace period.
Add support for delegation conflict detection when adding new state entry.

Signed-off-by: Jeremy Bongio <jbongio@us.ibm.com>
Add delegation state removal and stats update in delegreturn.

Signed-off-by: Jeremy Bongio <jbongio@us.ibm.com>
Add support for removing delegation state during unlock.

Signed-off-by: Jeremy Bongio <jbongio@us.ibm.com>
Fix search for delegations in delegreturn. Fix second arg to state_del.

Signed-off-by: Jeremy Bongio <jbongio@us.ibm.com>
Fix owner added to delegation lock entries. Fix delegation stateid/seqid.

Signed-off-by: Jeremy Bongio <jbongio@us.ibm.com>
GPFS_FSAL Set exec flag on close.
pass correct buffer size to getpwnam and getpwuid

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Add CONF_*_TOKEN macros for scalar enum processing

log components needs array indexing too

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Replace use of tab_log_flag array with logfields struct

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

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Add new log facility api

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Add new config infrastructure to log_functions.c

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