summaryrefslogtreecommitdiff
path: root/lib/refcount.c
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2017-12-19 14:02:10 -0800
committerJason Gunthorpe <jgg@mellanox.com>2017-12-21 16:06:06 -0700
commitd14587334580bc94d3ee11e8320e0c157f91ae8f (patch)
treecde1433294bb203838d4e91da5833fa0ddc93deb /lib/refcount.c
parent96a236ed286776554fbd227c6d2876fd3b5dc65d (diff)
iw_cxgb4: when flushing, complete all wrs in a chain
If a wr chain was posted and needed to be flushed, only the first wr in the chain was completed with FLUSHED status. The rest were never completed. This caused isert to hang on shutdown due to the missing completions which left iscsi IO commands referenced, stalling the shutdown. Fixes: 4fe7c2962e11 ("iw_cxgb4: refactor sq/rq drain logic") Cc: stable@vger.kernel.org Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'lib/refcount.c')
0 files changed, 0 insertions, 0 deletions