]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cifs: add a warning when the in-flight count goes negative
authorShyam Prasad N <sprasad@microsoft.com>
Fri, 9 Jun 2023 17:46:56 +0000 (17:46 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Sep 2023 08:46:54 +0000 (10:46 +0200)
commit997f3b2db5cdc9799e7f2efedbc78562a3150999
tree59efbb9d016ef999bfd867eef71a0de89ffa7082
parent0ce9d7bff05d5385b5f56ae5cc24c4d98fc8052e
cifs: add a warning when the in-flight count goes negative

[ Upstream commit e4645cc2f1e2d6f268bb8dcfac40997c52432aed ]

We've seen the in-flight count go into negative with some
internal stress testing in Microsoft.

Adding a WARN when this happens, in hope of understanding
why this happens when it happens.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/cifs/smb2ops.c