diff options
author | Mark Johnston <markj@freebsd.org> | 2020-06-30 15:35:29 -0400 |
---|---|---|
committer | Brian Behlendorf <behlendorf1@llnl.gov> | 2020-07-06 11:53:31 -0700 |
commit | 6e0056171234b84450af2afbb6594bd3b09422b5 (patch) | |
tree | 89ea4c7e98ddc130bc23004ad944c54ba78a3bc2 /cmd | |
parent | a4b0a74c7f346cab0a9ae3f8f55bd1a372e14336 (diff) |
Add a "try" operation for range locks
zfs_rangelock_tryenter() bails immediately instead of waiting for the
lock to become available. This will be used to resolve a deadlock in
the FreeBSD page-in code. No functional change intended.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Signed-off-by: Mark Johnston <markj@FreeBSD.org>
Closes #10519
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions