Blame SOURCES/removed-logical-space-check-from-table-line.patch
|
|
f143d5 |
From 8fb4ef85097e7b46cb3604612a49e480efd4465a Mon Sep 17 00:00:00 2001
|
|
|
f143d5 |
From: Andrew Walsh <awalsh@redhat.com>
|
|
|
f143d5 |
Date: Wed, 24 Aug 2022 12:00:12 -0400
|
|
|
f143d5 |
Subject: [PATCH] Removed logical space check from table line.
|
|
|
f143d5 |
|
|
|
f143d5 |
Until the LVM tooling can be updated to use accurate sizes, this check
|
|
|
f143d5 |
can't be implemented.
|
|
|
f143d5 |
|
|
|
f143d5 |
Signed-off-by: Andrew Walsh <awalsh@redhat.com>
|
|
|
f143d5 |
---
|
|
|
f143d5 |
vdo/vdo-component.c | 7 -------
|
|
|
f143d5 |
1 file changed, 7 deletions(-)
|
|
|
f143d5 |
|
|
|
f143d5 |
diff --git a/vdo/vdo-component.c b/vdo/vdo-component.c
|
|
|
f143d5 |
index ac1ac1f7..50ba438b 100644
|
|
|
f143d5 |
--- a/vdo/vdo-component.c
|
|
|
f143d5 |
+++ b/vdo/vdo-component.c
|
|
|
f143d5 |
@@ -303,13 +303,6 @@ int vdo_validate_config(const struct vdo_config *config,
|
|
|
f143d5 |
if (result != UDS_SUCCESS) {
|
|
|
f143d5 |
return result;
|
|
|
f143d5 |
}
|
|
|
f143d5 |
-
|
|
|
f143d5 |
- if (logical_block_count != config->logical_blocks) {
|
|
|
f143d5 |
- uds_log_error("A logical size of %llu blocks was specified, but that differs from the %llu blocks configured in the vdo super block",
|
|
|
f143d5 |
- (unsigned long long) logical_block_count,
|
|
|
f143d5 |
- (unsigned long long) config->logical_blocks);
|
|
|
f143d5 |
- return VDO_PARAMETER_MISMATCH;
|
|
|
f143d5 |
- }
|
|
|
f143d5 |
}
|
|
|
f143d5 |
|
|
|
f143d5 |
result = ASSERT(config->logical_blocks <= MAXIMUM_VDO_LOGICAL_BLOCKS,
|
|
|
f143d5 |
--
|
|
|
f143d5 |
2.37.1
|
|
|
f143d5 |
|