Discussion:
[Libstoragemgmt-devel] [PATCH] trivial fix for EB size converting constants
Gris Ge
2014-04-15 12:30:21 UTC
Permalink
* 1 EB should equal to 10 ** 18 bytes.

Signed-off-by: Gris Ge <***@redhat.com>
---
lsm/lsm/_common.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lsm/lsm/_common.py b/lsm/lsm/_common.py
index 7ab30d4..19b0a24 100644
--- a/lsm/lsm/_common.py
+++ b/lsm/lsm/_common.py
@@ -142,7 +142,7 @@ SIZE_CONS = {
'P': 2 ** 50,
'p': 2 ** 50,
'EiB': 2 ** 60,
- 'EB': 10 ** 17,
+ 'EB': 10 ** 18,
'E': 2 ** 60,
'e': 2 ** 60,
}
--
1.8.3.1
Tony Asleson
2014-04-15 18:24:53 UTC
Permalink
Patch pushed.

Thanks,
Tony
Post by Gris Ge
* 1 EB should equal to 10 ** 18 bytes.
---
lsm/lsm/_common.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lsm/lsm/_common.py b/lsm/lsm/_common.py
index 7ab30d4..19b0a24 100644
--- a/lsm/lsm/_common.py
+++ b/lsm/lsm/_common.py
@@ -142,7 +142,7 @@ SIZE_CONS = {
'P': 2 ** 50,
'p': 2 ** 50,
'EiB': 2 ** 60,
- 'EB': 10 ** 17,
+ 'EB': 10 ** 18,
'E': 2 ** 60,
'e': 2 ** 60,
}
Loading...