[sheepdog] [PATCH 1/2] farm: remove xattr code in sha1.c
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Wed Jul 24 12:08:41 CEST 2013
At Wed, 24 Jul 2013 13:36:41 +0800,
Liu Yuan wrote:
>
> refcount of sha1 file for deletion makes use of xattr, but currently we don't
> support snapshot deletion yet.
>
> This patch remove xattr code completely because:
> - deletion snapshots can be exercised by
> 1. export the snapshots you want to keep to another snapshot storage
> 2. delete the old snapshot storage.
>
> - Assume storage for storing snapshots to support xattr is very lame, e.g., we
> we can't rely on Amazon's S3 storage to support kind of xattr.
>
> Signed-off-by: Liu Yuan <namei.unix at gmail.com>
> ---
> collie/farm/farm.h | 1 -
> collie/farm/sha1_file.c | 54 -----------------------------------------------
> 2 files changed, 55 deletions(-)
Applied both, thanks!
Kazutaka
More information about the sheepdog
mailing list