Bug ID 1206920
Summary drbd: clean up useless patch & fix build error
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware x86-64
OS Other
Status NEW
Severity Major
Priority P5 - None
Component High Availability
Assignee ha-bugs@suse.de
Reporter heming.zhao@suse.com
QA Contact qa-bugs@suse.de
CC zzhou@suse.com
Depends on 1206791
Found By ---
Blocker ---

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").
```


You are receiving this mail because: