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.
Nathan Scott [Thu, 18 May 2006 15:49:09 +0000 (15:49 +0000)]
Initial version of a generic cache, which will provide a buffer/inode cache shortly. Uses pthread-based locking for mutex on shared structures.
Merge of master-melb:xfs-cmds:25963a by kenmcd.
Nathan Scott [Mon, 15 May 2006 15:29:58 +0000 (15:29 +0000)]
Fix compilation for xfs_repair after recent optimisations. __inline -> static inline, and remove debug-only copies of some routines.
Merge of master-melb:xfs-cmds:25940a by kenmcd.
Nathan Scott [Fri, 3 Mar 2006 02:56:08 +0000 (02:56 +0000)]
Fix mishandling of external log/rt devices in userspace for old kernels where procfs output was subtely different.
Merge of master-melb:xfs-cmds:25352a by kenmcd.
Nathan Scott [Fri, 3 Mar 2006 02:55:24 +0000 (02:55 +0000)]
Fix a bug in the xfs_copy log re-write code avoiding duplicate UUIDs. Also fix the logic for sizing the direct write buffer, which fails for large maxdio sizes.
Merge of master-melb:xfs-cmds:25351a by kenmcd.
Tim Shimmin [Wed, 15 Feb 2006 02:50:54 +0000 (02:50 +0000)]
get rid of cursor and more parameters for getparents functions.
Slight function namechange at the same time.
Merge of master-melb:xfs-cmds:25194a by kenmcd.
Nathan Scott [Tue, 31 Jan 2006 14:24:29 +0000 (14:24 +0000)]
Minor updates - spec file usr/grp fixups on install, double-free cleanup in libattr for non-alloca platforms.
Merge of master-melb:xfs-cmds:25070a by kenmcd.
Nathan Scott [Sat, 17 Dec 2005 14:11:04 +0000 (14:11 +0000)]
Tweak headers to be more suitable for C++ apps - removes nested struct declarations, which are used outside the scope they are declared in.
Merge of master-melb:xfs-cmds:24865a by kenmcd.