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

ZIL: Change ZIOs issue order. #15233

Merged
merged 1 commit into from
Sep 2, 2023
Merged

Commits on Sep 1, 2023

  1. ZIL: Change ZIOs issue order.

    In zil_lwb_write_issue(), after issuing lwb_root_zio/lwb_write_zio,
    we have no right to access lwb->lwb_child_zio. If it was not there,
    the first two ZIOs may have already completed and freed the lwb.
    ZIOs issue in opposite order from children to parent should keep
    the lwb valid till the end, since the lwb can be freed only after
    lwb_root_zio completion callback.
    
    Signed-off-by:	Alexander Motin <[email protected]>
    Sponsored by:	iXsystems, Inc.
    amotin committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    db1d254 View commit details
    Browse the repository at this point in the history