Skip setattr if the create has already handled them.
Most of the clients only set mode with create and all other attributes
are set to deafault.
An extra setattr call will be made only if the client wants to use non
default values.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
ganesha mistakenly granting blocked lock to NFSv3 while existing
NFSv4 locks are attempting to reclaim when cluster is in GRACE.

Signed-off-by: Rick Mesta <rmesta@us.ibm.com>
Trim thread name length

Signed-off-by: Frank Filz <ffilz@us.ibm.com>
Deprecate log config in component config stanzas

Signed-off-by: Frank Filz <ffilz@us.ibm.com>
Add some Doxygen comments

Signed-off-by: Frank Filz <ffilz@us.ibm.com>
Change from log dest per component to global log dest

Which allows us to have multiple log destinations with a maximum log
level for each (so errors can go to syslog while debug goes to a file).

Also add reload of LOG config on SIGHUP.

Signed-off-by: Frank Filz <ffilz@us.ibm.com>

Conflicts:

	src/Log/log_functions.c

Conflicts:

	src/Log/log_functions.c

Conflicts:

	src/Log/log_functions.c
Add optional FILE_NAME and LINE_NUM to log headers

Add two new log message header fields for line number and file name.

LogError moves it's line number into the LINE_NUM field.

Signed-off-by: Frank Filz <ffilz@us.ibm.com>

Conflicts:

	src/Log/log_functions.c
Get rid of unused LOG_MESSAGE_VERBOSITY

Signed-off-by: Frank S. Filz <ffilz@us.ibm.com>
Added support for rotation and compression of log files.
Added a sample log configuration file.

Signed-off-by: Poornima Gupte <poornima.gupte@in.ibm.com>
Added capability of FSAL to tell Ganesha not to cache a particular entry
Do not allow access which is denied by previos ACEs.
Access check for OPs should break with EACCESS if a required bit is
denied by an ACE.
Access check for ACCESS OP should continue scanning the ACEs to return
correct set of allowed ops, but access once denied should not be included
if it is allowed by subsequent ACEs.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Do not reset bits in allowed set.
This can deny permissions to root.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Save UDP request remote port number in svc_req, since UDP xprt
is shared among different endpoints of the same host addr.
This port is needed to send data gram response back
to client.

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>