Re: RBD layering design draft

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

 



On Fri, Jun 22, 2012 at 7:36 AM, Guido Winkelmann
<guido-ceph@xxxxxxxxxxxxxxxxx> wrote:
>> rbd: Cannot unpreserve: Still in use by pool2/image2
>
> What if it's in use by a lot of images? Should it print them all, or should it
> print something like "Still in use by pool2/image2 and 50 others, use
> list_children to see them all"?

As walking through all the (potential) clones is an expensive
operation, this should abort as soon as possible, and just complain
about the one encountered so far. That could easily be a difference of
a few seconds vs tens of seconds. We don't even know the count,
without paying that cost, so that can't be printed either.
--
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