Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

iob_prefetch - prefetch data for I/O batch

Description

       iob_prefetch makes sure the next n bytes are in memory.

       This  is  useful  when  serving large files over the network concurrently.  Prefetching the data can then
       reduce hard disk head movement and enhance throughput.

Name

       iob_prefetch - prefetch data for I/O batch

See Also

iob_reset(3), iob_send(3), iob_addbuf(3), iob_adds_free(3), iob_addfile(3)

                                                                                                 iob_prefetch(3)

Syntax

#include<libowfat/iob.h>

       void iob_prefetch(io_batch* b,uint64 n);

See Also