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)
Wed, Nov 13, 10:54 AM
Unknown Object (File)
Tue, Nov 12, 2:45 PM
Unknown Object (File)
Sun, Nov 10, 6:23 PM
Unknown Object (File)
Sun, Nov 10, 11:19 AM
Unknown Object (File)
Sun, Nov 10, 6:19 AM
Unknown Object (File)
Sun, Nov 10, 6:05 AM
Unknown Object (File)
Sun, Nov 10, 5:18 AM
Unknown Object (File)
Sun, Nov 10, 4:28 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).