On Fri, May 27, 2016 at 8:51 PM, Max Yehorov <myehorov@xxxxxxxxxx> wrote: > Hi, > If anyone has some insight or comments on the question: > > Q) Flatten with IO activity > For example I have a clone chain: > > IMAGE(PARENT) > image1(-) > image2(image1@snap0) > > image2 is mapped, mounted and has some IO activity. > > How safe to flatten image2 if it has ongoing IO It's no less safe than concurrent writes to the clone. "copyup" (guarded write) operation is atomic: data from the parent is pulled up into the clone only if the clone object doesn't already exist. flatten is essentially just a copyup of every object in the clone image. Thanks, Ilya _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com