All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFD] how to save the status of object for the cloned image
@ 2015-06-17  9:36 juncheng bai
  2015-06-17 10:25 ` Ilya Dryomov
  0 siblings, 1 reply; 2+ messages in thread
From: juncheng bai @ 2015-06-17  9:36 UTC (permalink / raw)
  To: Ilya Dryomov; +Cc: Ceph Development

Hi.

For cloned image, it is stateless about the object. when the write
offset is smaller than the parent_ovelap,it need to call
rbd_img_obj_exists_submit to check the object status every time.

I want to save the status of the object which it is within the scope
of parent_overlap.

The rbd client io unit is object, so i design that use idr to save
the status. The id of object is equal to write_offset >> obj_order.
In the idr, said object already exists. And the idr can provide a
quick query.

In this way, don't need the server do anything, but need query again
when remap.

Looking forward to your opinion.

Cheers.
----
juncheng bai




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-17 10:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-17  9:36 [RFD] how to save the status of object for the cloned image juncheng bai
2015-06-17 10:25 ` Ilya Dryomov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.