[PATCH v2 2/8] xfsdump: remove multi-stream synchronous dir dump
Alex Elder
aelder at sgi.com
Mon Nov 7 20:02:06 CST 2011
On Mon, 2011-11-07 at 14:58 -0600, 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>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
Nice change.
Reviewed-by: Alex Elder <aelder at sgi.com>
More information about the xfs
mailing list