diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-05-19 22:22:55 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-05-23 04:59:16 +0200 |
commit | 59ffd84141472c45a1729a739e4730f974d26e63 (patch) | |
tree | 4790475b37a8130049ca6b33c2fe4115ee709e94 /fs/cifs/cifssmb.c | |
parent | cifs: make cifs_send_async take a kvec array (diff) | |
download | linux-59ffd84141472c45a1729a739e4730f974d26e63.tar.xz linux-59ffd84141472c45a1729a739e4730f974d26e63.zip |
cifs: add ignore_pend flag to cifs_call_async
The current code always ignores the max_pending limit. Have it instead
only optionally ignore the pending limit. For CIFSSMBEcho, we need to
ignore it to make sure they always can go out. For async reads, writes
and potentially other calls, we need to respect it.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r-- | fs/cifs/cifssmb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 8791c74575d9..e0d24135b3c6 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -743,7 +743,7 @@ CIFSSMBEcho(struct TCP_Server_Info *server) iov.iov_base = smb; iov.iov_len = be32_to_cpu(smb->hdr.smb_buf_length) + 4; - rc = cifs_call_async(server, &iov, 1, cifs_echo_callback, server); + rc = cifs_call_async(server, &iov, 1, cifs_echo_callback, server, true); if (rc) cFYI(1, "Echo request failed: %d", rc); |