Whamcloud - gitweb
LU-4076 fld: add local fldb to each target 84/7884/11
authorwang di <di.wang@intel.com>
Tue, 8 Oct 2013 09:13:27 +0000 (02:13 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 6 Dec 2013 13:01:31 +0000 (13:01 +0000)
commit519a65ddc04673022124f421e4809f8a87f790d7
treecba15a314e6a65e17eb7b3ffc47d3764800ecbff
parent491eb747915eb7fbde1babb2689b657fca6f1be1
LU-4076 fld: add local fldb to each target

1. Add local FLDB to each MDT, so OSD/OUT can check whether
FID is remote by looking up local FLDB, i.e. no need send RPC
to MDT0.

2. OSD will only do local lookup when checking remote FID.

3. During upgrade, MDTn(n != 0) needs to retrieve its fldb
entries from controller(MDT0) and insert into the local
FLDB.

4. MDT should also use LWP(instead of OSP) to communicate
with sequence controller (MDT0).

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I788a543aeb7305dfbad3cc41b586f9337f227119
Reviewed-on: http://review.whamcloud.com/7884
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
29 files changed:
lustre/fid/fid_handler.c
lustre/fid/fid_request.c
lustre/fld/fld_handler.c
lustre/fld/fld_index.c
lustre/fld/fld_internal.h
lustre/fld/fld_request.c
lustre/include/lu_target.h
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_disk.h
lustre/include/lustre_fid.h
lustre/include/lustre_fld.h
lustre/include/lustre_req_layout.h
lustre/include/obd_support.h
lustre/lod/lod_dev.c
lustre/mdt/mdt_handler.c
lustre/obdclass/obd_mount.c
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_fs.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_oi.c
lustre/osd-zfs/osd_index.c
lustre/osd-zfs/osd_oi.c
lustre/osp/osp_dev.c
lustre/osp/osp_internal.h
lustre/ptlrpc/layout.c
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c