Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux 6.11 support #194

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

anbe42
Copy link
Contributor

@anbe42 anbe42 commented Feb 5, 2025

this patch originates from the Ubuntu package

Fixes: #190

@pkoutoupis pkoutoupis self-requested a review February 5, 2025 19:49
blk_queue_max_discard_sectors(disk->queue, 0);
#else
blk_queue_flag_set(QUEUE_FLAG_DISCARD, disk->queue);
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,11,0)
disk->queue->limits.features = BLK_FEAT_ROTATIONAL;
Copy link
Owner

Choose a reason for hiding this comment

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

Why rotational? Is this the right feature to define? For instance, I am looking at the brd code and it only defines BLK_FEAT_SYNCHRONOUS and BLK_FEAT_NOWAIT. Thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@piso77: I've forwarded your rapiddisk patch from the Ubuntu package to upstream. Upstream has a question that you hopefully can answer.

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.

Module fails to build for Linux 6.11
3 participants