Whamcloud - gitweb
Revert "LU-5050 libcfs: default CPT matches NUMA topology" 76/20376/2
authorOleg Drokin <oleg.drokin@intel.com>
Mon, 23 May 2016 01:58:05 +0000 (01:58 +0000)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 23 May 2016 02:00:15 +0000 (02:00 +0000)
This causes rhel7 to crash on start in libcfs init
100% of the time.

This reverts commit 6b929502063ac0fa8e75a3e09259e9b2b0d0ee6e.

Change-Id: I9b6276380b580e9d76ae21bf389f5e7edc1a4f18
Reviewed-on: http://review.whamcloud.com/20376
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Tested-by: Oleg Drokin <oleg.drokin@intel.com>
libcfs/libcfs/linux/linux-cpu.c

index 428b067..d3d40ce 100644 (file)
@@ -64,7 +64,7 @@ MODULE_PARM_DESC(cpu_npartitions, "# of CPU partitions");
  *
  * NB: If user specified cpu_pattern, cpu_npartitions will be ignored
  */
  *
  * NB: If user specified cpu_pattern, cpu_npartitions will be ignored
  */
-static char    *cpu_pattern = "N";
+static char    *cpu_pattern = "";
 module_param(cpu_pattern, charp, 0444);
 MODULE_PARM_DESC(cpu_pattern, "CPU partitions pattern");
 
 module_param(cpu_pattern, charp, 0444);
 MODULE_PARM_DESC(cpu_pattern, "CPU partitions pattern");