dt_unring_buf: set dtbd_oldest to the start of the first record
Work by Andriy Gapon:
It was set to the start of the buffer and that can be different from the
start of the first record because of a misalignment.
This change follows the example of dt_realloc_buf().
Testing done: in use in FreeBSD, my own testing on illumos has not shown unexpected results.
Updated by Electric Monk 7 months ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 050c24f35c93857f1022f99834086ade54e70547 Author: Andriy Gapon <avg@FreeBSD.org> Date: 2022-01-25T19:09:51.000Z 14326 dt_unring_buf: set dtbd_oldest to the start of the first record Reviewed by: Toomas Soome <firstname.lastname@example.org> Reviewed by: Rich Lowe <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>