diff options
| author | 2017-11-29 16:47:30 -0800 | |
|---|---|---|
| committer | 2018-01-08 11:01:53 +0100 | |
| commit | 278e096063f1914fccfc77a617be9fc8dbb31b0e (patch) | |
| tree | 8bbb60c518b3ea73bc14e8848acff1e3acd969a9 /tools/perf/scripts/python/bin/export-to-postgresql-record | |
| parent | nvmet: lower log level for each queue creation (diff) | |
| download | wireguard-linux-278e096063f1914fccfc77a617be9fc8dbb31b0e.tar.xz wireguard-linux-278e096063f1914fccfc77a617be9fc8dbb31b0e.zip | |
nvme_fcloop: fix abort race condition
A test case revealed a race condition of an i/o completing on a thread
parallel to the delete_association generating the aborts for the
outstanding ios on the controller. The i/o completion was freeing the
target fcloop context, thus the abort task referenced the just-freed
memory.
Correct by clearing the target/initiator cross pointers in the io
completion and abort tasks before calling the callbacks. On aborts
that detect already finished io's, ensure the complete context is
called.
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions
