log message cleanup plus compile fix

  Ported from 1.5.x:
  36bf702dfbe7ab7b5506b9e2a2774ac3454eca72

  Corrected a log message - jvrao@linux.vnet.ibm.com

Signed-off-by: Rick Mesta <rmesta@us.ibm.com>
Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
another set of logging updates

  Ported from 1.5.x:
  66138a1f709c47629018567e38820fbb165ceec8

Signed-off-by: Rick Mesta <rmesta@us.ibm.com>
Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
return the proper error when using an expired stateid.

  Ported from 1.5.x:
  970b58d49d4674148806f25e8bc8a85ac8c788dc

Signed-off-by: Rick Mesta <rmesta@us.ibm.com>
Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
logging changes.

  Ported from 1.5.x:
  18eaf9df2a2588a499553798cc5d6fdd4cd23845

Signed-off-by: Rick Mesta <rmesta@us.ibm.com>
Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
check for error from write before doing the commit

  Ported from 1.5.x:
  8dec4ad62323659e54ec9d3ea76d6df26be36119

Signed-off-by: Rick Mesta <rmesta@us.ibm.com>
Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>
Remove setfsuid/setfsgid from GPFS setattrs path

Ported from 1.5.x 9d9b40fb7236420bc65d1754231162508c29c80d

Signed-off-by: Allison Henderson <achender@linux.vnet.ibm.com>
Signed-off-by: Frank Filz <ffilz@us.ibm.com>
Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Replace setfsuid/setfsgid with fsal_set_credentials and fsal_restore_ganesha_credentials

Ported from 1.5.x e84d56d8abb125b2bdb3532138d9558554d513ec

Signed-off-by: Allison Henderson <achender@linux.vnet.ibm.com>
Signed-off-by: Frank Filz <ffilz@us.ibm.com>

Conflicts:

	src/FSAL/FSAL_GPFS/fsal_create.c
	src/FSAL/FSAL_GPFS/fsal_fileop.c
	src/FSAL/FSAL_GPFS/fsal_internal.c

Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Changes to 15to20-porting.txt to reflect this push.

Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>
Merge remote-tracking branch 'linuxbox2/next' into merge_next

dev_27 merge

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'linuxbox2/fsal_up_remove_badness' into merge_next

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'jv_github/jv_dev_26_merge' into merge_next

Had to strip out old code zapped by fe2dddf8285a21b that didn't
merge propely.

Conflicts:
	src/Cache_inode/cache_inode_rdwr.c

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Added fsal_obj_handle_uninit(), code dedup

Signed-off-by: Amit Dror <amitd@infinidat.com>
(cherry picked from commit 3f7814461817a714f5de52f4ee46802173dea651)

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix merge litter and typo induced compile errors

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix LRU reclaim fault.

The root cause of the fault was improper decrement of the
entry refcnt to 0 in lru_reap_impl.

Found by Dominique Martinet <dominique.martinet@cea.fr>.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
(cherry picked from commit 31d7c03ad2a069793dc782280853bc5156739e6f)

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'linuxbox2/next-lru' into merge_next

Fix for LRU fault going back to dev_25 or earlier
unmount and unregister v3 on startup based on config params

Currently, v2 to v4 ports are being unregistered and unmounted
when Ganesha is configured in "nfsv4 only" mode. So add a check for
Ganesha config params to only unregister all ports when Ganesha
is accepting v3 requests; otherwise unregister v4 port only.

Signed-off-by: Viji Ganapathi <vganapathi@panasas.com>
(cherry picked from commit 74b470d1fb25f86000e1f7913da170307af9d371)

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Yet one more strict compile fix...

Signed-off-by: Jim Lieb <jlieb@panasas.com>