From mboxrd@z Thu Jan 1 00:00:00 1970 From: Victor Denisov Subject: Re: blueprint: consistency groups Date: Thu, 28 Apr 2016 11:06:07 -0700 Message-ID: References: <20160325071933.GA14634@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-yw0-f169.google.com ([209.85.161.169]:34526 "EHLO mail-yw0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750847AbcD1SGJ (ORCPT ); Thu, 28 Apr 2016 14:06:09 -0400 Received: by mail-yw0-f169.google.com with SMTP id j74so118313849ywg.1 for ; Thu, 28 Apr 2016 11:06:08 -0700 (PDT) In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Jason Dillaman Cc: Gregory Farnum , Mykola Golub , ceph-devel , Josh Durgin I created a pull request for preliminary review: https://github.com/ceph/ceph/pull/8816 Please leave your comments if you have any. Currently it only has the following operations implemented: - create consistency group - remove consistency group - add image to consistency group - remove image from consistency group - list consistency groups On Wed, Apr 27, 2016 at 10:50 AM, Jason Dillaman wrote: > On Tue, Apr 26, 2016 at 6:33 PM, Victor Denisov wrote: >> One quick question: is image id unique across all pools? I'm >> referencing image using 'image_' key and then keeping pool >> id in the omap value. >> Is it safe? > > > No -- the image id is only guaranteed to be unique within the pool > that owns the image. You can use the pool id in combination with the > image id to form a unique key. > > -- > Jason