Whamcloud - gitweb
LU-3531 llite: fix "lfs getdirstripe" to show stripe info 28/7228/42
authorwang di <di.wang@intel.com>
Wed, 31 Jul 2013 17:46:09 +0000 (10:46 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 22 Feb 2014 06:31:14 +0000 (06:31 +0000)
commit3c216b9767ddbfd34b2633d6fe0a539281d73b73
tree7456defda1c48fee6dabf767e1676732d5020521
parent5f3e926ac9ff8ad134ad920d0e8545e16395ef3b
LU-3531 llite: fix "lfs getdirstripe" to show stripe info

Fix "lfs getdirstripe", so it can show layout information
of striped directory

[root@testnode tests]# ../utils/lfs getdirstripe /mnt/lustre/test1
/mnt/lustre/test1
lmv_stripe_count: 2
lmv_stripe_offset: 0
mdtidx  FID[seq:oid:ver]
     0  [0x280000400:0x1:0x0]
     1  [0x2c0000400:0x1:0x0]

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I586f78ee2e0c35d8c3ed10726d5f5e12a4b543e7
Reviewed-on: http://review.whamcloud.com/7228
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
16 files changed:
lustre/include/lustre/lustre_idl.h
lustre/include/lustre/lustre_user.h
lustre/include/lustre/lustreapi.h
lustre/include/md_object.h
lustre/llite/dir.c
lustre/llite/llite_internal.h
lustre/llite/xattr.c
lustre/lod/lod_internal.h
lustre/lod/lod_object.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_lib.c
lustre/mdt/mdt_reint.c
lustre/ptlrpc/pack_generic.c
lustre/utils/lfs.c
lustre/utils/liblustreapi.c