[Devel] [PATCH RHEL9 COMMIT] dm-qcow2: Temporary disable dirty bit check
Konstantin Khorenko
khorenko at virtuozzo.com
Fri Nov 19 18:54:41 MSK 2021
The commit is pushed to "branch-rh9-5.14.vz9.1.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh9-5.14.0-4.vz9.10.30
------>
commit dbfa187adbb3fc0ae65ca503e4d2d7fd46e0e46c
Author: Kirill Tkhai <ktkhai at virtuozzo.com>
Date: Fri Nov 19 18:54:41 2021 +0300
dm-qcow2: Temporary disable dirty bit check
Till #PSBM-136244 is fixed.
https://jira.sw.ru/browse/PSBM-136216
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
drivers/md/dm-qcow2-target.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/md/dm-qcow2-target.c b/drivers/md/dm-qcow2-target.c
index b6915edd6a3c..97845929b6b5 100644
--- a/drivers/md/dm-qcow2-target.c
+++ b/drivers/md/dm-qcow2-target.c
@@ -504,9 +504,9 @@ static int qcow2_check_convert_hdr(struct dm_target *ti,
is_ro = !(dm_table_get_mode(ti->table) & FMODE_WRITE);
- if (!is_ro && kernel_sets_dirty_bit !=
- !(hdr->incompatible_features & INCOMPATIBLE_FEATURES_DIRTY_BIT))
- return kernel_sets_dirty_bit ? -EUCLEAN : -ENOLCK;
+// if (!is_ro && kernel_sets_dirty_bit !=
+// !(hdr->incompatible_features & INCOMPATIBLE_FEATURES_DIRTY_BIT))
+// return kernel_sets_dirty_bit ? -EUCLEAN : -ENOLCK;
if (hdr->incompatible_features &
~(INCOMPATIBLE_FEATURES_EXTL2_BIT|INCOMPATIBLE_FEATURES_DIRTY_BIT))
return -EOPNOTSUPP;
More information about the Devel
mailing list