[Devel] [PATCH RHEL9 COMMIT] rq-qos: update comment to refer to actual function name
Konstantin Khorenko
khorenko at virtuozzo.com
Wed Apr 30 11:54:28 MSK 2025
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh9-5.14.0-427.44.1.vz9.80.31
------>
commit a12ada2b0880fcdd4c795410e4397a04968de51b
Author: Alexander Atanasov <alexander.atanasov at virtuozzo.com>
Date: Fri Apr 25 09:29:08 2025 +0300
rq-qos: update comment to refer to actual function name
Cosmetic change: set_task_state is gone, set_current_state is used.
https://virtuozzo.atlassian.net/browse/VSTOR-103768
Signed-off-by: Alexander Atanasov <alexander.atanasov at virtuozzo.com>
Feature: vStorage
---
block/blk-rq-qos.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/blk-rq-qos.c b/block/blk-rq-qos.c
index 167be74df4eec..6dad2aaab9874 100644
--- a/block/blk-rq-qos.c
+++ b/block/blk-rq-qos.c
@@ -263,7 +263,7 @@ void rq_qos_wait(struct rq_wait *rqw, void *private_data,
has_sleeper = !prepare_to_wait_exclusive(&rqw->wait, &data.wq,
TASK_UNINTERRUPTIBLE);
do {
- /* The memory barrier in set_task_state saves us here. */
+ /* The memory barrier in set_current_state and the spin_unlock saves us here. */
if (data.got_token)
break;
if (!has_sleeper && acquire_inflight_cb(rqw, private_data)) {
More information about the Devel
mailing list