-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeBSD: Don't require zeroing new locks before init #10449
Conversation
This has not shown to be of use enough to justify the inconvenience. Signed-off-by: Ryan Moeller <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've never seen this assertion useful.
Codecov Report
@@ Coverage Diff @@
## master #10449 +/- ##
==========================================
- Coverage 79.58% 79.42% -0.16%
==========================================
Files 391 391
Lines 123872 123872
==========================================
- Hits 98586 98388 -198
- Misses 25286 25484 +198
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed by: [email protected]
This has not shown to be of use enough to justify the inconvenience. Reviewed-by: Matt Macy <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Allan Jude <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #10449
This has not shown to be of use enough to justify the inconvenience. Reviewed-by: Matt Macy <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Allan Jude <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes openzfs#10449
This has not shown to be of use enough to justify the inconvenience. Reviewed-by: Matt Macy <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Allan Jude <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes openzfs#10449
Signed-off-by: Ryan Moeller [email protected]
Motivation and Context
This has not shown to be of use enough to justify the inconvenience.
Description
Remove the KASSERT in FreeBSD's mutex_init. While here, change the confusing and meaningless value of MUTEX_DEFAULT to 0 instead of 6.
How Has This Been Tested?
Built on FreeBSD, did some basic testing by creating a pool, checking out ZFS sources onto the pool, and building ZFS.
Types of changes
Checklist:
Signed-off-by
.