[sheepdog] [PATCH v3] sheep: improve durability when creating object file

Liu Yuan namei.unix at gmail.com
Wed Mar 4 09:41:51 CET 2015


On Wed, Mar 04, 2015 at 04:33:12PM +0800, Xu Yifeng wrote:
> When creating a new file, make sure all data is written to disk, this is
> implemented in two steps:
> 
> 1. Temporary file is written and committed to disk, this includes file system
>    meta data and application data.
> 
> 2. The temporary file is renamed, the action should also be commited to disk
>    by calling fsync() on its directory.
> 
> Signed-off-by: Xu Yifeng <skypexu at gmail.com>

Applied, thanks.

Yuan



More information about the sheepdog mailing list