Glen Overby [Wed, 17 Mar 2004 21:32:49 +0000 (21:32 +0000)]
Define a new superblock field for more feature bits. Take the last
feature bit in sb_versionnum to use to indicate that the new feature
bit field is to be used.
Add new superblock fields for new feature bits.
Some of the libhandle routines were not clear whether they were working
on fshandles or file handles. This mod renames open_by_handle() to
open_by_fshandle() and updates any calling applications to now call
open_by_fshandle() instead. A new open_by_handle() has been created.
path_to_fshandle() was trying to maintain a hash of fshandles but the
hash was only storing a max of 2 fshandles at a time. This has been
fixed so the hash can hold multiple fs handles.
define open_by_fshandle()
ptools [Tue, 10 Feb 2004 03:10:49 +0000 (03:10 +0000)]
Some qa to test out simple replay of the logs by causing
file system to shutdown.
A copy of the kernel header file - modified for XFS_IOC_GOINGDOWN
related macros.
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.