FSAL_GLUSTER: Taken care of checkpatch errors in the files

  FSAL_GLUSTER/export.c
  FSAL_GLUSTER/gluster_internal.c
  FSAL_GLUSTER/gluster_internal.h

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
FSAL_GLUSTER: cleanedup checkpatch errors for the files
  FSAL_GLUSTER/handle.c
  FSAL_GLUSTER/main.c
Signed-off-by: Meghana Madhusudhan <mmadhusu@redhat.com>
FSAL_GLUSTER: Fixed few checkpatch warnings in the file
        FSAL_GLUSTER/gluster_internal.c

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Put claim delegation checks in a separate function

Take claim delegation checks from nfs4_op_open(), and create a new
function open4_claim_deleg(). No functional change.

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Reviewed-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Trivial changes in open4_claim_deleg()

Removed utfname validation checks as nfs4_utf8string2dynamic does the
same. glist_entry() never returns NULL, so removed that check!

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Reviewed-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Fix a logDebug accessing incorrect utf8string with CLAIM_DELEGATE_PREV

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Reviewed-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Fail requests with bad stateid in CLAIM_DELEGATE_CUR claim type

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Reviewed-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Cleanup a checkpatch.pl error in SAL/nfs4_recovery.c

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Cleanup a checkpatch.pl problem in FSAL/FSAL_GLUSTER/gluster_internal.h

The following code structure trips a bug in checkpatch.pl:

The fix is to restructure the macro:

	do { \

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Remove unused libgssglue from rpm spec

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
V2.2-dev-4

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Add LTTng build infrastructure

Signed-off-by: Jim Lieb <lieb@sea-troll.net>
Add LTTng tracing as logging option

Derived from original work by Amit Margalit amitm@il.ibm.com

Signed-off-by: Jim Lieb <lieb@sea-troll.net>
Add LTTng tracing of nfs rpc

Initial trace points are the start and end of rpc_execute()

Signed-off-by: Jim Lieb <lieb@sea-troll.net>
Add tracing for individual nfs ops

Expand nfs_rcp by defiuing and adding some new tracepoints

Signed-off-by: Jim Lieb <lieb@sea-troll.net>
Add README and documentation for LTTng usage

Signed-off-by: Jim Lieb <lieb@sea-troll.net>
Do not send attrs which are NA to current protocol.

Do not send attributes which are not recognised by the current
protocol in supported_attributes and in attribute list.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Delay state allocation until actually it is needed.

Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Reviewed-by: Malahal Naineni <malahal@us.ibm.com>
Acked-by: Frank S. Filz <ffilzlnx@mindspring.com>
acquire_lease() -> acquire_lease_lock() to avoid confusion.
Also added appropriate comments.

Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Reviewed-by: Malahal Naineni <malahal@us.ibm.com>
Acked-by: Frank S. Filz <ffilzlnx@mindspring.com>
Add drc_ prefix to the members of delegrecall_context struct.

Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Reviewed-by: Malahal Naineni <malahal@us.ibm.com>
Acked-by: Frank S. Filz <ffilzlnx@mindspring.com>