mdadm/0050-optim-al-ize-write-indent-write-intent.patch
Xiao Ni aa7b8fe976 Update to latest upstream
Resolves: RHEL-100004, RHEL-107084

Signed-off-by: Xiao Ni <xni@redhat.com>
2025-10-28 17:17:30 +08:00

32 lines
1.0 KiB
Diff

From f0667a39f889395f40d8b6c41730e89ac5434c21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= <nabijaczleweli@nabijaczleweli.xyz>
Date: Tue, 6 May 2025 20:59:29 +0200
Subject: [PATCH 50/74] optim[al]ize; write-indent -> write-intent
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Former is highly non-standard, latter is wrong
Signed-off-by: наб <nabijaczleweli@nabijaczleweli.xyz>
---
mdadm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mdadm.c b/mdadm.c
index 6200cd0e7f9b..14649a40c236 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -1522,7 +1522,7 @@ int main(int argc, char *argv[])
if (s.btype == BitmapUnknown) {
if (c.runstop != 1 && s.level >= 1 &&
- ask("To optimalize recovery speed, it is recommended to enable write-indent bitmap, do you want to enable it now?"))
+ ask("To optimize recovery speed, it is recommended to enable write-intent bitmap, do you want to enable it now?"))
s.btype = BitmapInternal;
else
s.btype = BitmapNone;
--
2.50.1