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

dbuf: Set dr_data when unoverriding after clone #15656

Merged
merged 1 commit into from
Dec 12, 2023

Commits on Dec 9, 2023

  1. dbuf: Set dr_data when unoverriding after clone

    Block cloning normally creates dirty record without dr_data.  But if
    the block is read after cloning, it is moved into DB_CACHED state and
    receives the data buffer.  If after that we call dbuf_unoverride()
    to convert the dirty record into normal write, we should give it the
    data buffer from dbuf and release one.
    
    Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
    Sponsored by:	iXsystems, Inc.
    amotin committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    a80aecf View commit details
    Browse the repository at this point in the history