[sheepdog] [PATCH] sheep: use ftruncate instead of writing to the last sector

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon Oct 8 05:05:05 CEST 2012


At Fri,  5 Oct 2012 11:47:02 +0900,
MORITA Kazutaka wrote:
> 
> This also moves err_to_sderr to outside prealloc because we cannot
> know the oid of the file inside prealloc.
> 
> Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
> ---
>  sheep/object_cache.c |    4 ++--
>  sheep/plain_store.c  |   44 ++++++++++++--------------------------------
>  2 files changed, 14 insertions(+), 34 deletions(-)

Applied.



More information about the sheepdog mailing list