]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add O_DIRECT flag to DD for cache bypass
authorrscheff <rscheff@FreeBSD.org>
Thu, 4 Jun 2020 20:47:11 +0000 (20:47 +0000)
committerrscheff <rscheff@FreeBSD.org>
Thu, 4 Jun 2020 20:47:11 +0000 (20:47 +0000)
commita71bce46fbbd94e017815f181c035738a6615ab1
tree880a891e84535997f265e8222674e30634ce3599
parent933837ffb5e11d4274e16969b82b4445ed17812a
Add O_DIRECT flag to DD for cache bypass

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.

Reviewed by: rgrimes (mentor)
Approved by: rgrimes (mentor, blanket)
MFC after: 3 weeks
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D25066
bin/dd/args.c
bin/dd/dd.1
bin/dd/dd.c
bin/dd/dd.h