public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster/gfs2/edit hexedit.c hexedit.h savemeta.c
@ 2007-10-18 19:56 rpeterso
  0 siblings, 0 replies; only message in thread
From: rpeterso @ 2007-10-18 19:56 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rpeterso@sourceware.org	2007-10-18 19:56:41

Modified files:
	gfs2/edit      : hexedit.c hexedit.h savemeta.c 

Log message:
	While working on bz #291551, I discovered that gfs2_edit savemeta
	only saved true metadata, but we need more than that.  There are
	lots of blocks that are considered "data" (not metadata) by the
	RG bitmaps that we still need to save.  These include:
	1. All the system journals (which may contain both metadata and
	user data, disguised as data blocks within the journal).  We
	need to pick out the parts that do not contain user data.
	2. The system files, such as statfs, inum, quota file, etc.
	These may be helpful in debugging user problems.
	3. Indirect block pointers, which may be counted as data for
	accounting purposes, even though it's metadata.
	4. Directory leaf blocks.
	
	This change allows gfs2_edit to save and restore these blocks properly,
	and also to print out a breakdown of a saved metadata file:
	gfs2_edit printsavedmeta /tmp/gfsmeta
	
	It also improves on the information given when a journal is dumped.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/edit/hexedit.c.diff?cvsroot=cluster&r1=1.21&r2=1.22
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/edit/hexedit.h.diff?cvsroot=cluster&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/edit/savemeta.c.diff?cvsroot=cluster&r1=1.3&r2=1.4


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-18 19:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-18 19:56 cluster/gfs2/edit hexedit.c hexedit.h savemeta.c rpeterso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).