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)
Tue, May 12, 4:05 PM
Unknown Object (File)
Mon, May 11, 3:28 AM
Unknown Object (File)
Mon, May 11, 2:17 AM
Unknown Object (File)
Sun, May 3, 12:06 AM
Unknown Object (File)
Sat, May 2, 8:48 AM
Unknown Object (File)
Wed, Apr 29, 5:27 AM
Unknown Object (File)
Wed, Apr 29, 5:23 AM
Unknown Object (File)
Thu, Apr 23, 2:29 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