diff options
author | Jeff Layton <jlayton@redhat.com> | 2014-03-10 11:33:48 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-03-27 16:31:56 -0400 |
commit | c42a01eee74dfd9ba8f8abb7cb81dd9a8839dc7b (patch) | |
tree | cb3fba15e93003bf7c74baa962a38fab51d11146 /net/sunrpc | |
parent | 9f67f189939eccaa54f3d2c9cf10788abaf2d584 (diff) |
svcrdma: fix printk when memory allocation fails
It retries in 1s, not 1000 jiffies.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma_transport.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_transport.c b/net/sunrpc/xprtrdma/svc_rdma_transport.c index 62e4f9bcc38..25688fa2207 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_transport.c +++ b/net/sunrpc/xprtrdma/svc_rdma_transport.c @@ -477,8 +477,7 @@ struct page *svc_rdma_get_page(void) while ((page = alloc_page(GFP_KERNEL)) == NULL) { /* If we can't get memory, wait a bit and try again */ - printk(KERN_INFO "svcrdma: out of memory...retrying in 1000 " - "jiffies.\n"); + printk(KERN_INFO "svcrdma: out of memory...retrying in 1s\n"); schedule_timeout_uninterruptible(msecs_to_jiffies(1000)); } return page; |