mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jie Yu <yujie....@gmail.com>
Subject Review Request 69944: Made the code more robust related to sendfile.
Date Mon, 11 Feb 2019 19:14:08 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/69944/
-----------------------------------------------------------

Review request for mesos, Andrei Budnik, Gilbert Song, and James Peach.


Repository: mesos


Description
-------

It's possible that sendfile returns less bytes written than requested.
Previously, we simply return an error in that case. This patch makes it
more robust by retrying sendfile if less bytes were written than
requested.


Diffs
-----

  src/linux/memfd.cpp PRE-CREATION 


Diff: https://reviews.apache.org/r/69944/diff/1/


Testing
-------

sudo make check


Thanks,

Jie Yu


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message