HomeFreeBSD

dt_unring_buf: set dtbd_oldest to the start of the first record

Description

dt_unring_buf: set dtbd_oldest to the start of the first record

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().

Reviewed by: tsoome, markj
MFC after: 4 weeks
Differential Revision: https://reviews.freebsd.org/D33649

Details

Provenance
avgAuthored on Jan 11 2022, 1:44 PM
Reviewer
tsoome
Differential Revision
D33649: dt_unring_buf: set dtbd_oldest to the start of the first record
Parents
rG75bc7150f4b8: add and use defintions for ATA power modes
Branches
Unknown
Tags
Unknown