diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-08-07 01:20:46 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-08-07 01:24:12 +0200 |
commit | 37ea9223f502ce4063231f5b6122ce74c055bd7e (patch) | |
tree | 59060fb72c9488b3cceabe9b218133c313002d34 /libmachdev/trivfs_server.h | |
parent | 49eae3b568ca925e9f0f928f8fb6dd8457d7d0b0 (diff) | |
download | hurd-37ea9223f502ce4063231f5b6122ce74c055bd7e.tar.gz hurd-37ea9223f502ce4063231f5b6122ce74c055bd7e.tar.bz2 hurd-37ea9223f502ce4063231f5b6122ce74c055bd7e.zip |
libpipe: Enforce write_limit for large writes
We are not supposed to buffer more than the requested buffer size, so
we should make the writer wait.
* libpipe/pipe.c (pipe_send): Limit write calls to the write_limit, and
loop around it to reach the requested amount.
Diffstat (limited to 'libmachdev/trivfs_server.h')
0 files changed, 0 insertions, 0 deletions