Whamcloud - gitweb
LU-15282 lod: less spinlock on the alloc rr
authorAlexey Lyashkov <alexey.lyashkov@hpe.com>
Wed, 25 Jan 2023 01:46:56 +0000 (17:46 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 16 Feb 2023 21:14:40 +0000 (21:14 +0000)
commit09dfc77b17ec09ad7858f8b1e4b5895d9302058e
tree154dcaf50ce41fc9b73571db77554682831d7e12
parenta80fadc26432f6b2558cb745ef11c0cf33c7eb6c
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.

Lustre-change: https://review.whamcloud.com/45694
Lustre-commit: fa34a15f619c49535e214eec0d076872ac9a6b9a

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