]> Git Repo - qemu.git/commit
sheepdog: pass copy_policy in the request
authorLiu Yuan <[email protected]>
Wed, 23 Oct 2013 08:51:52 +0000 (16:51 +0800)
committerKevin Wolf <[email protected]>
Mon, 28 Oct 2013 16:40:00 +0000 (17:40 +0100)
commit1841f8801c8898fa57c66e27a08541ffcc6f3948
tree6d32d358a5a5c695ea968733a77fbf00bad260a8
parent29a67f7e9204a25bc4b6221f287ad0ae38d8cbdc
sheepdog: pass copy_policy in the request

Currently copy_policy isn't used. Recent sheepdog supports erasure coding, which
make use of copy_policy internally, but require client explicitly passing
copy_policy from base inode to newly creately inode for snapshot related
operations.

If connected sheep daemon doesn't utilize copy_policy, passing it to sheep
daemon is just one extra null effect operation. So no compatibility problem.

With this patch, sheepdog can provide erasure coded volume for QEMU VM.

Cc: Kevin Wolf <[email protected]>
Cc: Stefan Hajnoczi <[email protected]>
Signed-off-by: Liu Yuan <[email protected]>
Acked-by: MORITA Kazutaka <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/sheepdog.c
This page took 0.031703 seconds and 4 git commands to generate.