version 1.16, 2019/02/18 22:47:34 |
version 1.17, 2019/02/21 22:08:53 |
|
|
* to find another. |
* to find another. |
*/ |
*/ |
|
|
LOG3(sess, "%s: flushed %jd KB total, %.2f%% uploaded", |
if (!sess->opts->dry_run) |
fl[up->cur->idx].path, |
LOG3(sess, "%s: flushed %jd KB total, %.2f%% " |
(intmax_t)up->stat.total / 1024, |
"uploaded", fl[up->cur->idx].path, |
100.0 * up->stat.dirty / up->stat.total); |
(intmax_t)up->stat.total / 1024, |
|
100.0 * up->stat.dirty / up->stat.total); |
send_up_reset(up); |
send_up_reset(up); |
return 1; |
return 1; |
case BLKSTAT_PHASE: |
case BLKSTAT_PHASE: |
|
|
return 0; |
return 0; |
} |
} |
io_lowbuffer_int(sess, *wb, &pos, *wbsz, up->cur->idx); |
io_lowbuffer_int(sess, *wb, &pos, *wbsz, up->cur->idx); |
up->stat.curst = BLKSTAT_NEXT; |
up->stat.curst = BLKSTAT_DONE; |
} else { |
} else { |
assert(up->stat.fd != -1); |
assert(up->stat.fd != -1); |
|
|