summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHitoshi Mitake2015-09-01 05:03:10 +0200
committerJeff Cody2015-09-25 16:25:19 +0200
commite6fd57ea297ec3aad32b24090c5d3757a99df3fe (patch)
treefd0d1139239a34d8ba012a2a1b6370023d768fc1 /include
parentsheepdog: use per AIOCB dirty indexes for non overlapping requests (diff)
downloadqemu-e6fd57ea297ec3aad32b24090c5d3757a99df3fe.tar.gz
qemu-e6fd57ea297ec3aad32b24090c5d3757a99df3fe.tar.xz
qemu-e6fd57ea297ec3aad32b24090c5d3757a99df3fe.zip
sheepdog: refine discard support
This patch refines discard support of the sheepdog driver. The existing discard mechanism was implemented on SD_OP_DISCARD_OBJ, which was introduced before fine grained reference counting on newer sheepdog. It doesn't care about relations of snapshots and clones and discards objects unconditionally. With this patch, the driver just updates an inode object for updating reference. Removing the object is done in sheep process side. Cc: Teruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp> Cc: Vasiliy Tolstov <v.tolstov@selfip.ru> Cc: Jeff Cody <jcody@redhat.com> Signed-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp> Tested-by: Vasiliy Tolstov <v.tolstov@selfip.ru> Message-id: 1441076590-8015-3-git-send-email-mitake.hitoshi@lab.ntt.co.jp Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions