[PATCH 2/8] xfsdump: remove multi-stream synchronous dir dump
Christoph Hellwig
hch at infradead.org
Thu Nov 3 03:22:48 CDT 2011
On Wed, Nov 02, 2011 at 04:10:48PM -0500, Bill Kendall wrote:
> When doing multi-stream dumps, the directories are dumped by each
> stream in lock-step fashion. A stream backs up a given directory,
> then waits for all others to finish that directory, then they all
> move on to the next one. During restore a single stream is chosen to
> apply the directory dump.
>
> This patch changes xfsdump so that only one stream dumps the
> directories. The other streams begin dumping files immediately.
> This results in a faster backup, which is presumably why multiple
> streams are being used in the first place.
>
> It also removes the barrier routines in qlock.c as they were only
> used by the "SYNCDIR" code.
>
> Signed-off-by: Bill Kendall <wkendall at sgi.com>
Looks good,
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the xfs
mailing list