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>
Check for still-stalled after retaking stallq mtx.

There is not actually a race to unstall xprt, since a single event
channel thread currently decodes requests for xprt.  Nevertheless, the
extra check is cheap and improves the safety of future dispatch code.

Coverity CID 63931.

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

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.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>
Merge branch 'malahal-patches-from-ganltc' into next

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>
Add sle_export_id to state_lock_entry_t in addition to sle_export.

The export_id is used to take a reference on export during asyc calls
ex. upcall, deleg_recall etc and compare it with sle_export.

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>