Skip to content
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

iokit sync #106

Open
wants to merge 2 commits into
base: development
Choose a base branch
from
Open

Conversation

rottegift
Copy link
Collaborator

  • smd: fix taskq_empty_ent
  • handle_sync_iokit: don't reuse lhp on failure, and allow paranoia

The handle_sync_iokit commit needs @me eyeballs on what should be passed
upwards in the event of failure, and whether recovery can be done cleverly in
some caller.

IS_EMPTY macro does not catch case where tqent_prev and
tqent_next are NULL
Allow kstat.zfs.darwin.tunable.use_system_sync to control
whether we use the post-10.11 IOKit barrier sync or not.

Do not call the synchronize method a second time in the
same invocation of handle_sync_iokit.  Log the IOReturn error.
@rottegift rottegift self-assigned this Mar 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant