Page MenuHomeFreeBSD

Add O_DIRECT flag to DD for cache bypass
ClosedPublic

Authored by rscheff on May 30 2020, 12:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 5:45 PM
Unknown Object (File)
Mar 15 2024, 11:25 AM
Unknown Object (File)
Mar 8 2024, 2:11 AM
Unknown Object (File)
Jan 10 2024, 11:14 PM
Unknown Object (File)
Jan 4 2024, 12:54 AM
Unknown Object (File)
Dec 10 2023, 6:59 PM
Unknown Object (File)
Nov 10 2023, 1:33 AM
Unknown Object (File)
Nov 9 2023, 4:06 PM
Subscribers

Details

Summary

FreeBSD DD utility has not had support for the O_DIRECT flag, which
is useful to bypass local caching, e.g. for unconditionally issuing
NFS IO requests during testing.

Test Plan

Mount an NFS export. Perform dd reads twice in a row and validate
that traffic is observed on the network in the 2nd iteration also.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable