Page MenuHomeFreeBSD

dt_unring_buf: set dtbd_oldest to the start of the first record
ClosedPublic

Authored by avg on Dec 24 2021, 10:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 18, 10:41 AM
Unknown Object (File)
Sat, Oct 11, 5:29 PM
Unknown Object (File)
Fri, Oct 10, 1:00 AM
Unknown Object (File)
Fri, Sep 26, 11:27 AM
Unknown Object (File)
Sep 20 2025, 11:36 PM
Unknown Object (File)
Sep 14 2025, 12:29 PM
Unknown Object (File)
Sep 3 2025, 6:15 PM
Unknown Object (File)
Aug 23 2025, 9:28 PM
Subscribers

Details

Summary

It was set to the start of the buffer and that can be different from the
start of teh first record because of a misalignment.

This change follows the example of dt_realloc_buf().

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

avg requested review of this revision.Dec 24 2021, 10:51 AM
This revision is now accepted and ready to land.Dec 24 2021, 10:57 AM

Thank you, Toomas.
Could you please run this change by illumos folks as well?
It seems that my emails to developer@lists.illumos.org are not reaching the list.

Sure, I was just starting the pickup, if you could mail me git format-patch output, it would be great (So I would get the author and date correct).