Whamcloud - gitweb
LU-7988 hsm: wake up cdt when requests are empty 38/30538/2
authorBen Evans <bevans@cray.com>
Tue, 24 Oct 2017 15:34:06 +0000 (11:34 -0400)
committerJohn L. Hammond <john.hammond@intel.com>
Tue, 19 Dec 2017 22:16:24 +0000 (22:16 +0000)
commitd5a7563a46acf15252929b6a045eef8c58022314
treef1a0599028a8e133b44b50effac9d0b570046d22
parent302e4ec4bd923b79690d8c9e7004e0ae0c67be98
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.

Lustre-change: https://review.whamcloud.com/29742
Lustre-commit: 7251fea8dc3c4d29e30c5a3f763c4c33d35f90a7

Signed-off-by: Ben Evans <bevans@cray.com>
Change-Id: I563666a1a3e53f0ec5908de593de71ff4d925467
Reviewed-by: Frank Zago <fzago@cray.com>
Reviewed-by: Sergey Cheremencev <cherementsev@gmail.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/30538
Tested-by: Jenkins
Reviewed-by: Sergey Cheremencev <c17829@cray.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_hsm_cdt_requests.c
lustre/mdt/mdt_internal.h