Skip to main content

submit_flush

Function submit_flush 

Source
fn submit_flush(port: &AhciPort) -> Result<(), AhciError>
Expand description

Issues FLUSH CACHE EXT (0xEA) and waits for the device acknowledgement.

The command carries no payload, so the PRDT is empty (PRDTL = 0) and no DMA buffer is allocated. fsync must not report success before this returns, otherwise the write-back cache can still lose acknowledged writes.