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
F149971706: D25066.diff
Sat, Mar 28, 12:03 PM
F149927875: D25066.diff
Sat, Mar 28, 4:23 AM
Unknown Object (File)
Fri, Mar 27, 4:56 PM
Unknown Object (File)
Thu, Mar 26, 8:55 AM
Unknown Object (File)
Tue, Mar 17, 11:34 AM
Unknown Object (File)
Sun, Mar 8, 4:41 AM
Unknown Object (File)
Sun, Mar 8, 4:23 AM
Unknown Object (File)
Tue, Mar 3, 2:45 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