]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/librbd/ImageCtx.h
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / librbd / ImageCtx.h
index fe1c4828cabbd85dc030bf8009e63301bc36f89b..df5271e8efae7fde70291916129b30feb037caa8 100644 (file)
@@ -182,6 +182,7 @@ namespace librbd {
     uint64_t readahead_disable_after_bytes;
     bool clone_copy_on_read;
     bool enable_alloc_hint;
+    uint32_t alloc_hint_flags = 0U;
     uint32_t discard_granularity_bytes = 0;
     bool blkin_trace_all;
     uint64_t mirroring_replay_delay;
@@ -223,7 +224,7 @@ namespace librbd {
     ~ImageCtx();
     void init();
     void shutdown();
-    void init_layout();
+    void init_layout(int64_t pool_id);
     void perf_start(std::string name);
     void perf_stop();
     void set_read_flag(unsigned flag);