All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] add progress indicator to btrfs-convert
@ 2014-11-09 22:16 Silvio Fricke
  2014-11-09 22:16 ` [PATCH 1/2] btrfs-progs: add task-utils Silvio Fricke
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Silvio Fricke @ 2014-11-09 22:16 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Silvio Fricke

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

-- 
2.1.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-11-25 18:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-09 22:16 [PATCH 0/2] add progress indicator to btrfs-convert Silvio Fricke
2014-11-09 22:16 ` [PATCH 1/2] btrfs-progs: add task-utils Silvio Fricke
2014-11-25 18:09   ` David Sterba
2014-11-09 22:16 ` [PATCH 2/2] btrfs-progs: convert: use task for progress indication of metadata creation Silvio Fricke
2014-11-25 18:18   ` David Sterba
2014-11-15  0:09 ` [PATCH 0/2] add progress indicator to btrfs-convert David Sterba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.