summaryrefslogtreecommitdiffstats
path: root/src/os
diff options
context:
space:
mode:
authorIgor Fedotov <igor.fedotov@croit.io>2023-12-22 21:20:27 +0100
committerIgor Fedotov <igor.fedotov@croit.io>2023-12-22 22:05:26 +0100
commit273f359380bab87ae46b3325ea45940912533fe5 (patch)
treeedae94278131d22b12eb306121072c698eca285a /src/os
parentMerge pull request #53191 from rzarzynski/wip-all-kickoff-s-2 (diff)
downloadceph-273f359380bab87ae46b3325ea45940912533fe5.tar.xz
ceph-273f359380bab87ae46b3325ea45940912533fe5.zip
os/bluestore: report effective bluestore_allocation_from_file in osd
metadata. Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
Diffstat (limited to 'src/os')
-rw-r--r--src/os/bluestore/BlueStore.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc
index 25a8520bce0..7b89f0e46fd 100644
--- a/src/os/bluestore/BlueStore.cc
+++ b/src/os/bluestore/BlueStore.cc
@@ -11521,6 +11521,7 @@ void BlueStore::collect_metadata(map<string,string> *pm)
}
}
(*pm)["bluestore_min_alloc_size"] = stringify(min_alloc_size);
+ (*pm)["bluestore_allocation_from_file"] = stringify(fm && fm->is_null_manager());
}
int BlueStore::get_numa_node(