add progress indicator to btrfs-convert
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs-progs: add task-utilstask-util.c task-util.h | +154 | 1 reply | |
| 2/2 | btrfs-progs: convert: use task for progress indication of metadata creationDocumentation/ Makefile btrfs-convert.c | +64 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] add progress indicator to btrfs-convert
Hi btrfs-ml,
I have tried a ext4->btrfs conversation of a 1TB (90%full) and have seen that btrfs has no progressbar or something like that. Furthermore I have found [1] a project idea for this.
I have tried a generic tasklet-based solution to print the status of the convert-process. Maybe it looks good to you than please add this to your repo. I have implemented this with the linux specific timerfd facility. To enable this you haver to use the '-p' option.
I have noticed that a conversation doesn't show all inodes as converted at the end. How can I improve this? A complete convert-process is showd here:
sfr@devhost ./btrfs-progs % ./btrfs-convert -p /dev/sde4 creating btrfs metadata.
copy inodes [o] [ 96/ 106]
creating ext2fs image file.
cleaning up system chunk.
conversion complete.
[1] https://btrfs.wiki.kernel.org/index.php/Project_ideas#btrfs-convert
Bye and thanks,
Silvio
Silvio Fricke (2):
btrfs-progs: add task-utils
btrfs-progs: convert: use task for progress indication of metadata
creation
Documentation/btrfs-convert.txt | 2 + Makefile | 6 +-- btrfs-convert.c | 60 ++++++++++++++++++++++-- task-util.c | 101 ++++++++++++++++++++++++++++++++++++++++ task-util.h | 32 +++++++++++++ 5 files changed, 193 insertions(+), 8 deletions(-) create mode 100644 task-util.c create mode 100644 task-util.h
Signature · 1 line
2.1.2