Bug 1226510 - drbd: fix build error against kernel v6.9.3
Summary: drbd: fix build error against kernel v6.9.3
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: High Availability (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P2 - High : Normal (vote)
Target Milestone: ---
Assignee: SUSE Linux Enterprise High Availability Team
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-19 07:45 UTC by heming zhao
Modified: 2024-06-20 00:38 UTC (History)
1 user (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 heming zhao 2024-06-19 07:45:00 UTC
drbd build failed against kernel 6.8.2 due to KABI changes and compiler version update.

build log:
>   -------------------
> GENPATCHNAMES   6.9.3-1-default
>   APPLIED_COCCI_FILES
> blk_alloc_disk__no_present
> kvfree_rcu__no_present
> bdev_open_by_path__no_present
> blkdev_get_by_path__no_has_holder_ops
> blkdev_put__no_has_holder
>   -------------------

the key is blk_alloc_disk__no_present & bdev_open_by_path__no_present.

bdev_open_by_path__no_present causes other two define error:
- blkdev_get_by_path__no_has_holder_ops
- blkdev_put__no_has_holder
Comment 1 heming zhao 2024-06-19 07:48:03 UTC
create a suse special patch to fix the build error.
when LINBIT upstream introduces the relevant fix, we could remove this patch.
Comment 2 heming zhao 2024-06-19 07:48:04 UTC
create a suse special patch to fix the build error.
when LINBIT upstream introduces the relevant fix, we could remove this patch.
Comment 3 heming zhao 2024-06-20 00:38:17 UTC
The patch has been pushed into the Factory repository. Let’s close this bug as fixed