mirror_zfs/module
Brian Behlendorf 0d23f5e2e4
Fix hash_lock / keystore.sk_dk_lock lock inversion
The keystore.sk_dk_lock should not be held while performing I/O.
Drop the lock when reading from disk and update the code so
they the first successful caller adds the key.

Improve error handling in spa_keystore_create_mapping_impl().

Reviewed by: Thomas Caputi <tcaputi@datto.com>
Reviewed-by: RageLtMan <rageltman@sempervictus>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7112 
Closes #7115
2018-02-04 14:07:13 -08:00
..
avl Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
icp Change movaps to movups in AES-NI code 2018-01-31 15:17:56 -08:00
nvpair Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
unicode Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
zcommon Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
zfs Fix hash_lock / keystore.sk_dk_lock lock inversion 2018-02-04 14:07:13 -08:00
.gitignore Improve gitignore 2017-05-25 10:14:13 -07:00
Makefile.in Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00