From db43d7b3f945f6fc488eaa4d045f7df8f0b32694 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Thu, 26 Aug 2010 13:51:40 +0200
Subject: [PATCH] Update man pages for the new -S option

---
 hbal.1   | 6 ++++++
 hspace.1 | 8 ++++++++
 2 files changed, 14 insertions(+)

diff --git a/hbal.1 b/hbal.1
index cec86c2f6..bb4edf998 100644
--- a/hbal.1
+++ b/hbal.1
@@ -441,6 +441,12 @@ The name of the file holding node and instance information (if not
 collecting via RAPI or LUXI). This or one of the other backends must
 be selected.
 
+.TP
+.BI "-S" datafile ", --save-cluster=" datafile
+If given, the state of the cluster at the end of the balancing is
+saved to the given file. This allows re-feeding the cluster state to
+either hbal itself or for example hspace.
+
 .TP
 .BI "-m" cluster
 Collect data directly from the
diff --git a/hspace.1 b/hspace.1
index ee168c041..34d147ed6 100644
--- a/hspace.1
+++ b/hspace.1
@@ -334,6 +334,14 @@ The name of the file holding node and instance information (if not
 collecting via RAPI or LUXI). This or one of the other backends must
 be selected.
 
+.TP
+.BI "-S" filename ", --save-cluster=" filename
+If given, the state of the cluster at the end of the allocation is
+saved to a file named \fIfilename.alloc\fR, and if tiered allocation
+is enabled, the state after tiered allocation will be saved to
+\fIfilename.tiered\fR. This allows re-feeding the cluster state to
+either hspace itself (with different parameters) or for example hbal.
+
 .TP
 .BI "-m" cluster
 Collect data directly from the
-- 
GitLab