Thread (26 messages) flat view 26 messages, 2 authors, 2016-11-30

Re: [PATCH v2 09/14] cxlflash: Wait for active AFU commands to timeout upon tear down

From: Uma Krishnan <hidden>
Date: 2016-11-30 22:11:54
Also in: linux-scsi

From: "Matthew R. Ochs" <redacted>

With the removal of the static private command pool, the ability to
'complete' outstanding commands was lost. While not an issue for the
commands originating outside the driver, internal AFU commands are
synchronous and therefore have a timeout associated with them. To
avoid a stale memory access, the tear down sequence needs to ensure
that there are not any active commands before proceeding. As these
internal AFU commands are rare events, the simplest way to accomplish
this is detecting the activity and waiting for it to timeout.

Signed-off-by: Matthew R. Ochs <redacted>
Acked-by: Uma Krishnan <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help