Projects
openEuler:24.03:SP1:Everything
lvm2
_service:tar_scm:0014-use-sync-io-read-bcache-b...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0014-use-sync-io-read-bcache-by-defaults.patch of Package lvm2
From b36985754f67c3df89c42ed29250abf6dfaf7890 Mon Sep 17 00:00:00 2001 From: Wu Guanghao <wuguanghao3@huawei.com> Date: Sat, 4 Jun 2022 03:06:52 +0400 Subject: [PATCH] use sync io read bcache by defaults Currently lvm2 uses aio to read bcache by default, but aio is created successfully but read fails, resulting in lv creation failure. So use sync io read bcache by default. Signed-off-by: Wu Guanghao <wuguanghao3@huawei.com> --- lib/config/defaults.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config/defaults.h b/lib/config/defaults.h index faf628f..d039cc7 100644 --- a/lib/config/defaults.h +++ b/lib/config/defaults.h @@ -70,7 +70,7 @@ #define DEFAULT_METADATA_READ_ONLY 0 #define DEFAULT_LVDISPLAY_SHOWS_FULL_DEVICE_PATH 0 #define DEFAULT_UNKNOWN_DEVICE_NAME "[unknown]" -#define DEFAULT_USE_AIO 1 +#define DEFAULT_USE_AIO 0 #define DEFAULT_SANLOCK_LV_EXTEND_MB 256 -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2