Page MenuHomeFreeBSD

First cut at fixing locking on da.
AbandonedPublic

Authored by imp on Feb 20 2018, 11:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 11:00 AM
Unknown Object (File)
Tue, Nov 19, 11:00 AM
Unknown Object (File)
Tue, Nov 19, 11:00 AM
Unknown Object (File)
Oct 22 2024, 1:55 PM
Unknown Object (File)
Oct 22 2024, 1:54 PM
Unknown Object (File)
Oct 22 2024, 1:54 PM
Unknown Object (File)
Oct 22 2024, 1:54 PM
Unknown Object (File)
Oct 22 2024, 1:32 PM
Subscribers

Details

Reviewers
hselasky

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15422
Build 15471: arc lint + arc unit

Event Timeline

daerror should be called with the periph lock held, assert it rather
than take it.

This revision is now accepted and ready to land.Feb 25 2018, 12:24 PM

I have the hardware, finally, to try to reproduce this. I should be able to try later today.

This revision now requires review to proceed.Mar 7 2018, 11:11 PM

updated... I can't get this one to fail, but I couldn't get it to fail before.... Can you test?

I cannot reproduce the panic with this patch.

Add lock around TUR stuff in response to a AEN

Ping - any news?

This was committed, but the code review wasn't closed, it seems....
commit 46e5edc20664bd3192e0a80a7fcaf21b1d674993
Author: imp <imp@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Date: Mon Mar 12 15:17:16 2018 +0000

Tighten up periph lock to avoid some races

Make sure the periph lock is held around rmw access to softc data,
espeically flags, including work flags in iosched.
Add asserts for the periph lock where it should be held.

PR: 226510
Sponsored by: Netflix
Differential Review: https://reviews.freebsd.org/D14456


git-svn-id: svn+ssh://svn.freebsd.org/base/head@330796 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

This has been committed.