Commit f2c449320d547bd5c281649eb1d99afb20765144

Authored by Andy Grover
Committed by David S. Miller
1 parent 335776bd69

RDS: Add a debug message suggesting to load transport modules

Now that RDS transports are no longer compiled-in to RDS core,
there is now the possibility that they will not be loaded. This
adds a helpful suggestion when rds_bind() fails to find a transport.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff

... ... @@ -187,6 +187,9 @@
187 187 if (trans == NULL) {
188 188 ret = -EADDRNOTAVAIL;
189 189 rds_remove_bound(rs);
  190 + if (printk_ratelimit())
  191 + printk(KERN_INFO "RDS: rds_bind() could not find a transport, "
  192 + "load rds_tcp or rds_rdma?\n");
190 193 goto out;
191 194 }
192 195