diff options
author | Karsten Graul | 2020-07-26 20:34:28 +0200 |
---|---|---|
committer | David S. Miller | 2020-07-27 10:30:01 -0700 |
commit | 72b7f6c48708e4524765a2f1316063207d8e0cd5 (patch) | |
tree | efb004cf45b4e6b81233908c39c429259ab96a1a /fs/jbd2 | |
parent | 211e5b7a0007e6a172eafdb89c512768f82d73bf (diff) |
net/smc: unique reason code for exceeded max dmb count
When the maximum dmb buffer limit for an ism device is reached no more
dmb buffers can be registered. When this happens the reason code is set
to SMC_CLC_DECL_MEM indicating out-of-memory. This is the same reason
code that is used when no memory could be allocated for the new dmb
buffer.
This is confusing for users when they see this error but there is more
memory available. To solve this set a separate new reason code when the
maximum dmb limit exceeded.
Reviewed-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions