Nathan Scott [Tue, 28 Oct 2003 04:41:37 +0000 (04:41 +0000)]
Rework the mkfs allocation group sizing algorithm, making better use of the available bits. This changes the maximum allocation group size enforced by mkfs to be 1TB (from 4GB), which scales alot better for very large filesystems.
Eric Sandeen [Sun, 19 Oct 2003 02:30:37 +0000 (02:30 +0000)]
Add references to xfs_check & xfs_repair for problems
beyond the scope of normal recovery.
Add references to xfs_check & xfs_repair for problems
beyond the scope of normal recovery.
xfs_repair doesn't handle unwritten real-time extents properly. When
the real-time subvolume extent size is larger than a filesystem block,
it is possible to have a real-time extent that is part written and
part unwritten.
Internally, xfs_repair tracks real-time extent use on a per-extent
basis. Thus, a file that has a written and unwritten extent falling
on the same extent.
This fix addresses this problem specificly by noting when the file
extent is unwritten and covers a partial real-time extent. Then,
instead of checking that it is unused, it checks that it is used.
Nathan Scott [Mon, 15 Sep 2003 05:23:16 +0000 (05:23 +0000)]
xfsprogs update - added code for manipulating additional inode flags, fix up
some logprint bugs (minor), allow growfs to work on device/path now.
bump version, document changes.
Glen Overby [Mon, 18 Aug 2003 20:23:00 +0000 (20:23 +0000)]
mkfs can improperly generate an error when the data subvolume stripe unit is
larger than 256kb, which is larger than the maximum log stripe unit size.
So, only set and check the log stripe unit on version 2 internal logs, and
default the stripe unit size to 32kb if the data volume's stripe unit
size is too big.
Only set and check the log stripe unit on version 2 internal logs, and
default the stripe unit size to 32kb if the data volume's stripe unit
size is too big.
Steve Lord [Wed, 6 Aug 2003 21:17:06 +0000 (21:17 +0000)]
Add versioning to the on disk inode which we increment on each
flush call. This is used during recovery to avoid replaying an
older copy of the inode from the log. We can do this without
versioning the filesystem as the pad space we borrowed was
always zero and will be ignored by old kernels.
Print out the new inode field
Nathan Scott [Fri, 25 Jul 2003 03:14:10 +0000 (03:14 +0000)]
Finish the xfs_copy port, fix a whitespace handling issue in xfs_bmap.
Write the log directly instead of calling xfs_db, fix UUID mismanagement
so that all target devices have different identifiers, add code to detect
when a too-small target device has been specified.
Nathan Scott [Wed, 23 Jul 2003 00:43:47 +0000 (00:43 +0000)]
Move xfs_copy into xfsprogs, build and install it too. Reasons for it being in xfsdump package are no longer there, and its a libxfs user so keep it with the rest of them
Nathan Scott [Thu, 26 Jun 2003 07:05:59 +0000 (07:05 +0000)]
Minor xfsprogs updates - add checks for pthreads lib, add missing stripe
info init in libxfs_mount, testing script for large filesystems.
Add in pthreads library checks.
Nathan Scott [Wed, 18 Jun 2003 06:04:16 +0000 (06:04 +0000)]
xfsprogs update - Andi's mkfs log size default change and enabling large
sector support being the two big ticket items, several other small fixes
too.
bump to 2.5.0 for default mkfs changes and optional large sector support.
fsgqa [Wed, 14 May 2003 22:41:37 +0000 (22:41 +0000)]
Fix build - bsd changes from awhile ago introduced a m4 macro bug, only
showed up now because I reran aclocal yesterday. Added CHECK_OPTIONS
so auto-qa use of check script can be tweaked externally.
Fix build - bsd changes from awhile ago introduced a m4 macro bug, only
showed up now because I reran aclocal yesterday.
Nathan Scott [Mon, 12 May 2003 06:49:35 +0000 (06:49 +0000)]
Fix a bug in mkfs - creating version 2 logs, an incorrect stripe unit value
was being passed to libxfs_clear_log.
All recent versions of xfs_repair will fix this, however, because xfs_repair
uses the correct stripe unit value.
Nathan Scott [Wed, 30 Apr 2003 01:31:48 +0000 (01:31 +0000)]
Bunch of configure updates for xfsprogs to allow packages to better be kept
in sync in this area.
Add an aclocal.m4 build target for top level directory.
Nathan Scott [Tue, 29 Apr 2003 01:52:34 +0000 (01:52 +0000)]
Fix includes to not be relative to paths provided by -I directives, for
the xfsprogs and xfsdump builds. At this stage still provide these gcc
options in the build but later that can be removed too now that headers
are clean.
Nathan Scott [Mon, 31 Mar 2003 02:57:10 +0000 (02:57 +0000)]
Bunch of portability related changes to xfsprogs. Includes some code to
allow db/mkfs/repair to be used on Mac's (maybe useful for dual boot), &
some code to build on IRIX too (useful for purify-ing xfs_repair only).
bump version for portability changes.
Nathan Scott [Wed, 26 Mar 2003 23:18:13 +0000 (23:18 +0000)]
Merge back some spec file cleanups after investigating a mysterious
build problem for the internal SGI builds.
Merge of xfs-cmds-lbs:slinx:142673a by nathans.
Fix Makepkgs scripts to be able to propogate make errors back to the caller.
Nathan Scott [Tue, 25 Mar 2003 04:01:55 +0000 (04:01 +0000)]
Add xfs_io into xfsprogs, an xfs_db-alike program for the XFS IO path
which knows about direct IO, space preallocation, realtime files, etc,
which the usual tools like dd don't unfortunately.
Nathan Scott [Tue, 25 Mar 2003 03:48:48 +0000 (03:48 +0000)]
Add xfs_io into xfsprogs, an xfs_db-alike program for the XFS IO path
which knows about direct IO, space preallocation, realtime files, etc
which the usual tools like dd don't unfortunately. This is a fixed-up
version of a hacked tool that I found useful for coding, debugging and
testing unwritten extents; hopefully it'll be useful for realtime too.
Eric Sandeen [Tue, 18 Mar 2003 05:33:14 +0000 (05:33 +0000)]
Remove do_error after libxfs_device_zero, this is left
over from when irix could return an error from dev_zero,
the do_error was supposed to be in a conditional.
Add conditional check around definition of uchar_t to
prevent multiple definitions.
Add conditional check around definition of uchar_t to
prevent multiple definitions.
Nathan Scott [Mon, 17 Mar 2003 03:07:16 +0000 (03:07 +0000)]
Remove an incorrect statement from the xfs_bmap(8) man page.
Remove an incorrect statement from the xfs_bmap(8) man page - we have
done a filesystem type check before issuing any ioctls for some time.