xfs
[Top] [All Lists]

[PATCH 1/2] xfsrestore: turn off NODECHK

To: xfs@xxxxxxxxxxx
Subject: [PATCH 1/2] xfsrestore: turn off NODECHK
From: wkendall@xxxxxxx
Date: Tue, 12 Oct 2010 16:53:23 -0500
References: <20101012215322.749700656@xxxxxxx>
User-agent: quilt/0.48-1
The NODECHK macro should only be enabled as needed for
development/debugging.  Having it on limits xfsrestore to
268 million directory entries instead of 4 billion. 

Signed-off-by: Bill Kendall <wkendall@xxxxxxx>

Index: xfsdump-kernel.org/restore/Makefile
===================================================================
--- xfsdump-kernel.org.orig/restore/Makefile
+++ xfsdump-kernel.org/restore/Makefile
@@ -103,7 +103,7 @@ LLDLIBS = $(LIBUUID) $(LIBHANDLE) $(LIBA
 LTDEPENDENCIES = $(LIBRMT)
 
 LCFLAGS = -DRESTORE -DRMT -DBASED -DDOSOCKS -DINVCONVFIX -DPIPEINVFIX \
-       -DEOMFIX -DSESSCPLT -DWHITEPARSE -DNODECHK -DDIRENTHDR_CHECKSUM \
+       -DEOMFIX -DSESSCPLT -DWHITEPARSE -DDIRENTHDR_CHECKSUM \
        -DF_FSSETDM
 
 default: depend $(LTCOMMAND)

<Prev in Thread] Current Thread [Next in Thread>