[sheepdog] [PATCH v3 3/3] journal: new journal flag JF_DELETE_OBJ for deleting object

Liu Yuan namei.unix at gmail.com
Mon May 6 16:20:08 CEST 2013


On 05/06/2013 10:15 PM, Hitoshi Mitake wrote:
> Ah, I see. But the preallocated objects would consume disk
> space. Removing them physically would be benefitical for thin
> provisioning, I think. How do you think?

This is just the very unusual case and even if happens, only one extra
object is created, no? By the way, if we don't log the delete operation,
the 'discard command' doesn't return to the guest. So after restarting,
the guest will see the file is still there because inode isn't updated
successfully yet. Then people can re-delete the file, no?

Thanks,
Yuan



More information about the sheepdog mailing list