b=24039 lfs setstripe --pool broken

i=Andreas.Dilger
i=Vladimir.Saveliev
b=24374 lov_dump_user_lmm_header () fix

i=Johann
b=13698 llapi_get_version

this uses OBD_GET_VERSION ioctl to obtain lustre version

i=andreas.dilger
LU-541 Fix getstripe interop with 2.0 server

* 2.0 server has changed dir getstripe rule as follows:
          If the directory in question DOES NOT have it's EA set, AND it
          IS NOT the root directory of the filesystem, then no EA values
          are returned to userspace. Rather, an error is returned from
          the ioctl and errno is set to ENODATA.
  1.8 client needs adapt to this rule
* fix liblustreapi.c usage of errno and rc, llapi_xxx() functions should
  return negative value on error.

Change-Id: If81a456209d5985aae7f20569eba1ac45ef576b1
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1154
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
b=4424 Reserve obd_connect_data.ocd_max_easize field

To avoid potential incompatible changes between b1_8 and master,
reserve the ocd_max_easize field.  The corresponding connect flag
OBD_CONNECT_MAX_EASIZE has been reserved for some time already.

Add several other OBD_CONNECT_ flags that have already been defined
to the wirecheck/wiretest tools.
b=19808 fix d_obtain_alias() misuse due to compat macro

i=oleg
i=yangsheng
LU-200 1.8.6 client supports 64-bit dir name hash under interoperability mode

1.8.6 client supports 64-bit dir name hash under interoperability mode.

Signed-off-by: nasf <yong.fan@whamcloud.com>
Change-Id: If8130cfe809424502f40ff32dcb89deb8b82d720
Reviewed-on: http://review.whamcloud.com/410
Tested-by: Hudson
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
LU-376 Positive LL_DIR_END_OFF to indicate the tail of dir hash/offset

1) Keep 'MDS_DIR_END_OFF' unchanged (0xfffffffffffffffeULL) to simplify
   dir hash/offset related interoperability issues.
2) Introduce positive "LL_DIR_END_OFF" (0x7fffffffffffffffULL) on client
   to indicate the tail of dir hash/offset for up layer callers, like
   llseek(), readdir(), and so on.
3) Support 1.8 client to talk with old 2.0 server with 32bit hash.

Change-Id: I126ddb170b9ee24d1ae0610ac6343c9b0f5e4c70
Signed-off-by: nasf <yong.fan@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/887
Tested-by: Hudson
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
LU-565 Update llite_nfc.c to 2.x interop fid API

It seems we forgot to update lustre NFS code when converting everything
to FID interop API. This lead to ESTALE errors trying to export NFS
from 1.8 client that ewas mounting 2.x MDT due to inode generation
and fid generation mismatch (inode generation always 0 for interop).

Signed-off-by: Oleg Drokin <green@whamcloud.com>
Change-Id: Ic88671826da73b19857a42ceb9ac8dd0fd35b244
LU-1378 seq: swab lu_seq_range before accessing it

In seq_client_rpc, swab lu_seq_range after getting it from
the reply.

Signed-off-by: Di Wang <di.wang@whamcloud.com>
Change-Id: I8a2118e1895d2c89430961997dbad4a3f20a6762
Add definitions for SEEK_*

Older kernels don't define SEEK_SET, SEEK_CUR, and SEEK_END,
so define them so that the changes from LU-376 will compile.

Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>