diff options
author | Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp> | 2015-09-01 12:03:10 +0900 |
---|---|---|
committer | Jeff Cody <jcody@redhat.com> | 2015-09-25 10:25:19 -0400 |
commit | e6fd57ea297ec3aad32b24090c5d3757a99df3fe (patch) | |
tree | fd0d1139239a34d8ba012a2a1b6370023d768fc1 /target-sh4/gdbstub.c | |
parent | 498f21405a286f718a0767c791b7d2db19f4e5bd (diff) |
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 'target-sh4/gdbstub.c')
0 files changed, 0 insertions, 0 deletions