[sheepdog] [PATCH 1/4] sheep: get the free disk space and store it in the config file
levin li
levin108 at gmail.com
Tue Aug 14 03:56:53 CEST 2012
On 2012年08月13日 18:32, Christoph Hellwig wrote:
> Sorry for beeing so late to the game, but what is the benefit of storing
> it? If we'd update the free space regularly a big advtange would be
> that sheepdog could deal with the fact that freespace changes. This
> can already happen just due to using sheepdog alone (e.g. log files
> growing like crazy if the debug level is high), or also be useful
> if the filesystem is shared with other users.
>
If we use the dynamic free space size, then there's a problem when we need
to recalculate the free space size, and also every time the free space size
is recalculated, we need to do recovery, we should also store the free space
size for each epoch, if not, we could not locate the object in older epoch,
as the vnode map varies in every epoch.
thanks,
levin
More information about the sheepdog
mailing list