diff options
author | Josh Boyer <jwboyer@redhat.com> | 2012-05-11 13:19:06 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@redhat.com> | 2012-05-11 13:19:12 -0400 |
commit | d93939787e82899e1d624033e40a97f7997d075b (patch) | |
tree | 0df8b85aba5e207f0822d532b000ff6ea9db9ea9 | |
parent | 011b1a684211d2569ae51e34d1697000b4817444 (diff) | |
download | kernel-d93939787e82899e1d624033e40a97f7997d075b.tar.gz kernel-d93939787e82899e1d624033e40a97f7997d075b.tar.xz kernel-d93939787e82899e1d624033e40a97f7997d075b.zip |
Enable CONFIG_NFSD_FAULT_INJECTION on debug builds (suggested by Jeff Layton)
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | Makefile.release | 1 | ||||
-rw-r--r-- | config-debug | 2 | ||||
-rw-r--r-- | config-generic | 2 | ||||
-rw-r--r-- | config-nodebug | 2 | ||||
-rw-r--r-- | kernel.spec | 1 |
6 files changed, 7 insertions, 2 deletions
@@ -71,6 +71,7 @@ debug: @perl -pi -e 's/# CONFIG_EXT4_DEBUG is not set/CONFIG_EXT4_DEBUG=y/' config-nodebug @perl -pi -e 's/# CONFIG_DEBUG_PERF_USE_VMALLOC is not set/CONFIG_DEBUG_PERF_USE_VMALLOC=y/' config-nodebug @perl -pi -e 's/# CONFIG_JBD2_DEBUG is not set/CONFIG_JBD2_DEBUG=y/' config-nodebug + @perl -pi -e 's/# CONFIG_NFSD_FAULT_INJECTION is not set/CONFIG_NFSD_FAULT_INJECTION=y/' config-nodebug @perl -pi -e 's/# CONFIG_DEBUG_BLK_CGROUP is not set/CONFIG_DEBUG_BLK_CGROUP=y/' config-nodebug @perl -pi -e 's/# CONFIG_DRBD_FAULT_INJECTION is not set/CONFIG_DRBD_FAULT_INJECTION=y/' config-nodebug @perl -pi -e 's/# CONFIG_ATH_DEBUG is not set/CONFIG_ATH_DEBUG=y/' config-nodebug diff --git a/Makefile.release b/Makefile.release index 85fa9897..e3ad8071 100644 --- a/Makefile.release +++ b/Makefile.release @@ -51,6 +51,7 @@ config-release: @perl -pi -e 's/CONFIG_EXT4_DEBUG=y/# CONFIG_EXT4_DEBUG is not set/' config-nodebug @perl -pi -e 's/CONFIG_DEBUG_PERF_USE_VMALLOC=y/# CONFIG_DEBUG_PERF_USE_VMALLOC is not set/' config-nodebug @perl -pi -e 's/CONFIG_JBD2_DEBUG=y/# CONFIG_JBD2_DEBUG is not set/' config-nodebug + @perl -pi -e 's/CONFIG_NFSD_FAULT_INJECTION=y/# CONFIG_NFSD_FAULT_INJECTION is not set/' config-nodebug @perl -pi -e 's/CONFIG_DEBUG_BLK_CGROUP=y/# CONFIG_DEBUG_BLK_CGROUP is not set/' config-nodebug @perl -pi -e 's/CONFIG_DRBD_FAULT_INJECTION=y/# CONFIG_DRBD_FAULT_INJECTION is not set/' config-nodebug @perl -pi -e 's/CONFIG_ATH_DEBUG=y/# CONFIG_ATH_DEBUG is not set/' config-nodebug diff --git a/config-debug b/config-debug index 03964c6c..b9334f4a 100644 --- a/config-debug +++ b/config-debug @@ -72,6 +72,8 @@ CONFIG_DEBUG_PERF_USE_VMALLOC=y CONFIG_JBD2_DEBUG=y +CONFIG_NFSD_FAULT_INJECTION=y + CONFIG_DEBUG_BLK_CGROUP=y CONFIG_DRBD_FAULT_INJECTION=y diff --git a/config-generic b/config-generic index dafc6c00..8685d871 100644 --- a/config-generic +++ b/config-generic @@ -3571,8 +3571,6 @@ CONFIG_NFSD=m CONFIG_NFSD_V3=y CONFIG_NFSD_V3_ACL=y CONFIG_NFSD_V4=y -# Maybe see if we want this on for debug kernels? -# CONFIG_NFSD_FAULT_INJECTION is not set CONFIG_NFS_FSCACHE=y # CONFIG_NFS_USE_LEGACY_DNS is not set CONFIG_NFS_USE_NEW_IDMAPPER=y diff --git a/config-nodebug b/config-nodebug index c1475426..485f1b0a 100644 --- a/config-nodebug +++ b/config-nodebug @@ -72,6 +72,8 @@ CONFIG_DEBUG_PERF_USE_VMALLOC=y CONFIG_JBD2_DEBUG=y +CONFIG_NFSD_FAULT_INJECTION=y + CONFIG_DEBUG_BLK_CGROUP=y CONFIG_DRBD_FAULT_INJECTION=y diff --git a/kernel.spec b/kernel.spec index 2c513f7f..53b5feeb 100644 --- a/kernel.spec +++ b/kernel.spec @@ -2327,6 +2327,7 @@ fi # || || %changelog * Fri May 11 2012 Josh Boyer <jwboyer@redaht.com> +- Enable CONFIG_NFSD_FAULT_INJECTION on debug builds (suggested by Jeff Layton) - Enable CONFIG_SUNRPC_DEBUG (pointed out by Jeff Layton) * Fri May 11 2012 Josh Boyer <jwboyer@redhat.com> - 3.4.0-0.rc6.git3.1 |