All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] [PATCH 1/4] du_enhancement: add the shared extents and the footprint statistics support v1
@ 2010-01-26  8:00 Jeff Liu
  2010-01-26  8:00 ` [Ocfs2-devel] [PATCH 2/4] du_enhancement: add rbtree algorithm support Jeff Liu
  2010-01-26 19:52 ` [Ocfs2-devel] [PATCH 1/4] du_enhancement: add the shared extents and the footprint statistics support v1 Coly Li
  0 siblings, 2 replies; 10+ messages in thread
From: Jeff Liu @ 2010-01-26  8:00 UTC (permalink / raw)
  To: ocfs2-devel

brief introduction:

the following patch sets add a new feature to displapy the shared extents size per file as well as the
overall footprint statistics for du command.

It using rbtree to track the splitted extents info instead of the clusters or physical blocks to save
the memory in case of the file size is too large(TB, etc).

the current extent splitting algorithem is based on Tao's idea, thanks a lot!

use '--shared-size' or '-E' as the command line trigger, with this option,
du print out the shared extents in parens for each file if its resides filesystem
support fiemap and the file is reflinked.

use '--fxattr' or '--fsync' or both of them to work combine with '--shared-size' for the extra fiemap control,
it will print warning message on the console in case of the filesystem do not support the corresponding fiemap flags.

Signed-off-by: Jeff Liu <jeff.liu@oracle.com>
---
 gnulib |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnulib b/gnulib
index 8fc05d0..4b93a25 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 8fc05d032b3f9a9d068613ab5ee297b4e7d5a08a
+Subproject commit 4b93a2579fb567b9fbbeb24439770d814dac95cd
-- 
1.5.4.3

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

end of thread, other threads:[~2010-02-08  9:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-26  8:00 [Ocfs2-devel] [PATCH 1/4] du_enhancement: add the shared extents and the footprint statistics support v1 Jeff Liu
2010-01-26  8:00 ` [Ocfs2-devel] [PATCH 2/4] du_enhancement: add rbtree algorithm support Jeff Liu
2010-01-26  8:00   ` [Ocfs2-devel] [PATCH 3/4] du_enhancement: add fiemap header Jeff Liu
2010-01-26  8:00     ` [Ocfs2-devel] [PATCH 4/4] du_enhancement: show the shared extents per file and the footprint Jeff Liu
2010-02-08  8:20       ` Tao Ma
2010-02-08  9:32         ` jeff.liu
2010-01-26 19:52 ` [Ocfs2-devel] [PATCH 1/4] du_enhancement: add the shared extents and the footprint statistics support v1 Coly Li
2010-01-26 19:52   ` Sunil Mushran
2010-01-26 20:06     ` Coly Li
2010-01-27  2:51       ` jeff.liu

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.