zfs/include/os/linux
Richard Yao 2f76797ad9
Linux: Assert mutex is held in mutex_exit()
A spurious mutex_exit() in a development branch caused weird issues
until I identified it. An assertion prior to mutex_exit() would have
caught it. Rather than adding assertions before invocations of
mutex_exit() in the code, let us simply add an assertion to
mutex_exit(). It is cheap and will likely improve developer
productivity.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Signed-off-by: Richard Yao <richard.yao@klarasystems.com>
Sponsored-By: Wasabi Technology, Inc.
Closes #14541
2023-02-28 17:27:20 -08:00
..
kernel/linux change how d_alias is replaced by du.d_alias 2023-01-12 10:14:04 -08:00
spl Linux: Assert mutex is held in mutex_exit() 2023-02-28 17:27:20 -08:00
zfs/sys Fix buffered/direct/mmap I/O race 2023-02-23 10:57:24 -08:00
Makefile.am Unify Assembler files between Linux and Windows 2023-01-17 11:09:19 -08:00