Summary: | emulators/virtualbox-ose panic with aio(4) | ||
---|---|---|---|
Product: | Base System | Reporter: | Randy Westlund <rwestlun> |
Component: | kern | Assignee: | John Baldwin <jhb> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | jhb, pi, rwestlun |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(vbox) |
Version: | 11.0-STABLE | ||
Hardware: | Any | ||
OS: | Any |
Description
Randy Westlund
2016-07-26 18:14:59 UTC
Patch posted to https://reviews.freebsd.org/D7339 A commit references this bug: Author: jhb Date: Fri Jul 29 18:26:16 UTC 2016 New revision: 303501 URL: https://svnweb.freebsd.org/changeset/base/303501 Log: Fix locking issues with aio_fsync(). - Use correct lock in aio_cancel_sync when dequeueing job. - Add _locked variants of aio_set/clear_cancel_function and use those to avoid lock recursion when adding and removing fsync jobs to the per-process sync queue. - While here, add a basic test for aio_fsync(). PR: 211390 Reported by: Randy Westlund <rwestlun@gmail.com> MFC after: 1 week Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D7339 Changes: head/sys/kern/vfs_aio.c head/tests/sys/aio/aio_test.c A commit references this bug: Author: jhb Date: Fri Aug 5 22:23:04 UTC 2016 New revision: 303787 URL: https://svnweb.freebsd.org/changeset/base/303787 Log: MFC 303406,303501: Fix panic when using aio_fsync(). 303406: Adjust tests in fsync job scheduling loop to reduce indentation. 303501: Fix locking issues with aio_fsync(). - Use correct lock in aio_cancel_sync when dequeueing job. - Add _locked variants of aio_set/clear_cancel_function and use those to avoid lock recursion when adding and removing fsync jobs to the per-process sync queue. - While here, add a basic test for aio_fsync(). PR: 211390 Approved by: re (kib) Changes: _U stable/11/ stable/11/sys/kern/vfs_aio.c stable/11/tests/sys/aio/aio_test.c |