Master sync round 4

This syncs with Lustre master up to commit eb22854741580fe1b5e149f2065cfe713901e7be (LU-3581 osc: Lustre returns EINTR from writes when SA_RESTART is set), plus one commit to restore ll_fiemap that was mistakenly dropped by coan. 41 patches in total.

 64 files changed, 805 insertions(+), 2405 deletions(-)

Andreas Dilger (1):
      staging/lustre/osd-ldiskfs: remove dependency on mdd module

Andriy Skulysh (2):
      staging/lustre/ptlrpc: add rpc_cache
      staging/lustre/ldlm: ldlm_flock_deadlock() ASSERTION( req != lock ) failed

Aurelien Degremont (1):
      staging/lustre/hsm: copy start error should set HP_FLAG_COMPLETED

Bob Glossman (1):
      staging/lustre/libcfs: improve validity test for valid file descriptors

Christopher J. Morrone (1):
      staging/lustre/changelogs: Account for changelog_ext_rec in CR_MAXSIZE

Dmitry Eremin (2):
      staging/lustre/lnet: build Lustre with Intel OFED for Xeon Phi
      staging/lustre/build: build error with gcc 4.7.0 20110509

Fan Yong (1):
      staging/lustre/llite: return compatible fsid for statfs

Gaurav Mahajan (1):
      staging/lustre/llite: Delaying creation of client side proc entries.

Henri Doreau (1):
      staging/lustre/utils: Posix copytool fixes.

JC Lafoucriere (3):
      staging/lustre/mdt: CDT cleanup follow-on patch
      staging/lustre/lmv: update coding style
      staging/lustre/mdt: HSM EXIST event not triggered at last rm/mv

James Simmons (5):
      staging/lustre/lvfs: remove llog_lvfs.c and other lvfs code from llog
      staging/lustre/autoconf: remove LC_LOCK_MAP_ACQUIRE test
      staging/lustre/autoconf: remove LC_FS_STRUCT_USE_PATH
      staging/lustre/autoconf: remove LC_SECURITY_PLUG test
      staging/lustre/osc: Lustre returns EINTR from writes when SA_RESTART is set

Jinshan Xiong (4):
      staging/lustre/hsm: small fixes for HSM
      staging/lustre/llite: reset writeback index in ll_writepages
      staging/lustre/llite: cancel open lock before closing file
      staging/lustre/hsm: Add support to drop all pages for ll_data_version

John L. Hammond (3):
      staging/lustre/hsm: remove hsm_nl proc file
      staging/lustre/clio: honor O_NOATIME
      staging/lustre/obd: add md_stats to MDC and LMV devices

Li Xi (1):
      staging/lustre/libcfs: Add relocation function to libcfs heap

Mikhail Pershin (1):
      staging/lustre/obdclass: fix wrong device put in case of race

Ned Bass (1):
      staging/lustre/mdc: document mdc_rpc_lock

Niu Yawei (1):
      staging/lustre/llite: use 64bits flags in ll_lov_setea()

Oleg Drokin (1):
      staging/lustre/clio: Do not shrink sublock at cancel

Peng Tao (1):
      staging/lustre/llite: restore ll_fiemap

Sebastien Buisson (5):
      staging/lustre/build: fix 'deadcode' errors
      staging/lustre/build: fix 'integer handling' issues
      staging/lustre/build: fix 'data race condition' issues
      staging/lustre/build: fix 'NULL pointer dereference' errors
      staging/lustre/build: fix 'no effect' errors

Swapnil Pimpale (1):
      staging/lustre/lov: Get the correct address of lmm_objects

Vitaly Fertman (1):
      staging/lustre/clio: wrong cl_lock usage

wang di (2):
      staging/lustre/lmv: choose right MDT for open by FID
      staging/lustre/osd: remove fld lookup during configuration