summaryrefslogtreecommitdiff
path: root/src/rbd.cc
diff options
context:
space:
mode:
authorSage Weil <sage.weil@dreamhost.com>2011-09-21 11:23:21 -0700
committerSage Weil <sage.weil@dreamhost.com>2011-09-21 16:27:06 -0700
commit82a1935197582748ac40c55fb71e83be4a4b58c4 (patch)
tree06e124dc500f656ac7c4d8b43b636192633a3c38 /src/rbd.cc
parentf488908c795a11ddf89ca808365e140cd84e595a (diff)
downloadceph-82a1935197582748ac40c55fb71e83be4a4b58c4.tar.gz
rbd: fix progress redraw
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Diffstat (limited to 'src/rbd.cc')
-rw-r--r--src/rbd.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rbd.cc b/src/rbd.cc
index 934d4cdc203..f80e1ad2919 100644
--- a/src/rbd.cc
+++ b/src/rbd.cc
@@ -129,6 +129,7 @@ struct MyProgressContext : public librbd::ProgressContext {
// << offset << " / " << total << " "
<< pc << "% complete...";
cout.flush();
+ last_pc = pc;
}
return 0;
}