[sheepdog] [PATCH] sheep : add new strage type "split"
Liu Yuan
namei.unix at gmail.com
Tue Dec 23 13:10:17 CET 2014
On Mon, Dec 22, 2014 at 05:22:05PM +0900, Saeki Masaki wrote:
> This patch is an experimental. So Please check with caution.
>
> Current sheepdog stores whole objects in single directory like "/var/lib/sheepdog/obj"
> This mechanism is difficult to handle massive files when increasing cluster volume.
>
> In particular, inode object having special informations about VDI,
> so it is preferable to divide directory.
>
> New storage type is named "split"
> It separates the inode object and data object to some directory.
>
> How to use.
> specify --store option at the time dog cluster format
>
> dog cluster format --store split
I don't have time to review the code but I'd like to give you some advices:
- The patch aims to bring hierachy to the store. How about the name 'tree_store'
which implies a tree structure and use "tree" as the driver name
- You should place the new store code into a standalone file, named
"xxx_store.c".
Thanks
Yuan
More information about the sheepdog
mailing list