All of lore.kernel.org
 help / color / mirror / Atom feed
* Integration branch of btrfs-progs 2013-03-18
@ 2013-03-18 17:33 David Sterba
  2013-03-18 20:42 ` Chris Mason
  2013-03-20 17:41 ` Integration branch of btrfs-progs 2013-03-20 David Sterba
  0 siblings, 2 replies; 5+ messages in thread
From: David Sterba @ 2013-03-18 17:33 UTC (permalink / raw)
  To: linux-btrfs

Hi,

shortdesc: core code fixes, more static build targets, restore updates,
doc/help updates.

  git://repo.or.cz/btrfs-progs-unstable/devel.git integration-20130318

shortlog:
Anand Jain (2):
      btrfs-progs: update .gitignore file
      btrfs-progs: print errno string when /dev/btrfs-control open fails

Antoine Sirinelli (1):
      btrfs-progs: Add a rule to build a static mkfs.btrfs

David Marcin (1):
      btrfs-progs: Fix error handling for failed reads in restore tool when mirrors exist

Eric Sandeen (5):
      btrfs-progs: close fd on return from label get/set functions
      btrfs-progs: three new device/path helpers
      btrfs-progs: don't open-code mountpoint discovery in scrub cancel
      btrfs-progs: rework get_fs_info to remove side effects
      btrfs-progs: document force option in mkfs usage(); add long opt

Hugo Mills (1):
      btrfs-progs: add Makefile rule for static build of btrfs-find-root

Josef Bacik (6):
      Btrfs-progs: alloc our super copy in btrfs-find-root
      Btrfs-progs: add an option for specifying the root to restore
      Btrfs-progs: try other mirrors if decompression fails
      Btrfs-progs: try other mirrors on read failure
      btrfs-progs: add lzo compression support to restore
      Btrfs-progs: give restore a list roots option

Matias Bjørling (1):
      btrfs-progs: mkfs: add missing raid5/6 description

Peter Stuge (1):
      restore: Split output directory and btrfs-local path search_dir() parameters


short unsigned mail;

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

* Re: Integration branch of btrfs-progs 2013-03-18
  2013-03-18 17:33 Integration branch of btrfs-progs 2013-03-18 David Sterba
@ 2013-03-18 20:42 ` Chris Mason
  2013-03-20 17:41 ` Integration branch of btrfs-progs 2013-03-20 David Sterba
  1 sibling, 0 replies; 5+ messages in thread
From: Chris Mason @ 2013-03-18 20:42 UTC (permalink / raw)
  To: dsterba, David Sterba, linux-btrfs

Quoting David Sterba (2013-03-18 13:33:27)
> Hi,
> 
> shortdesc: core code fixes, more static build targets, restore updates,
> doc/help updates.
> 
>   git://repo.or.cz/btrfs-progs-unstable/devel.git integration-20130318

Thanks Dave, I've got this pulled in now and its on the master branch.

-chris

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

* Integration branch of btrfs-progs 2013-03-20
  2013-03-18 17:33 Integration branch of btrfs-progs 2013-03-18 David Sterba
  2013-03-18 20:42 ` Chris Mason
@ 2013-03-20 17:41 ` David Sterba
  2013-03-20 20:08   ` Martin Steigerwald
  1 sibling, 1 reply; 5+ messages in thread
From: David Sterba @ 2013-03-20 17:41 UTC (permalink / raw)
  To: linux-btrfs

Hi,

finally removing the obsolete utilities, adding the fragmentation visualisation
tool in exchange, setting of io priority for scrub, few more fixes and updates
to the build system.

   git://repo.or.cz/btrfs-progs-unstable/devel.git integration-20130320

david
---
shortlog:

Anand Jain (1):
      btrfs-progs: defrag return zero on success

Arne Jansen (1):
      Btrfs-progs: tool to visualize fragmentation

David Sterba (2):
      btrfs-progs: convert: access name_len and file_type the old way
      btrfs-progs: makefile: clean static targets

Goffredo Baroncelli (1):
      Removing btrfsctl, btrfs-vol, btrfs-show

Josef Bacik (2):
      Btrfs-progs: fix segfault when using tools fs with tree log
      Btrfs-progs: fix memory leaks on cleanup

Sergei Trofimovich (1):
      Makefile: allow user set LDFLAGS for libbtrfs.so as well

Stefan Behrens (1):
      Btrfs-progs: make scrub IO priority configurable

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

* Re: Integration branch of btrfs-progs 2013-03-20
  2013-03-20 17:41 ` Integration branch of btrfs-progs 2013-03-20 David Sterba
@ 2013-03-20 20:08   ` Martin Steigerwald
  2013-03-22 11:23     ` David Sterba
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Steigerwald @ 2013-03-20 20:08 UTC (permalink / raw)
  To: linux-btrfs, dsterba; +Cc: Arne Jansen

Am Mittwoch, 20. März 2013 schrieb David Sterba:
> Hi,
> 
> finally removing the obsolete utilities, adding the fragmentation
> visualisation tool in exchange, setting of io priority for scrub, few
> more fixes and updates to the build system.

The fragmentation visuation tool works nicely. Tried it on about 200 GiB
/home, almost no fragmentation, some 3-4%, but mostly 0.something%,
and on about 20 GiB root, were some chunks were fragmented upto 30-40%.

What kind of fragmentation does the tool count? From what I understand
by looking at the source, extent fragmentation?

 82 static void
 83 print_bg(FILE *html, char *name, u64 start, u64 len, u64 used, u64 flags,
 84 »······· u64 areas)
 85 {
 86 »·······double frag = (double)areas / (len / 4096) * 2;
 87                                                                                                                                                
 88 »·······fprintf(html, "<p>%s chunk starts at %lld, size is %s, %.2f%% used, "
 89 »·······»·······      "%.2f%% fragmented</p>\n", chunk_type(flags), start,
 90 »·······»·······      pretty_sizes(len), 100.0 * used / len, 100.0 * frag);
 91 »·······fprintf(html, "<img src=\"%s\" border=\"1\" />\n", name);
 92 }

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

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

* Re: Integration branch of btrfs-progs 2013-03-20
  2013-03-20 20:08   ` Martin Steigerwald
@ 2013-03-22 11:23     ` David Sterba
  0 siblings, 0 replies; 5+ messages in thread
From: David Sterba @ 2013-03-22 11:23 UTC (permalink / raw)
  To: Martin Steigerwald; +Cc: linux-btrfs, dsterba, Arne Jansen

On Wed, Mar 20, 2013 at 09:08:49PM +0100, Martin Steigerwald wrote:
> The fragmentation visuation tool works nicely. Tried it on about 200 GiB
> /home, almost no fragmentation, some 3-4%, but mostly 0.something%,
> and on about 20 GiB root, were some chunks were fragmented upto 30-40%.
> 
> What kind of fragmentation does the tool count? From what I understand
> by looking at the source, extent fragmentation?

It's a high-level view of the 1GB chunk fragmentation, reflecting the
contiguous allocated vs free space.

A partition with frequent rewrites is likely to contain more fragmented
chunks as you observe for your / .

david

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

end of thread, other threads:[~2013-03-22 11:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-18 17:33 Integration branch of btrfs-progs 2013-03-18 David Sterba
2013-03-18 20:42 ` Chris Mason
2013-03-20 17:41 ` Integration branch of btrfs-progs 2013-03-20 David Sterba
2013-03-20 20:08   ` Martin Steigerwald
2013-03-22 11:23     ` 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.