diff options
author | Bart Van Assche <bvanassche@acm.org> | 2014-10-19 18:05:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-12-06 15:55:37 -0800 |
commit | a5d7c9df4beacdbca74adc8fe3e5b34c789d3b12 (patch) | |
tree | 4b1703b8c4fcdf2e81ff12fa23a6f64339a7f299 /drivers/ata/pata_samsung_cf.c | |
parent | 76e2a479d387ff9777b273a1e8af3120c1c6ba48 (diff) | |
download | lwn-a5d7c9df4beacdbca74adc8fe3e5b34c789d3b12.tar.gz lwn-a5d7c9df4beacdbca74adc8fe3e5b34c789d3b12.zip |
srp-target: Retry when QP creation fails with ENOMEM
commit ab477c1ff5e0a744c072404bf7db51bfe1f05b6e upstream.
It is not guaranteed to that srp_sq_size is supported
by the HCA. So if we failed to create the QP with ENOMEM,
try with a smaller srp_sq_size. Keep it up until we hit
MIN_SRPT_SQ_SIZE, then fail the connection.
Reported-by: Mark Lehrer <lehrer@gmail.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ata/pata_samsung_cf.c')
0 files changed, 0 insertions, 0 deletions