mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
IB/iser: Avoid error prints on EAGAIN registration failures
Under IO/CPU stress its possible that the FMR pool might not have a free FMR mapping element for iSER to use because of incomplete background unmapping processing. In that case we get -EAGAIN and the IO is pushed back to the SCSI layer which soon retries it. No need to be so verbose about that. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
This commit is contained in:
parent
b96e4abaae
commit
819a087316
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ int iser_reg_rdma_mem(struct iscsi_iser_task *iser_task,
|
||||||
} else { /* use FMR for multiple dma entries */
|
} else { /* use FMR for multiple dma entries */
|
||||||
iser_page_vec_build(mem, ib_conn->page_vec, ibdev);
|
iser_page_vec_build(mem, ib_conn->page_vec, ibdev);
|
||||||
err = iser_reg_page_vec(ib_conn, ib_conn->page_vec, ®d_buf->reg);
|
err = iser_reg_page_vec(ib_conn, ib_conn->page_vec, ®d_buf->reg);
|
||||||
if (err) {
|
if (err && err != -EAGAIN) {
|
||||||
iser_data_buf_dump(mem, ibdev);
|
iser_data_buf_dump(mem, ibdev);
|
||||||
iser_err("mem->dma_nents = %d (dlength = 0x%x)\n",
|
iser_err("mem->dma_nents = %d (dlength = 0x%x)\n",
|
||||||
mem->dma_nents,
|
mem->dma_nents,
|
||||||
|
|
Loading…
Reference in a new issue