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
F84141536: D25066.diff
Sun, May 19, 10:51 PM
Unknown Object (File)
Sun, May 19, 2:58 AM
Unknown Object (File)
Sat, May 18, 8:28 AM
Unknown Object (File)
Fri, May 17, 8:27 AM
Unknown Object (File)
Tue, May 14, 6:08 AM
Unknown Object (File)
Sun, May 5, 3:46 AM
Unknown Object (File)
Apr 20 2024, 5:45 PM
Unknown Object (File)
Mar 15 2024, 11:25 AM
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