mirror_zfs/tests/runfiles
Olaf Faaland ffb195c256 Release SCL_STATE in map_write_done()
The config lock must be held for the duration of the MMP write.
Since the I/Os are executed via map_nowait(), the done function
is the only place where we know the write has completed.

Since SCL_STATE is taken as reader, overlapping I/Os do not
create a deadlock.  The refcount is simply increased when new
I/Os are queued and decreased when I/Os complete.

Test case added which exercises the probe IO call path to
verify the fix and prevent a regression.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
Closes #6394
2017-07-25 12:25:05 -04:00
..
linux.run Release SCL_STATE in map_write_done() 2017-07-25 12:25:05 -04:00
Makefile.am Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
perf-regression.run OpenZFS - Performance regression suite for zfstest 2016-09-08 16:18:28 -07:00