Skip to content

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

Open
robertbaldyga wants to merge 5 commits into
Open-CAS:v26.03.3.rcfrom
robertbaldyga:v26.03.3-kernel-7.0-support
Open

[v26.03.3] Add support for kernel 7.0 and Ubuntu 26.04#1774
robertbaldyga wants to merge 5 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>
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