Whamcloud - gitweb
LU-6864 osp: manage number of modify RPCs in flight 75/14375/23
authorGregoire Pichon <gregoire.pichon@bull.net>
Thu, 5 May 2022 21:42:56 +0000 (17:42 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 6 Jun 2022 06:27:59 +0000 (06:27 +0000)
commit23028efcae01bf1274a68fd2dd379fbb33300e82
tree74f2d8c6c838908b4e3506cbeaa504eea365b435
parent7f157f8ef374c4fc3dec6a91a29f4bf15b5e0969
LU-6864 osp: manage number of modify RPCs in flight

Currently we use a rpc_lock to ensure concurrent in-flight
request are handled serially to prevent the execution status
from being over written. This patch changes the osp component
to send multiple modify RPCs in parallel to the MDT. This will
improve metadata performance of cross-MDT operations.

For testing replace mkdirmany with createmany -d which does the
same thing.

Signed-off-by: Gregoire Pichon <gregoire.pichon@bull.net>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Change-Id: Icb601afabd6767463634a4c7943ec4206bc758ec
Reviewed-on: https://review.whamcloud.com/14375
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
12 files changed:
lustre/include/obd.h
lustre/lod/lod_lov.c
lustre/osp/lproc_osp.c
lustre/osp/osp_dev.c
lustre/osp/osp_internal.h
lustre/osp/osp_trans.c
lustre/target/out_handler.c
lustre/tests/.gitignore
lustre/tests/Makefile.am
lustre/tests/createmany.c
lustre/tests/mkdirmany.c [deleted file]
lustre/tests/sanity.sh