Whamcloud - gitweb
LU-9490 llite: return v1/v3 layout for legacy app 83/27183/6
authorNiu Yawei <yawei.niu@intel.com>
Thu, 18 May 2017 07:12:54 +0000 (03:12 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 3 Jun 2017 03:56:30 +0000 (03:56 +0000)
commit545f464b68ee21ccc425113db9b57c63ac2840b1
tree993a42b3f30cb67cc66cac2e0749fb048d58404c
parent53969ac9958877a239694ed09707f30bea3d02cc
LU-9490 llite: return v1/v3 layout for legacy app

Legacy app such as ADIO fetches LOVEA by ioctl LL_IOC_LOV_GETSTRIPE
and treats file layout as v1/v3 blindly, we'd return a reasonable
v1/v3 in this case.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I95694c3e32013c75da097f2f6ae4e8915503596e
Reviewed-on: https://review.whamcloud.com/27183
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lov/lov_cl_internal.h
lustre/lov/lov_object.c
lustre/lov/lov_pack.c