diff options
author | Liu Yuan <namei.unix@gmail.com> | 2013-10-23 16:51:52 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-10-28 17:40:00 +0100 |
commit | 1841f8801c8898fa57c66e27a08541ffcc6f3948 (patch) | |
tree | 6d32d358a5a5c695ea968733a77fbf00bad260a8 /block/raw-posix.c | |
parent | 29a67f7e9204a25bc4b6221f287ad0ae38d8cbdc (diff) |
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 <kwolf@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>
Acked-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/raw-posix.c')
0 files changed, 0 insertions, 0 deletions