Signed-off-by: Sage Weil <sage@inktank.com>
stripe_count = 1;
}
+ // initialize layout
+ memset(&layout, 0, sizeof(layout));
+ layout.fl_stripe_unit = stripe_unit;
+ layout.fl_stripe_count = stripe_count;
+ layout.fl_object_size = 1ull << order;
+ layout.fl_pg_pool = data_ctx.get_id(); // FIXME: pool id overflow?
return 0;
}
ImageCtx *parent;
uint64_t stripe_unit, stripe_count;
+ ceph_file_layout layout;
+
ObjectCacher *object_cacher;
LibrbdWriteback *writeback_handler;
ObjectCacher::ObjectSet *object_set;