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)
Fri, Mar 21, 6:11 AM
Unknown Object (File)
Fri, Mar 7, 2:25 AM
Unknown Object (File)
Tue, Mar 4, 8:41 PM
Unknown Object (File)
Sun, Mar 2, 12:51 PM
Unknown Object (File)
Feb 22 2025, 12:17 PM
Unknown Object (File)
Feb 9 2025, 6:16 AM
Unknown Object (File)
Feb 7 2025, 10:46 PM
Unknown Object (File)
Feb 4 2025, 5:13 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).