[Ocfs2-tools-devel] [RFC 7/8] dx_dirs v4: error info for rebalance non-full dx leaf

Coly Li coly.li at suse.de
Wed Jan 20 07:25:39 PST 2010


This patch adds an error code and info for a failure while trying to rebalance a non-full dx leaf.

Signed-off-by: Coly Li <coly.li at suse.de>
---
 ocfs2_err.et |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libocfs2/ocfs2_err.et b/libocfs2/ocfs2_err.et
index 13b03c4..e8bcf45 100644
--- a/libocfs2/ocfs2_err.et
+++ b/libocfs2/ocfs2_err.et
@@ -189,6 +189,9 @@ ec	OCFS2_ET_CORRUPT_QUOTA_FILE,
 ec	OCFS2_ET_CANNOT_DETERMINE_SECTOR_SIZE,
 	"Cannot determine sector size"

+ec	OCFS2_ET_DX_BALANCE_EMPTY_LEAF,
+	"Trying to rebalance empty leaf for indexed dir"
+
 ec	OCFS2_ET_NONEMTY_QUOTA_HASH,
 	"Freeing non-empty quota hash"

-- 
Coly Li
SuSE Labs



More information about the Ocfs2-tools-devel mailing list