Whamcloud - gitweb
LU-15282 lod: less spinlock on the alloc rr 94/45694/9
authorAlexey Lyashkov <alexey.lyashkov@hpe.com>
Wed, 1 Dec 2021 13:38:45 +0000 (16:38 +0300)
committerOleg Drokin <green@whamcloud.com>
Mon, 31 Jan 2022 01:24:24 +0000 (01:24 +0000)
commitfa34a15f619c49535e214eec0d076872ac9a6b9a
tree2b9d1789ea745b9ceae74cb70aebc6deaed1705f
parent82ec537d8b4cc9261828f4efe6b03d8d33f38432
LU-15282 lod: less spinlock on the alloc rr

Don't need to hold spinlock for so much time, anyway it's released
in middle of loop, so RR cannot be perfect in multithreaded case.

Fix small bug in RR precession for stripecount=4+OSTCOUNT=6.

Fixes: 665e36b780f ("OST pools on HEAD")
HPe-bug-id: LUS-10627
Signed-off-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Change-Id: I66eded451c8256de0e5a9a0eb862af8b306da9e1
Reviewed-on: https://review.whamcloud.com/45694
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lu_object.h
lustre/lod/lod_qos.c