Skip to content

fuse: Fix the reduced queue assignment#85

Merged
bsbernd merged 1 commit into
redfs-rhel9_4-427.42.1from
fix-reduced-queue-distribution-redfs-rhel9_4-427.42.1
Feb 4, 2026
Merged

fuse: Fix the reduced queue assignment#85
bsbernd merged 1 commit into
redfs-rhel9_4-427.42.1from
fix-reduced-queue-distribution-redfs-rhel9_4-427.42.1

Conversation

@bsbernd
Copy link
Copy Markdown
Collaborator

@bsbernd bsbernd commented Feb 4, 2026

The use of bitmap_weight() didn't give the actual index, but always returned the current cpu, which resulted in a totally wrong mapping.

It now just increases a counter for every mapping and ignores cores not in the given (numa) map and then find the index for that.

Also added is a pr_debug(), which can be activated for example with
echo "module redfs +p" >/proc/dynamic_debug/control (Pity that upstream is not open for such debug messages).

(cherry picked from commit bcbb684)

The use of bitmap_weight() didn't give the actual index,
but always returned the current cpu, which resulted
in a totally wrong mapping.

It now just increases a counter for every mapping and ignores
cores not in the given (numa) map and then find the index
for that.

Also added is a pr_debug(), which can be activated for example
with
echo "module redfs +p" >/proc/dynamic_debug/control
(Pity that upstream is not open for such debug messages).

(cherry picked from commit bcbb684)
@bsbernd bsbernd requested a review from hbirth February 4, 2026 20:20
Copy link
Copy Markdown
Collaborator

@hbirth hbirth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a cherry-pick

@bsbernd bsbernd merged commit 673a5da into redfs-rhel9_4-427.42.1 Feb 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants