Bug #15121
Protect against excessively large object map sizes
Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
hammer, infernalis
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
For example, creating a 1 exabyte RBD image w/ object map enabled would require 64GB of RAM to store.
Related issues
Associated revisions
cls_rbd: protect against excessively large object maps
Fixes: #15121
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
cls_rbd: protect against excessively large object maps
Fixes: #15121
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4aff4ea3290dc7fb62c639bfc74fcfdde5fe9542)
Conflicts:
src/cls/rbd/cls_rbd.cc
`RBD_METADATA_KEY_PREFIX` is not introduced on hammer, so remove
it
History
#1 Updated by Jason Dillaman about 8 years ago
- Status changed from New to Fix Under Review
- Assignee set to Jason Dillaman
#2 Updated by Jason Dillaman about 8 years ago
- Status changed from Fix Under Review to Pending Backport
#3 Updated by Nathan Cutler about 8 years ago
- Copied to Backport #15128: infernalis: Protect against excessively large object map sizes added
#4 Updated by Nathan Cutler about 8 years ago
- Copied to Backport #15129: hammer: Protect against excessively large object map sizes added
#5 Updated by Loïc Dachary over 7 years ago
- Status changed from Pending Backport to Resolved