[RFD] how to save the status of object for the cloned image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux