[sheepdog] [PATCH v2] dog/farm: add an option for multi-thread cluster snapshot save process
Liu Yuan
namei.unix at gmail.com
Mon Aug 11 05:44:43 CEST 2014
On Mon, Aug 11, 2014 at 10:50:34AM +0900, Hitoshi Mitake wrote:
> At Sat, 9 Aug 2014 11:36:13 +0800,
> Liu Yuan wrote:
> >
> > There is no reason we can't multi-thread it. Let's go multi-threading and enjoy
> > boost.
> >
> > Consider that we often save snapshots on the fly so we use single thread as
> > default to minimize the impact of running cluster.
> >
> > usage:
> > $ dog cluster snapshot save -m ... # enable multi-threads
> >
> > Signed-off-by: Liu Yuan <namei.unix at gmail.com>
> > ---
> > dog/cluster.c | 8 +++++++-
> > dog/farm/farm.c | 5 +++--
> > dog/farm/farm.h | 2 +-
> > 3 files changed, 11 insertions(+), 4 deletions(-)
>
> Applied with adding "m" to the accepted options of cluster snapshot
> command, thanks.
>
Ooops, thanks for correcting my mistake.
Yuan
More information about the sheepdog
mailing list