Port from 1.5.x:

354c0ac4a7305727221daf9617ffa4d2bbf57459
Part of FTDC enhancements: - Main error logging is done by Return()
macro. In addition, posix2fsal_error logs when there is 1-to-many
mapping. All additional messages are at the LogInfo level.

Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>
Port from 1.5.x:
631d3df3865bc0912d76a6f603cddea86aa92efe
Fix cache_inode_lock_trust_attrs to take the configured
grace_period_attr into account. Also fix a small Log message typo.

Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>
Port from 1.5.x:
2623379f89821112a9d1d19dc7afdc2a66eb451e
Add proper return code for commit failures.

Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>
Port from 1.5.x:

67598ecc938f57cab8d253d740233d7dfa5fc69c
need to disable the fd cache if it is already disabled.

Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>
Ported from 1.5.x:
2dadf46fa8ca5ac6a3369860fd24fcf4a00d5f2d
Make sure that we process LRU1 and LRU2 cache even if fd cache is
disabled.

Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>
Ported from 1.5.x:

0c19beed17199e1ff8e5c6e23b8ba2876578b106
Set extremis flag in lru_thread only if fd cache is enabled.

Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>