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>
Handle race between async-recall and remove_gsh_export()

deleg recall upcall and async recall may reace with remove_gsh_expor()
this patch is to handle those situations deligently.

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>
Fix a typo in log message

Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Reviewed-by: Frank S. Filz <ffilzlnx@mindspring.com>
Merge remote-tracking branch 'lieb/for_dev-5' into next

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Merge remote-tracking branch 'ganltc/for-V2.2-dev-5' into next

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

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>