All of lore.kernel.org
 help / color / mirror / Atom feed
* [librbd] Add interface of get the snapshot size?
@ 2014-03-24 13:30 Haomai Wang
  2014-03-24 13:40 ` Wido den Hollander
  2014-03-24 13:50 ` Andrey Korolyov
  0 siblings, 2 replies; 4+ messages in thread
From: Haomai Wang @ 2014-03-24 13:30 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org

Hi all,

As we know, snapshot is a lightweight resource in librbd and we
doesn't have any statistic informations about it. But it causes some
problems to the cloud management.

We can't measure the size of snapshot, different snapshot will occur
different space. So we don't have way to estimate the resource usage
of user.

Maybe we can have a counter to record space usage when volumn created.
When creating snapshot, the counter is freeze and store as the size of
snapshot. New counter will assign to zero for the volume.

Any feedback is appreciate!

-- 

Best Regards,

Wheat

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

end of thread, other threads:[~2014-03-25  3:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-24 13:30 [librbd] Add interface of get the snapshot size? Haomai Wang
2014-03-24 13:40 ` Wido den Hollander
2014-03-24 13:50 ` Andrey Korolyov
2014-03-25  3:22   ` Josh Durgin

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.