Skip to content

[v26.03.3] Add support for kernel 7.0 and Ubuntu 26.04 - #1774

Merged
robertbaldyga merged 11 commits into
Open-CAS:v26.03.3.rcfrom
robertbaldyga:v26.03.3-kernel-7.0-support
Jul 2, 2026
Merged

[v26.03.3] Add support for kernel 7.0 and Ubuntu 26.04#1774
robertbaldyga merged 11 commits into
Open-CAS:v26.03.3.rcfrom
robertbaldyga:v26.03.3-kernel-7.0-support

Conversation

@robertbaldyga

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Since 5.18 vmalloc automatically allocates from highmem when possible,
therefore this flag is not necessary and on newer kernels there is
a warning generated if caller passes __GFP_HIGHMEM.

Since kernels older than 5.18 still need it, simply mask it out in
the configure wrapper for pgprot-less variant.

Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
- Remove preemptive kernel check and warning/error messages.
- Disable preemption for per-cpu sections.
- Since on preemptive kernel an I/O thread can be preempted and
  rescheduled to some other CPU at any moment, select the queue
  opportunistically, based on the current CPU at the moment
  queue selection, without preemption blocking.

Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
cas_lib.c:335:23: error: assignment discards ‘const’ qualifier
from pointer target type [-Werror=discarded-qualifiers]
  335 |                 delim = strchr(p, ',');
      |                       ^

Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Most modern distros already switched to usrmerge. It's safer
and follows the current best practices to use /usr/lib.

Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Most modern distros already switched to usrmerge. It's safer
and follows the current best practices to use /usr/sbin.

Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
The page mapping may be non-NULL but invalid. Check it properly.

Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Account dirty & not running as flush error, so that the situation
is reported properly to the user.

Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
@robertbaldyga
robertbaldyga merged commit 10ee406 into Open-CAS:v26.03.3.rc Jul 2, 2026
5 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.

1 participant