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
F166113651: D33649.id100534.diff
Tue, Aug 11, 8:15 PM
F166096008: D33649.id100534.diff
Tue, Aug 11, 4:53 PM
Unknown Object (File)
Mon, Aug 10, 11:19 AM
Unknown Object (File)
Mon, Aug 10, 4:59 AM
Unknown Object (File)
Sun, Aug 9, 5:21 PM
Unknown Object (File)
Sun, Aug 9, 12:56 PM
Unknown Object (File)
Fri, Aug 7, 5:15 PM
Unknown Object (File)
Fri, Aug 7, 11:29 AM
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).