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

Fix ZIL clone records for legacy holes #16165

Merged
merged 1 commit into from
May 9, 2024

Commits on May 4, 2024

  1. Fix ZIL clone records for legacy holes

    Previous code overengineered cloned range calculation by using
    BP_GET_LSIZE(). The problem is that legacy holes don't have the
    logical size, so result will be wrong.  But we also don't need
    to look on every block size, since they all must be identical.
    
    Signed-off-by:	Alexander Motin <[email protected]>
    Sponsored by:	iXsystems, Inc.
    amotin committed May 4, 2024
    Configuration menu
    Copy the full SHA
    18ae7ca View commit details
    Browse the repository at this point in the history