Dave Chinner [Tue, 22 May 2007 15:59:41 +0000 (15:59 +0000)]
Userspace support for lazy superblock counters
libxfs changes to match kernel support
repair, db, growfs and mkfs changes needed to support this feature.
Merge of master-melb:xfs-cmds:28654a by kenmcd.
Tim Shimmin [Fri, 9 Mar 2007 05:16:22 +0000 (05:16 +0000)]
Need to check for __u32 in our own m4 macro instead of using AC_CHECK_TYPES
which doesn't exist on some older autoconf's.
Merge of master-melb:xfs-cmds:28226a by kenmcd.
Need to check for __u32 in our own m4 macro instead of using AC_CHECK_TYPES
which doesn't exist on some older autoconf's.
Madan Valluri [Wed, 31 Jan 2007 03:58:09 +0000 (03:58 +0000)]
Do no skip a rootino even if it doesn't appear to be a directory, in traverse_function().
Do no skip a rootino even if it doesn't appear to be a directory, in traverse_function().
Lachlan McIlroy [Wed, 20 Dec 2006 14:34:47 +0000 (14:34 +0000)]
Remove code to align direct I/Os.
The alignment code was aligning the boundaries of I/Os to meet the alignment
constraints of the filesystem and as a result was reading/writing more data
than requested causing corruption. It's up to the user to get the alignment
right.
Merge of master-melb:xfs-cmds:27787a by kenmcd.
Remove code to align direct I/Os - it was causing corruption in data integrity
tests.
Undoes mod: master-melb:xfs-cmds:27635a
Undo rename of xfs/list.h since this is effectively part of the XFS development interface that has already shipped.
Merge of master-melb:xfs-cmds:27668a by kenmcd.
Tim Shimmin [Fri, 6 Oct 2006 16:19:47 +0000 (16:19 +0000)]
Fix up variable argument handling around vfprintf's.
Crashing on x86_64 otherwise and is just plain wrong.
Merge of master-melb:xfs-cmds:27143a by kenmcd.
Fix up variable argument handling around vfprintf's.
Crashing on x86_64 otherwise and is just plain wrong.
Tim Shimmin [Thu, 21 Sep 2006 15:50:04 +0000 (15:50 +0000)]
Update xfsprogs so that the libdisk/md.c code sets stripe width using number
of raid-disks and doesn't include spare disks.
Make xfsprogs get its __u32 & friends types from <asm/types.h> if it exists.
Merge of master-melb:xfs-cmds:27016a by kenmcd.
Madan Valluri [Wed, 9 Aug 2006 15:08:11 +0000 (15:08 +0000)]
When called from mk_incore_fstree, the startblock parameter is in increasing order.
This means the new insert has to be at the end of the applicable bcnt extent list.
The current implementation traverses the applicable bcnt extent list for each insert.
The more the inserts, the longer it takes.
Added last field to avl struct.
Nathan Scott [Tue, 8 Aug 2006 15:33:39 +0000 (15:33 +0000)]
Cleanup some leftover turds from the days when volume managers new about XFS subvolumes (wasnt even useful code then, to be honest).
Merge of master-melb:xfs-cmds:26730a by kenmcd.
Nathan Scott [Tue, 8 Aug 2006 15:32:10 +0000 (15:32 +0000)]
Allow tools to use direct IO on Linux when reading from the device, if teh device supports it, and if the tools is OK with that (most are). Mainly for xfs_repair speedups, now that libxfs caches metadata buffers internally.
Merge of master-melb:xfs-cmds:26728a by kenmcd.
Madan Valluri [Fri, 4 Aug 2006 15:29:41 +0000 (15:29 +0000)]
The new algorithm scans the incore avl tree for and then processing directories.
The prior implementation traverses the directory heirarchy, using a "stack" model.
This patch in conjunction with the pre-fetching code on Irix provides a 3X improvement
phase 6.
New algorithm scans the incore avl tree for and then processing directories.
Nathan Scott [Fri, 4 Aug 2006 13:47:52 +0000 (13:47 +0000)]
Fix buffer sizing issue for large pagesize systems, affecting mkfs auto-device-type-detection heuristics.
Merge of master-melb:xfs-cmds:26662a by kenmcd.
This mod implements a new algorithm for phase7 which
makes use of the recently introduced prefetch framework.
Instead of using the transaction framework one inode at a
time, we read large chunks of inodes off the disk in chunks
and compare the nlink count.
This mod implements a new algorithm for phase7 which
makes use of the recently introduced prefetch framework.
Instead of using the transaction framework one inode at a
time, we read large chunks of inodes off the disk in chunks
and compare the nlink count.
Tim Shimmin [Mon, 10 Jul 2006 15:35:10 +0000 (15:35 +0000)]
fix code to build for both variants of uuid definitions - straight array and array
embedded in a struct.
Merge of master-melb:xfs-cmds:26504a by kenmcd.
Nathan Scott [Wed, 5 Jul 2006 03:55:57 +0000 (03:55 +0000)]
Update xfsprogs package to better integrate into the Ubuntu localisation up-to-dated-ness tracking system (Rosetta).
Merge of master-melb:xfs-cmds:26421a by kenmcd.
Tim Shimmin [Tue, 4 Jul 2006 03:50:40 +0000 (03:50 +0000)]
Fix up the irix build with the log format 32/64 packed changes being
put into irix.h and GCCFLAGS separated out.
Merge of master-melb:xfs-cmds:26404a by kenmcd.
fix up compiler flags for irix - don't want gcc ones
Nathan Scott [Mon, 26 Jun 2006 06:09:02 +0000 (06:09 +0000)]
Merge a bug fix from Bastian Kleineidam, related to correctly transalating device names to filesystem paths for reporting.
Merge of master-melb:xfs-cmds:26348a by kenmcd.
Tim Shimmin [Fri, 16 Jun 2006 03:52:27 +0000 (03:52 +0000)]
Fix up logprint so that 32 bit or 64 bit versions of logprint binaries
can print a log from an XFS file system on a 64bit or 32bit os.
Merge of master-melb:xfs-cmds:26264a by kenmcd.
Copied from kernel. 32 & 64 bit versions of EFI/EFD format items.
Madan Valluri [Tue, 6 Jun 2006 03:30:36 +0000 (03:30 +0000)]
Supply FILE * parameter of stderr to libxfs_report.
Supply FILE * parameter of stderr to libxfs_report.
Call libxfs_report after each phase to report cache information.
Madan Valluri [Wed, 24 May 2006 01:37:54 +0000 (01:37 +0000)]
Instrumentation of new cache code.
Adjust cache hash bucket size from command line.
1) Added additional fields to cache struct
2) Added cache_report function prototype.