Whamcloud - gitweb
LU-10496 tgt: move FMD handling from OFD to target 90/34190/7
authorMikhail Pershin <mpershin@whamcloud.com>
Fri, 1 Feb 2019 12:13:38 +0000 (15:13 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 21 Mar 2019 03:44:17 +0000 (03:44 +0000)
commit52e33c507b84bcaf3af9df010f5de4a282aa3fca
treefd4090f74696062071b3e1cf1d91a00321f36aec
parent4ca7949bf0eaae98aa6b8596a8b0f51ced26d2a0
LU-10496 tgt: move FMD handling from OFD to target

- move ofd/ofd_fmd.c to target/tgt_fmd.c with corresponding
  changes
- add FMD calls to the MDT for Data-on-MDT files
- per-target tunable parameters init/fini
- update related tests to be correctly used with DOM
- make sanity.sh test_36 to work again
- remove target_handle_ping() along with o_ping method in
  obd operations because it is not used anymore. Ping is
  fully handled in tgt_obd_ping()

Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: I24280a2a9610d05eb9655c73bb067f94ff251980
Reviewed-on: https://review.whamcloud.com/34190
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
24 files changed:
lustre/include/lu_target.h
lustre/include/lustre_lib.h
lustre/include/obd.h
lustre/include/obd_class.h
lustre/ldlm/ldlm_lib.c
lustre/mdt/mdt_io.c
lustre/mdt/mdt_lproc.c
lustre/mdt/mdt_reint.c
lustre/obdclass/lprocfs_status_server.c
lustre/ofd/Makefile.in
lustre/ofd/lproc_ofd.c
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_internal.h
lustre/ofd/ofd_obd.c
lustre/ofd/ofd_objects.c
lustre/ptlrpc/Makefile.in
lustre/target/Makefile.am
lustre/target/tgt_fmd.c [moved from lustre/ofd/ofd_fmd.c with 83% similarity]
lustre/target/tgt_grant.c
lustre/target/tgt_handler.c
lustre/target/tgt_internal.h
lustre/target/tgt_lastrcvd.c
lustre/target/tgt_main.c
lustre/tests/sanity.sh