Bug 1226510

Summary: drbd: fix build error against kernel v6.9.3
Product: [openSUSE] openSUSE Tumbleweed Reporter: heming zhao <heming.zhao>
Component: High AvailabilityAssignee: SUSE Linux Enterprise High Availability Team <ha-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P2 - High CC: glass.su
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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