Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msg/simple: apply prefetch policy more precisely #10344

Merged
merged 1 commit into from Aug 1, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/msg/simple/Pipe.cc
Expand Up @@ -2554,7 +2554,7 @@ ssize_t Pipe::buffered_recv(char *buf, size_t len, int flags)

/* nothing left in the prefetch buffer */

if (len > (size_t)recv_max_prefetch) {
if (left > (size_t)recv_max_prefetch) {
/* this was a large read, we don't prefetch for these */
ssize_t ret = do_recv(buf, left, flags );
if (ret < 0) {
Expand Down