Bugzilla – Bug 1217078
drbd: fix build error against kernel v6.6.1
Last modified: 2023-11-28 08:36:43 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
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.
(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?
(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!
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