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 livelist assertions for dedup and cloning #15732

Merged
merged 1 commit into from
Jan 9, 2024

Commits on Jan 2, 2024

  1. Fix livelist assertions for dedup and cloning

    Two block pointers in livelist pointing to the same location may
    be caused not only by dedup, but also by block cloning. We should
    not assert D bit set in them.
    
    Two block pointers in livelist pointing to the same location may
    have different logical birth time in case of dedup or cloning. We
    should assert identical physical birth time instead.
    
    Assert identical physical block size between pointers in addition
    to checksum, since that is what checksums are calculated on.
    
    Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
    Sponsored by:	iXsystems, Inc.
    amotin committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    6e70123 View commit details
    Browse the repository at this point in the history