]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: add ignore_pend flag to cifs_call_async
authorJeff Layton <jlayton@redhat.com>
Thu, 19 May 2011 20:22:55 +0000 (16:22 -0400)
committerSteve French <sfrench@us.ibm.com>
Mon, 23 May 2011 02:59:16 +0000 (02:59 +0000)
commitf4c1672ae08524b873647485cd24de70fc4d6c2c
tree4790475b37a8130049ca6b33c2fe4115ee709e94
parent920315fed57bafb7fbebf1e7520343e7e5b0964b
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>
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c
fs/cifs/transport.c