summaryrefslogtreecommitdiff
path: root/iothread.c
diff options
context:
space:
mode:
authorHitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>2015-09-01 12:03:10 +0900
committerJeff Cody <jcody@redhat.com>2015-09-25 10:25:19 -0400
commite6fd57ea297ec3aad32b24090c5d3757a99df3fe (patch)
treefd0d1139239a34d8ba012a2a1b6370023d768fc1 /iothread.c
parent498f21405a286f718a0767c791b7d2db19f4e5bd (diff)
downloadqemu-e6fd57ea297ec3aad32b24090c5d3757a99df3fe.tar.gz
qemu-e6fd57ea297ec3aad32b24090c5d3757a99df3fe.tar.bz2
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 'iothread.c')
0 files changed, 0 insertions, 0 deletions