mirror of
https://github.com/ceph/ceph
synced 2025-03-05 15:58:41 +00:00
os/bluestore/bluestore_types: FLAG_IMMUTABLE -> FLAG_MUTABLE
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
a2fe7e26ec
commit
442c75978e
@ -433,10 +433,10 @@ void bluestore_pextent_t::generate_test_instances(list<bluestore_pextent_t*>& ls
|
||||
string bluestore_blob_t::get_flags_string(unsigned flags)
|
||||
{
|
||||
string s;
|
||||
if (flags & FLAG_IMMUTABLE) {
|
||||
if (flags & FLAG_MUTABLE) {
|
||||
if (s.length())
|
||||
s += '+';
|
||||
s += "immutable";
|
||||
s += "mutable";
|
||||
}
|
||||
if (flags & FLAG_COMPRESSED) {
|
||||
if (s.length())
|
||||
|
@ -208,8 +208,8 @@ ostream& operator<<(ostream& out, const bluestore_overlay_t& o);
|
||||
/// blob: a piece of data on disk
|
||||
struct bluestore_blob_t {
|
||||
enum {
|
||||
FLAG_IMMUTABLE = 1, ///< blob cannot be overwritten or split
|
||||
FLAG_COMPRESSED = 2, ///< blob is compressed
|
||||
FLAG_MUTABLE = 1, ///< blob can be overwritten or split
|
||||
FLAG_COMPRESSED = 2, ///< blob is compressed
|
||||
};
|
||||
static string get_flags_string(unsigned flags);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user