[sheepdog] [PATCH v2] sheep/dog: introduce new bitmap for delete vdi
Hitoshi Mitake
mitake.hitoshi at gmail.com
Thu Dec 4 16:08:46 CET 2014
At Thu, 04 Dec 2014 18:24:10 +0900,
Saeki Masaki wrote:
>
> SD_OP_READ_DEL_VDI is used only dog&sheep communication.
> so move definition SD_OP_READ_DEL_VDI from sheepdog_proto.h to internal_proto.h
>
> Signed-off-by Masaki Saeki <saeki.masaki at po.ntts.co.jp>
> ---
> include/internal_proto.h | 1 +
> include/sheepdog_proto.h | 1 -
> 2 files changed, 1 insertions(+), 1 deletions(-)
Applied with modifying subject, thanks.
Hitoshi
>
> diff --git a/include/internal_proto.h b/include/internal_proto.h
> index ad2f3ed..74b50e1 100644
> --- a/include/internal_proto.h
> +++ b/include/internal_proto.h
> @@ -110,6 +110,7 @@
> #define SD_OP_OIDS_EXIST 0xC6
> #define SD_OP_VDI_STATE_SNAPSHOT_CTL 0xC7
> #define SD_OP_INODE_COHERENCE 0xC8
> +#define SD_OP_READ_DEL_VDIS 0xC9
>
> /* internal flags for hdr.flags, must be above 0x80 */
> #define SD_FLAG_CMD_RECOVERY 0x0080
> diff --git a/include/sheepdog_proto.h b/include/sheepdog_proto.h
> index 3785f26..c25e9f1 100644
> --- a/include/sheepdog_proto.h
> +++ b/include/sheepdog_proto.h
> @@ -45,7 +45,6 @@
> #define SD_OP_READ_VDIS 0x15
> #define SD_OP_FLUSH_VDI 0x16
> #define SD_OP_DEL_VDI 0x17
> -#define SD_OP_READ_DEL_VDIS 0x18
>
> /* macros in the SD_FLAG_CMD_XXX group are mutually exclusive */
> #define SD_FLAG_CMD_WRITE 0x01
> --
> 1.7.1
>
>
>
> --
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog
More information about the sheepdog
mailing list