Bug 1217078 - drbd: fix build error against kernel v6.6.1
Summary: drbd: fix build error against kernel v6.6.1
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: High Availability (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Glass Su
QA Contact: SUSE Linux Enterprise High Availability Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-13 11:20 UTC by Glass Su
Modified: 2023-11-28 08:36 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glass Su 2023-11-13 11:20:15 UTC
some KAPIs changed and was blocking drbd building for kernel v6.6.1
create this bug for passing build drbd on v6.6.1
Comment 1 Roger Zhou 2023-11-14 08:05:31 UTC
BTW, please keep an eye out for drbd functional regression. In the Tumbleweed snapshot of 20231022, DRBD failed to establish the connection during my quick exercise.
Comment 2 Glass Su 2023-11-20 06:01:23 UTC
(In reply to Roger Zhou from comment #1)
> BTW, please keep an eye out for drbd functional regression. In the
> Tumbleweed snapshot of 20231022, DRBD failed to establish the connection
> during my quick exercise.

I have almost done the package update and did the basic test. I have not seen
connection issue.
Would you help test https://build.opensuse.org/projects/home:gsu:branches:network:ha-clustering:Factory/packages/drbd/repositories/openSUSE_Tumbleweed/binaries after 
upgrading the kernel to v6.6.1?
Comment 3 Roger Zhou 2023-11-20 08:17:04 UTC
(In reply to Glass Su from comment #2)
> (In reply to Roger Zhou from comment #1)
> > BTW, please keep an eye out for drbd functional regression. In the
> > Tumbleweed snapshot of 20231022, DRBD failed to establish the connection
> > during my quick exercise.
> 
> I have almost done the package update and did the basic test. I have not seen
> connection issue.
> Would you help test
> https://build.opensuse.org/projects/home:gsu:branches:network:ha-clustering:
> Factory/packages/drbd/repositories/openSUSE_Tumbleweed/binaries after 
> upgrading the kernel to v6.6.1?

Great thank you for your private repo! I confirm it works well now!
Comment 4 Glass Su 2023-11-28 08:36:43 UTC
for fixing build error, back porting upstream patches:
    + 0021-compat-sock-Remove-sendpage-in-favour-of-sendmsg-MSG.patch
    + 0022-compat-block-replace-fmode_t-with-a-block-specific-t.patch
    + 0023-compat-genetlink-remove-userhdr-from-struct-genl_inf.patch
And remove patch which are already included in upstream patches:
    - bsc-1215699_fix-build-error-against-kernel-v6.5.4.patch

request [1] had been accepted, close this bug as fixed.

[1]: https://build.opensuse.org/request/show/1127681