[Sheepdog] [PATCH 1/2] deleting data objects of a vdi before deleting the inode
levin li
levin108 at gmail.com
Sat Apr 28 03:19:45 CEST 2012
On 04/28/2012 12:00 AM, Christoph Hellwig wrote:
> This patch seems to break deletions of volumes if there was any data
> in them, e.g.
>
> collie vdi create test 10G
> collie vdi write test (...)
> collie vdi delete test
> collie vdi list
> Name Id Size Used Shared Creation time VDI id Tag
> test 1 0.0 MB 0.0 MB 0.0 MB 2012-04-27 17:49 7c2b25
>
When deleting some data object failed, I make the vdi marked as
deleted by setting the size to zero, then the vdi should never be
used any more, then we can delete again.
More information about the sheepdog
mailing list