net/smc: use a workqueue to defer llc send
authorKarsten Graul <kgraul@linux.ibm.com>
Tue, 15 May 2018 15:04:59 +0000 (17:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2018 15:49:19 +0000 (11:49 -0400)
commit2a4c57a9e731fa7bd20b028ca078a0ab0ec2485e
treeafcc5c0fefefda9da14bf00daa21bce46554c9b4
parentb32cf4ab68c06619bacefc7157857a08e7fee695
net/smc: use a workqueue to defer llc send

SMC handles deferred work in tasklets. As tasklets cannot sleep this
can result in rare EBUSY conditions, so defer this work in a work queue.
The high level api functions do not defer work because they can sleep
until the llc send is actually completed.

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_core.c
net/smc/smc_core.h
net/smc/smc_llc.c
net/smc/smc_llc.h