Whamcloud - gitweb
LU-11213 lmv: reuse object alloc QoS code from LOD 57/34657/15
authorLai Siyao <lai.siyao@whamcloud.com>
Fri, 22 Mar 2019 00:22:37 +0000 (08:22 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 13 Jun 2019 04:16:54 +0000 (04:16 +0000)
commitb601eb35e97ae74d3de448e07a28ce41afb4adef
treecd5534047284a19b9195a41ef54cffa112020428
parent44405d4d6f7c0a77d540d6a114050ccabd0a4e9f
LU-11213 lmv: reuse object alloc QoS code from LOD

Reuse the same object alloc QoS code as LOD, but the QoS code is
not moved to lower layer module, instead it's copied to LMV, because
it involves almost all LMV code, which is too big a change and should
be done separately in the future.

And for LMV round-robin object allocation, because we only need to
allocate one object, use the MDT index saved and update it to next
MDT.

Add sanity 413b.

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: I53c3d863dafda534eebb6b95da205b395071cd25
Reviewed-on: https://review.whamcloud.com/34657
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
15 files changed:
lustre/include/lu_object.h
lustre/include/obd.h
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/lmv/Makefile.in
lustre/lmv/lmv_intent.c
lustre/lmv/lmv_internal.h
lustre/lmv/lmv_obd.c
lustre/lmv/lmv_qos.c [new file with mode: 0644]
lustre/lmv/lproc_lmv.c
lustre/lod/lod_internal.h
lustre/lod/lod_lov.c
lustre/lod/lod_qos.c
lustre/obdclass/Makefile.in
lustre/obdclass/lu_qos.c [new file with mode: 0644]
lustre/tests/sanity.sh [changed mode: 0755->0644]