diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-05-19 20:22:55 (GMT) |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-05-23 02:59:16 (GMT) |
commit | 59ffd84141472c45a1729a739e4730f974d26e63 (patch) | |
tree | 4790475b37a8130049ca6b33c2fe4115ee709e94 /fs/cifs/cifsproto.h | |
parent | fcc31cb6f1ae6c4e64a463b124d3c2e9cbd7dd70 (diff) | |
download | linux-59ffd84141472c45a1729a739e4730f974d26e63.tar.xz |
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/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index f00aa74..3738a32 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -69,7 +69,7 @@ extern struct mid_q_entry *AllocMidQEntry(const struct smb_hdr *smb_buffer, extern void DeleteMidQEntry(struct mid_q_entry *midEntry); extern int cifs_call_async(struct TCP_Server_Info *server, struct kvec *iov, unsigned int nvec, mid_callback_t *callback, - void *cbdata); + void *cbdata, bool ignore_pend); extern int SendReceive(const unsigned int /* xid */ , struct cifsSesInfo *, struct smb_hdr * /* input */ , struct smb_hdr * /* out */ , |