Whamcloud - gitweb
LU-28 fileset: add fileset mount support 07/5007/39
authorLai Siyao <lai.siyao@intel.com>
Tue, 3 Mar 2015 12:36:31 +0000 (20:36 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 17 Apr 2016 20:51:46 +0000 (20:51 +0000)
commit9bd3e64b817ccbbf9760864b84908b87e13ebfe8
tree29c53822f9533f25329114345b32812ad056b4a8
parente14246641c04c9e3004043f58f469532223d06d6
LU-28 fileset: add fileset mount support

This patch enables client to mount subdirectory as fileset.

usage: mount -t lustre mgsname:/fsname/subdir /mount/point

* mdt lookup fileset fid and return to client during mount.
* `lfs fid2path` support for fileset.

Test-Parameters: envdefinitions=FILESET=/somedir testlist=sanity
Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Signed-off-by: Kit Westneat <kwestneat@ddn.com>
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Change-Id: I947785de3b053907600d1090c80e8f57396e1e93
Reviewed-on: http://review.whamcloud.com/5007
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
26 files changed:
lustre/contrib/wireshark/packet-lustre.c
lustre/doc/mount.lustre.8
lustre/include/lustre/lustre_idl.h
lustre/include/lustre/lustreapi.h
lustre/include/lustre_disk.h
lustre/include/lustre_req_layout.h
lustre/include/obd.h
lustre/include/obd_class.h
lustre/include/obd_support.h
lustre/llite/file.c
lustre/llite/llite_lib.c
lustre/lmv/lmv_obd.c
lustre/mdc/mdc_request.c
lustre/mdt/mdt_handler.c
lustre/obdclass/lprocfs_status.c
lustre/obdclass/obd_mount.c
lustre/ptlrpc/layout.c
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/wiretest.c
lustre/tests/cfg/local.sh
lustre/tests/sanity.sh [changed mode: 0755->0644]
lustre/tests/test-framework.sh
lustre/utils/liblustreapi.c
lustre/utils/mount_lustre.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c