summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_zydreg.h
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2019-11-27 16:12:14 +0000
committerBob Beck <beck@cvs.openbsd.org>2019-11-27 16:12:14 +0000
commit6bc9253650a6d1f44bf76ff7eccc184620ae0d3b (patch)
tree6eb242bd9721d83df2bf1f8f9bcdaa8283aacd1c /sys/dev/usb/if_zydreg.h
parent8de1f7ce9ccf459a9a193ce07197d31b06a746bd (diff)
Re-enable IO_NOCACHE, and use is in vnd.
Ensure that io to a file backing a vnd is IO_SYNC, so IO to a vnd device is both synchronous and not cached in the buffer cache. This allows the "mount" regress to work repeatably, and avoids a situation where when the buffer cache cleaner runs to clear dirty buffers while people are waiting, it actually increases the dirty buffers when the writes to the underlying vnd are also delayed. ok bluhm@
Diffstat (limited to 'sys/dev/usb/if_zydreg.h')
0 files changed, 0 insertions, 0 deletions