projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
830814d
)
Unbreak output buffer logging over the network
author
Jens Axboe
<axboe@fb.com>
Tue, 27 Oct 2015 08:44:01 +0000
(17:44 +0900)
committer
Jens Axboe
<axboe@fb.com>
Tue, 27 Oct 2015 08:44:01 +0000
(17:44 +0900)
log_local_buf() is for the server to log locally, use
log_info_buf() to log over the specified channel.
Signed-off-by: Jens Axboe <axboe@fb.com>
lib/output_buffer.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/output_buffer.c
b/lib/output_buffer.c
index da7087470ec41f131f0f03d8112086c223ab6bf8..03cd848bfd9f05aa9dbace684766503b17d6ea55 100644
(file)
--- a/
lib/output_buffer.c
+++ b/
lib/output_buffer.c
@@
-39,7
+39,7
@@
size_t buf_output_flush(struct buf_output *out)
size_t ret = 0;
if (out->buflen) {
- ret = log_
local
_buf(out->buf, out->buflen);
+ ret = log_
info
_buf(out->buf, out->buflen);
memset(out->buf, 0, out->max_buflen);
out->buflen = 0;
}