Skip to content

Commit 60ce0f9

Browse files
committed
libnvdimm, region: quiet region probe
The message about constraining number of online cpus to be less than or equal to ND_MAX_LANES (256) is only useful for block-aperture configurations and BTT. Make it debug since it is only relevant when debugging performance. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
1 parent 4f86722 commit 60ce0f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/nvdimm/region.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ static int nd_region_probe(struct device *dev)
2727
if (nd_region->num_lanes > num_online_cpus()
2828
&& nd_region->num_lanes < num_possible_cpus()
2929
&& !test_and_set_bit(0, &once)) {
30-
dev_info(dev, "online cpus (%d) < concurrent i/o lanes (%d) < possible cpus (%d)\n",
30+
dev_dbg(dev, "online cpus (%d) < concurrent i/o lanes (%d) < possible cpus (%d)\n",
3131
num_online_cpus(), nd_region->num_lanes,
3232
num_possible_cpus());
33-
dev_info(dev, "setting nr_cpus=%d may yield better libnvdimm device performance\n",
33+
dev_dbg(dev, "setting nr_cpus=%d may yield better libnvdimm device performance\n",
3434
nd_region->num_lanes);
3535
}
3636

0 commit comments

Comments
 (0)