Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865623 - sys-kernel/gentoo-sources-5.19.2: patch 5020_BMQ-and-PDS-io-scheduler-v5.19-r0.patch broken
Summary: sys-kernel/gentoo-sources-5.19.2: patch 5020_BMQ-and-PDS-io-scheduler-v5.19-r...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://gitlab.com/alfredchen/linux-p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-17 22:05 UTC by Conrad Kostecki
Modified: 2022-08-19 15:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2022-08-17 22:05:47 UTC
On sys-kernel/gentoo-sources-5.19.2, the patch 5020_BMQ-and-PDS-io-scheduler-v5.19-r0.patch is being applied. Starting with kernel 5.19.2, this causes a compilation failure, when enabled.

kernel/sched/alt_core.c:46:10: fatal error: ../../fs/io-wq.h: No such file or directory
   46 | #include "../../fs/io-wq.h"
      |          ^~~~~~~~~~~~~~~~~~

This is related to this change, as the headers have been moved to ./io_uring/io-wq.h:
https://www.spinics.net/lists/kernel/msg4473439.html

But only adjusting the path is not enough, as compilation still fails with a different error then.

kernel/sched/alt_core.c: In function 'sched_submit_work':
kernel/sched/alt_core.c:4674:13: error: implicit declaration of function 'tsk_is_pi_blocked'; did you mean 'osq_is_locked'? [-Werror=implicit-function-declaration]
 4674 |         if (tsk_is_pi_blocked(tsk))
      |             ^~~~~~~~~~~~~~~~~
      |             osq_is_locked
Comment 1 Larry the Git Cow gentoo-dev 2022-08-19 13:56:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e51265952c712e55c93f6e92e89044474191c86a

commit e51265952c712e55c93f6e92e89044474191c86a
Author:     Mike Pagano <mpagano@gentoo.org>
AuthorDate: 2022-08-19 13:55:42 +0000
Commit:     Mike Pagano <mpagano@gentoo.org>
CommitDate: 2022-08-19 13:55:42 +0000

    sys-kernel/gentoo-sources: Fixes for BMQ, thanks to TK-Glitch
    
    Closes: https://bugs.gentoo.org/865623
    
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>

 sys-kernel/gentoo-sources/Manifest                 |  3 +++
 .../gentoo-sources/gentoo-sources-5.19.2-r1.ebuild | 29 ++++++++++++++++++++++
 2 files changed, 32 insertions(+)