qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH]: set up rbd snapshot handling


From: Christoph Hellwig
Subject: Re: [Qemu-devel] [PATCH]: set up rbd snapshot handling
Date: Wed, 11 Jan 2012 05:00:04 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

> +static int qemu_rbd_snap_remove(BlockDriverState *bs,
> +                                const char *snapshot_name)
> +{
> +    BDRVRBDState *s = bs->opaque;
> +    int r;
> +
> +    r = rbd_snap_remove(s->image, snapshot_name);

> +    r = rbd_snap_rollback(s->image, snapshot_name);

Have these functions been available since day 1 in librbd or should they
get a version checks like the cache flush call?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]