Source
20
20
static int nd_region_probe(struct device *dev)
21
21
{
22
22
int err, rc;
23
23
static unsigned long once;
24
24
struct nd_region_data *ndrd;
25
25
struct nd_region *nd_region = to_nd_region(dev);
26
26
27
27
if (nd_region->num_lanes > num_online_cpus()
28
28
&& nd_region->num_lanes < num_possible_cpus()
29
29
&& !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",
31
31
num_online_cpus(), nd_region->num_lanes,
32
32
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",
34
34
nd_region->num_lanes);
35
35
}
36
36
37
37
rc = nd_region_activate(nd_region);
38
38
if (rc)
39
39
return rc;
40
40
41
41
rc = nd_blk_region_init(nd_region);
42
42
if (rc)
43
43
return rc;