diff options
author | Brian Behlendorf <[email protected]> | 2018-02-04 14:07:13 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2018-02-04 14:07:13 -0800 |
commit | 0d23f5e2e4532718ce26ec8411140759cf2367e2 (patch) | |
tree | 11024486cc8058473b75c0583dea4150228bc77b /module/zfs/zfs_log.c | |
parent | fbd42542686af053f0d162ec4630ffd4fff1cc30 (diff) |
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 <[email protected]>
Reviewed-by: RageLtMan <rageltman@sempervictus>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #7112
Closes #7115
Diffstat (limited to 'module/zfs/zfs_log.c')
0 files changed, 0 insertions, 0 deletions