diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-05-26 13:38:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-05-26 13:38:08 +0000 |
commit | b55a81d93991dbc0f8d6852310b1466e9591d5cd (patch) | |
tree | 3b928d435e1299ff31da71027d286ca7eae07763 /lib/libc/sys/w_msync.c | |
parent | 575493d48f8b50da3d3c53d526ce2fdc6f747424 (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