summaryrefslogtreecommitdiff
path: root/lib/libc/sys/w_msync.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2020-05-26 13:38:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2020-05-26 13:38:08 +0000
commitb55a81d93991dbc0f8d6852310b1466e9591d5cd (patch)
tree3b928d435e1299ff31da71027d286ca7eae07763 /lib/libc/sys/w_msync.c
parent575493d48f8b50da3d3c53d526ce2fdc6f747424 (diff)
iodcstrategy() maintains a cache for READ performance (tapes are supported
here, and alternatively would need to rewind). WRITE code exists, but was always wrong -- it writes the cache-buffer to disk, rather than the provided write-buffer. Copy the write-buffer into the cache, and invalidate the cache completely so that future reads start from scratch.
Diffstat (limited to 'lib/libc/sys/w_msync.c')
0 files changed, 0 insertions, 0 deletions