diff options
author | Jon Bailey <Jonathan.bailey1@ibm.com> | 2025-01-09 17:19:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-09 17:19:54 +0100 |
commit | 3383af5dd1a1057baa1dfaae2840b68a35ac9265 (patch) | |
tree | 75c5c5823af8294e21d06793e1cd7bc09efb9478 /src/common/json/ConfigStructures.h | |
parent | Merge pull request #52791 from clwluvw/location-constraint (diff) | |
parent | common/io_exerciser: Make chunksize so initial generated value is 4096 and ra... (diff) | |
download | ceph-3383af5dd1a1057baa1dfaae2840b68a35ac9265.tar.xz ceph-3383af5dd1a1057baa1dfaae2840b68a35ac9265.zip |
Merge pull request #60330 from JonBailey1993/JonBailey1993/ceph_test_rados_io_sequence_inject_error
common/io_exerciser: Add support to ceph_test_rados_io_sequence injecting errors for testing how erasure coding deals with error scenarios
Reviewed-by: Ronen Friedman <rfriedma@ibm.com>
Diffstat (limited to 'src/common/json/ConfigStructures.h')
-rw-r--r-- | src/common/json/ConfigStructures.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/common/json/ConfigStructures.h b/src/common/json/ConfigStructures.h new file mode 100644 index 00000000000..554229d75f4 --- /dev/null +++ b/src/common/json/ConfigStructures.h @@ -0,0 +1,24 @@ +#pragma once + +#include <optional> +#include <string> + +#include "include/types.h" + +class JSONObj; + +namespace ceph { +namespace messaging { +namespace config { +struct ConfigSetRequest { + std::string who; + std::string name; + std::string value; + std::optional<bool> force; + + void dump(Formatter* f) const; + void decode_json(JSONObj* obj); +}; +} // namespace config +} // namespace messaging +} // namespace ceph
\ No newline at end of file |