Bug 1206920

Summary: drbd: clean up useless patch & fix build error
Product: [openSUSE] openSUSE Tumbleweed Reporter: heming zhao <heming.zhao>
Component: High AvailabilityAssignee: heming zhao <heming.zhao>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P2 - High CC: zzhou
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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.