Bug 1206920 - drbd: clean up useless patch & fix build error
Summary: drbd: clean up useless patch & fix build error
Status: RESOLVED INVALID
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: High Availability (show other bugs)
Version: Current
Hardware: x86-64 Other
: P2 - High : Major (vote)
Target Milestone: ---
Assignee: heming zhao
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-06 07:57 UTC by heming zhao
Modified: 2023-01-06 08:37 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 2023-01-06 07:57:34 UTC
this bug includes two jobs.

1> remove useless patch

because in latest TW kernel, dax_get_by_host() was replaced by fs_dax_get_by_bdev(), so bsc-1192929_06-dax_support.patch is useless, we should remove it.

2> using upstream patch to replace existed patch

existed patch bsc-1204596_01-block-remove-blk_cleanup_disk.patch contain wrong code lines, I don't know why this patch can pass build job before.
For fixing build error, back port upstream drbd-9.1 branch commit de5f58ffb07373830b0382571fac6ac0b1350bc8.

```
From de5f58ffb07373830b0382571fac6ac0b1350bc8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christoph=20B=C3=B6hmwalder?=
 <christoph.boehmwalder@linbit.com>
Date: Wed, 2 Nov 2022 19:41:36 +0100
Subject: [PATCH] drbd: do not use blk_cleanup_disk

It was removed in upstream commit 8b9ab6266204
("block: remove blk_cleanup_disk").
```
Comment 1 heming zhao 2023-01-06 08:37:34 UTC
my mistake, there doesn't have build error. invalid this bug.