Whamcloud - gitweb
LU-7988 hsm: wake up cdt when requests are empty 42/29742/4
authorBen Evans <bevans@cray.com>
Tue, 24 Oct 2017 15:34:06 +0000 (11:34 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 6 Nov 2017 03:42:54 +0000 (03:42 +0000)
commit7251fea8dc3c4d29e30c5a3f763c4c33d35f90a7
tree37c4b396e1b84b15bacbc44df7b36864a461cda1
parentdf96fab178534adb34067b20490a2d0629aabe2f
LU-7988 hsm: wake up cdt when requests are empty

The coordinator only runs once per second, we need a mechanism
to send more work when everything is done (cdt_request_count
goes to zero)

Without this, there is a hard limit of max_requests per sec
requests that can be processed, causing performance issues
with small files.

Signed-off-by: Ben Evans <bevans@cray.com>
Change-Id: I563666a1a3e53f0ec5908de593de71ff4d925467
Reviewed-on: https://review.whamcloud.com/29742
Reviewed-by: Frank Zago <fzago@cray.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Sergey Cheremencev <cherementsev@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_hsm_cdt_requests.c
lustre/mdt/mdt_internal.h