]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/log
thirdparty/xfsprogs-dev.git
19 years agoReset loop counter for multiple commands, found by QA.
Nathan Scott [Mon, 20 Jun 2005 03:49:29 +0000 (03:49 +0000)] 
Reset loop counter for multiple commands, found by QA.
Merge of master-melb:xfs-cmds:22910a by kenmcd.

19 years agoBump xfsprogs version number.
Nathan Scott [Mon, 20 Jun 2005 03:48:49 +0000 (03:48 +0000)] 
Bump xfsprogs version number.
Merge of master-melb:xfs-cmds:22904a by kenmcd.

19 years agoMake blocktrash an expert-mode-only xfs_db command since its dangerous.
Nathan Scott [Mon, 20 Jun 2005 03:48:08 +0000 (03:48 +0000)] 
Make blocktrash an expert-mode-only xfs_db command since its dangerous.
Merge of master-melb:xfs-cmds:22903a by kenmcd.

19 years agoSwitch to using fsxattr instead of special projid ioctls.
Nathan Scott [Mon, 20 Jun 2005 03:47:26 +0000 (03:47 +0000)] 
Switch to using fsxattr instead of special projid ioctls.
Merge of master-melb:xfs-cmds:22902a by kenmcd.

19 years agoUse a temporary 32-bit variable in readlink_by_handle to avoid
Bill Kendall [Mon, 13 Jun 2005 14:59:17 +0000 (14:59 +0000)] 
Use a temporary 32-bit variable in readlink_by_handle to avoid
updating the wrong half of a size_t pointer. This could happen
on 64-bit, big endian systems.

19 years agoFix minor xfs_quota double-reporting issue found by QA testing project quota; bump...
Nathan Scott [Tue, 7 Jun 2005 23:34:55 +0000 (23:34 +0000)] 
Fix minor xfs_quota double-reporting issue found by QA testing project quota; bump xfsprogs version.

19 years agoresync endianess handling in xfsprogs with the kernel
Christoph Hellwig [Tue, 7 Jun 2005 14:56:07 +0000 (14:56 +0000)] 
resync endianess handling in xfsprogs with the kernel

19 years agoBump xfsprogs version number.
Nathan Scott [Mon, 6 Jun 2005 06:02:26 +0000 (06:02 +0000)] 
Bump xfsprogs version number.
Merge of master-melb:xfs-cmds:22830a by kenmcd.

19 years agoExtend get_subvol_wrapper with another parameter which tells whether or not to align...
Nathan Scott [Mon, 6 Jun 2005 06:01:44 +0000 (06:01 +0000)] 
Extend get_subvol_wrapper with another parameter which tells whether or not to align sectors/blocks for this device.  Use it in mkfs for RAID4/5/6.
Merge of master-melb:xfs-cmds:22829a by kenmcd.

19 years agoFixup that last fix attempting to not align on linear MD arrays; also added in RAID4...
Nathan Scott [Mon, 6 Jun 2005 03:50:11 +0000 (03:50 +0000)] 
Fixup that last fix attempting to not align on linear MD arrays; also added in RAID4/6/10 support.
Merge of master-melb:xfs-cmds:22819a by kenmcd.

19 years agoMinor man page corrections, patch botch on xfs_quota.8
Nathan Scott [Mon, 6 Jun 2005 03:49:30 +0000 (03:49 +0000)] 
Minor man page corrections, patch botch on xfs_quota.8
Merge of master-melb:xfs-cmds:22818a by kenmcd.

19 years agoBump xfsprogs version number for recent changes, switch xfs_quota on in the build.
Nathan Scott [Fri, 3 Jun 2005 06:12:02 +0000 (06:12 +0000)] 
Bump xfsprogs version number for recent changes, switch xfs_quota on in the build.
Merge of master-melb:xfs-cmds:22800a by kenmcd.

19 years agoAdd O_NONBLOCK option to xfs_io open command.
Nathan Scott [Fri, 3 Jun 2005 06:11:20 +0000 (06:11 +0000)] 
Add O_NONBLOCK option to xfs_io open command.
Merge of master-melb:xfs-cmds:22799a by kenmcd.

19 years agoFix xfs_quota bugs found by QA tests, and add some options to assist testing.
Nathan Scott [Fri, 3 Jun 2005 06:10:38 +0000 (06:10 +0000)] 
Fix xfs_quota bugs found by QA tests, and add some options to assist testing.
Merge of master-melb:xfs-cmds:22798a by kenmcd.

19 years agoAdd a man page for xfs_quota utility.
Nathan Scott [Fri, 3 Jun 2005 06:09:56 +0000 (06:09 +0000)] 
Add a man page for xfs_quota utility.
Merge of master-melb:xfs-cmds:22797a by kenmcd.

19 years agoDo not do stripe alignment in mkfs for raid0/1 MD devices.
Nathan Scott [Fri, 3 Jun 2005 06:08:37 +0000 (06:08 +0000)] 
Do not do stripe alignment in mkfs for raid0/1 MD devices.
Merge of master-melb:xfs-cmds:22794a by kenmcd.

19 years agoPortability changes to get xfs_quota to compile on IRIX as well.
Nathan Scott [Fri, 3 Jun 2005 06:07:09 +0000 (06:07 +0000)] 
Portability changes to get xfs_quota to compile on IRIX as well.
Merge of master-melb:xfs-cmds:22792a by kenmcd.

19 years agofix mkfs.xfs manpage: stripe width isn't returned by stat
Christoph Hellwig [Wed, 11 May 2005 09:10:43 +0000 (09:10 +0000)] 
fix mkfs.xfs manpage: stripe width isn't returned by stat

19 years agoGCC4 signedness fixes
Christoph Hellwig [Mon, 25 Apr 2005 13:21:46 +0000 (13:21 +0000)] 
GCC4 signedness fixes
cvtnum and init_cvtnum take unsigned paramaters now

19 years agoGCC4 fixes
Christoph Hellwig [Thu, 21 Apr 2005 10:02:03 +0000 (10:02 +0000)] 
GCC4 fixes
remove bogus const attribute on function return values

19 years agoInitial version of xfs quota utility. Knows how to do user/group/project quota,...
Nathan Scott [Tue, 19 Apr 2005 15:00:30 +0000 (15:00 +0000)] 
Initial version of xfs quota utility.  Knows how to do user/group/project quota, provides missing freespace reporting for realtime on Linux, and for project quotas.  Allows all current and future XFS quota functionality to be exposed without complicating the standard quota tools.
Merge of master-melb:xfs-cmds:22274a by kenmcd.

19 years agoMove common utility code into a libxcmd.a to ease sharing amongst multiple tools.
Nathan Scott [Tue, 19 Apr 2005 14:59:46 +0000 (14:59 +0000)] 
Move common utility code into a libxcmd.a to ease sharing amongst multiple tools.
Merge of master-melb:xfs-cmds:22271a by kenmcd.

19 years agofix obj_to_handle on 64bit, Big Endian Systems
Christoph Hellwig [Tue, 19 Apr 2005 07:33:02 +0000 (07:33 +0000)] 
fix obj_to_handle on 64bit, Big Endian Systems
bump to 2.6.29

19 years agoMerge back kernel changes into libxfs, mainly endian stuff.
Nathan Scott [Tue, 19 Apr 2005 03:57:24 +0000 (03:57 +0000)] 
Merge back kernel changes into libxfs, mainly endian stuff.
Merge of master-melb:xfs-cmds:22256a by kenmcd.

19 years agocheck whether we actually have an rpm binary before lookin at its version
Christoph Hellwig [Mon, 18 Apr 2005 19:39:36 +0000 (19:39 +0000)] 
check whether we actually have an rpm binary before lookin at its version
check whether we actually have an rpm binary before lookin at its version

19 years agofix mkfs.xfs -dfile
Christoph Hellwig [Fri, 15 Apr 2005 15:11:20 +0000 (15:11 +0000)] 
fix mkfs.xfs -dfile
only query rt subvolume stripe aligment if we actually have a rt subvolume

19 years agoInstead of printing individual blocks when there is a range of bad
Ryan Hankins [Fri, 8 Apr 2005 15:02:15 +0000 (15:02 +0000)] 
Instead of printing individual blocks when there is a range of bad
blocks within an AG, just print the range.  This should greatly reduce
the output from xfs_check in some cases.

19 years agoFix gcc warnings resulting from merging Dans directory quota code.
Nathan Scott [Fri, 1 Apr 2005 03:55:14 +0000 (03:55 +0000)] 
Fix gcc warnings resulting from merging Dans directory quota code.
Merge of master-melb:xfs-cmds:22031a by kenmcd.

19 years agoYet more fixes to get xfs_db to compile with gcc4.
Nathan Scott [Thu, 31 Mar 2005 14:59:00 +0000 (14:59 +0000)] 
Yet more fixes to get xfs_db to compile with gcc4.
Merge of master-melb:xfs-cmds:22023a by kenmcd.

19 years agoHandle all of usr/grp/prj quota types.
Nathan Scott [Wed, 30 Mar 2005 05:59:03 +0000 (05:59 +0000)] 
Handle all of usr/grp/prj quota types.
Merge of master-melb:xfs-cmds:21995a by kenmcd.

19 years agoBump version number after couple of earlier changes.
Nathan Scott [Wed, 30 Mar 2005 03:46:24 +0000 (03:46 +0000)] 
Bump version number after couple of earlier changes.
Merge of master-melb:xfs-cmds:21992a by kenmcd.

19 years agoMarge Dans project/group quota coexistence code changes so db/repair can also support...
Nathan Scott [Wed, 30 Mar 2005 03:45:42 +0000 (03:45 +0000)] 
Marge Dans project/group quota coexistence code changes so db/repair can also support project quota.
Merge of master-melb:xfs-cmds:21991a by kenmcd.

19 years agoFix compilation issues with version 4 of gcc.
Nathan Scott [Wed, 30 Mar 2005 03:44:55 +0000 (03:44 +0000)] 
Fix compilation issues with version 4 of gcc.
Merge of master-melb:xfs-cmds:21990a by kenmcd.

19 years agoFix compilation warning on inode size checks.
Nathan Scott [Wed, 30 Mar 2005 03:44:11 +0000 (03:44 +0000)] 
Fix compilation warning on inode size checks.
Merge of master-melb:xfs-cmds:21989a by kenmcd.

19 years agoBump xfsprogs version number after last couple of changes.
Nathan Scott [Wed, 23 Mar 2005 02:57:38 +0000 (02:57 +0000)] 
Bump xfsprogs version number after last couple of changes.
Merge of master-melb:xfs-cmds:21927a by kenmcd.

19 years agoFix default mkfs allocation group size calculations for filesystem sizes in the range...
Nathan Scott [Wed, 23 Mar 2005 02:56:57 +0000 (02:56 +0000)] 
Fix default mkfs allocation group size calculations for filesystem sizes in the range 32 - 64 terabytes.
Merge of master-melb:xfs-cmds:21926a by kenmcd.

19 years agoAdd noalign suboptions to -d and -r to allow auto-stripe-alignment to be switched...
Nathan Scott [Wed, 23 Mar 2005 02:56:17 +0000 (02:56 +0000)] 
Add noalign suboptions to -d and -r to allow auto-stripe-alignment to be switched off.
Merge of master-melb:xfs-cmds:21924a by kenmcd.

19 years agoUse fixed width reprting for the common cases, aids benchmark scripting.
Nathan Scott [Wed, 9 Mar 2005 14:11:46 +0000 (14:11 +0000)] 
Use fixed width reprting for the common cases, aids benchmark scripting.
Merge of master-melb:xfs-cmds:21783a by kenmcd.

19 years agoBump xfsprogs version number, tweak debian packaging.
Nathan Scott [Wed, 9 Mar 2005 14:11:05 +0000 (14:11 +0000)] 
Bump xfsprogs version number, tweak debian packaging.
Merge of master-melb:xfs-cmds:21782a by kenmcd.

19 years agoMake imap available as an expert xfs_io command.
Nathan Scott [Wed, 9 Mar 2005 14:09:45 +0000 (14:09 +0000)] 
Make imap available as an expert xfs_io command.
Merge of master-melb:xfs-cmds:21780a by kenmcd.

19 years agoImprove the statistics reporting for xfs_io.
Nathan Scott [Wed, 9 Mar 2005 14:08:59 +0000 (14:08 +0000)] 
Improve the statistics reporting for xfs_io.
Merge of master-melb:xfs-cmds:21779a by kenmcd.

19 years agoResolve build issue with using libtermcap/libreadline via configure option.
Nathan Scott [Wed, 9 Mar 2005 14:08:18 +0000 (14:08 +0000)] 
Resolve build issue with using libtermcap/libreadline via configure option.
Merge of master-melb:xfs-cmds:21777a by kenmcd.

19 years agoTrivial man page update.
Nathan Scott [Wed, 9 Mar 2005 14:07:37 +0000 (14:07 +0000)] 
Trivial man page update.
Merge of master-melb:xfs-cmds:21776a by kenmcd.

19 years agoInstall a stripped down <xfs/xfs.h> without lots of libxfs.h baggage.
Nathan Scott [Wed, 9 Mar 2005 14:06:56 +0000 (14:06 +0000)] 
Install a stripped down <xfs/xfs.h> without lots of libxfs.h baggage.
Merge of master-melb:xfs-cmds:21775a by kenmcd.

19 years agoFix builds with gcc version 4 - static vs extern in headers.
Nathan Scott [Wed, 9 Mar 2005 14:06:15 +0000 (14:06 +0000)] 
Fix builds with gcc version 4 - static vs extern in headers.
Merge of master-melb:xfs-cmds:21773a by kenmcd.

19 years agoFix up some autoconf macros to get freebsd builds working again.
Nathan Scott [Tue, 8 Mar 2005 02:53:05 +0000 (02:53 +0000)] 
Fix up some autoconf macros to get freebsd builds working again.
Merge of master-melb:xfs-cmds:21750a by kenmcd.

19 years agoPropogae last BSD build/configure fix to all places its useful.
Nathan Scott [Mon, 21 Feb 2005 02:46:54 +0000 (02:46 +0000)] 
Propogae last BSD build/configure fix to all places its useful.
Merge of master-melb:xfs-cmds:21571a by kenmcd.

19 years agoSmall path addition change for FreeBSD builds: Submitted by: Craig Rodrigues
Russell Cattelan [Mon, 3 Jan 2005 17:11:36 +0000 (17:11 +0000)] 
Small path addition change for FreeBSD builds: Submitted by: Craig Rodrigues

19 years agosync up xfs_log_priv.h from kernel with userspace
Tim Shimmin [Tue, 14 Dec 2004 13:46:57 +0000 (13:46 +0000)] 
sync up xfs_log_priv.h from kernel with userspace
Merge of xfs-cmds-melb:slinx:20714a by kenmcd.

  sync up xfs_log_priv.h from kernel with userspace

19 years agoGet xfstests building on irix using root/toolroot.
Tim Shimmin [Fri, 22 Oct 2004 14:38:06 +0000 (14:38 +0000)] 
Get xfstests building on irix using root/toolroot.
Merge of xfs-cmds-melb:slinx:19868a by kenmcd.

  Update to work with xfstests/src and ltp code.

19 years agoBe more strict when checking presence of fadvise, fix build for old glibc versions.
Nathan Scott [Thu, 7 Oct 2004 23:09:23 +0000 (23:09 +0000)] 
Be more strict when checking presence of fadvise, fix build for old glibc versions.

20 years agoKeep userspace packaging in sync, portability changes; sync user/kernel source/header...
Nathan Scott [Thu, 30 Sep 2004 14:52:19 +0000 (14:52 +0000)] 
Keep userspace packaging in sync, portability changes; sync user/kernel source/headers; man page updates; allow e size suffix in mkfs.
Merge of xfs-cmds-melb:slinx:19613a by kenmcd.

20 years agoUpdate man pages for xfs_io lsattr changes and inode flags.
Nathan Scott [Sat, 18 Sep 2004 14:35:54 +0000 (14:35 +0000)] 
Update man pages for xfs_io lsattr changes and inode flags.
Merge of xfs-cmds-melb:slinx:19502a by kenmcd.

20 years agoBump xfsprogs version for xfs_io fixes.
Nathan Scott [Sat, 18 Sep 2004 14:35:16 +0000 (14:35 +0000)] 
Bump xfsprogs version for xfs_io fixes.
Merge of xfs-cmds-melb:slinx:19501a by kenmcd.

20 years agoAdd recursive modes to lsattr/chattr. Ensure command line command are applied to...
Nathan Scott [Fri, 17 Sep 2004 06:41:01 +0000 (06:41 +0000)] 
Add recursive modes to lsattr/chattr.  Ensure command line command are applied to each file specified on command line, not just one.
Merge of xfs-cmds-melb:slinx:19498a by kenmcd.

20 years agoFix xfs_io request size handling botch in alloc_buffer when going from larger to...
Nathan Scott [Fri, 17 Sep 2004 06:40:22 +0000 (06:40 +0000)] 
Fix xfs_io request size handling botch in alloc_buffer when going from larger to smaller request sizes.
Merge of xfs-cmds-melb:slinx:19497a by kenmcd.

20 years agoMove lsattr/chattr commands into separate file, we need to add some more options...
Nathan Scott [Fri, 17 Sep 2004 06:32:01 +0000 (06:32 +0000)] 
Move lsattr/chattr commands into separate file, we need to add some more options here soon for IRIX so these are getting enough code to warrant separate sources.  No functional change.
Merge of xfs-cmds-melb:slinx:19483a by kenmcd.

20 years agoUpdates mainly to get a clean xfs_io compile on IRIX (non-gcc), and to
Nathan Scott [Fri, 10 Sep 2004 02:23:29 +0000 (02:23 +0000)] 
Updates mainly to get a clean xfs_io compile on IRIX (non-gcc), and to
add a couple more inode flags needed initially on IRIX (Linux soon).
Bump version number.

20 years agoTrivial update to match added macros on other platforms, etc.
Nathan Scott [Fri, 10 Sep 2004 02:06:02 +0000 (02:06 +0000)] 
Trivial update to match added macros on other platforms, etc.

20 years agoUpdate documentation about the additional XFS inode flags.
Nathan Scott [Mon, 16 Aug 2004 06:53:44 +0000 (06:53 +0000)] 
Update documentation about the additional XFS inode flags.

20 years agoFix merge botch from test workarea.
Nathan Scott [Mon, 9 Aug 2004 05:56:12 +0000 (05:56 +0000)] 
Fix merge botch from test workarea.

20 years agoBump xfsprogs version number.
Nathan Scott [Mon, 9 Aug 2004 05:43:58 +0000 (05:43 +0000)] 
Bump xfsprogs version number.

20 years agoFix up auto-detection of available libc features being used by xfs_io; including...
Nathan Scott [Mon, 9 Aug 2004 05:41:55 +0000 (05:41 +0000)] 
Fix up auto-detection of available libc features being used by xfs_io; including sendfile, fadvise, madvise, etc.

20 years agoSupport rtinherit bit in xfs_io chattr/lsattr commands.
Nathan Scott [Mon, 9 Aug 2004 05:39:08 +0000 (05:39 +0000)] 
Support rtinherit bit in xfs_io chattr/lsattr commands.

20 years agoSupport rtinherit bit in xfs_io chattr/lsattr commands.
Nathan Scott [Mon, 9 Aug 2004 05:33:35 +0000 (05:33 +0000)] 
Support rtinherit bit in xfs_io chattr/lsattr commands.

20 years agoDo not issue BLKFLSBUF to ramdisk devices.
Nathan Scott [Mon, 9 Aug 2004 05:30:39 +0000 (05:30 +0000)] 
Do not issue BLKFLSBUF to ramdisk devices.

20 years agoAdd knowledge to xfs_db about the realtime inheritence bit.
Nathan Scott [Thu, 5 Aug 2004 05:45:20 +0000 (05:45 +0000)] 
Add knowledge to xfs_db about the realtime inheritence bit.

20 years agoSync up Debian control file udeb priority with the archive.
Nathan Scott [Wed, 28 Jul 2004 22:37:13 +0000 (22:37 +0000)] 
Sync up Debian control file udeb priority with the archive.

20 years agoUpdate Debian packaging info.
Nathan Scott [Wed, 28 Jul 2004 19:35:44 +0000 (19:35 +0000)] 
Update Debian packaging info.

20 years agoFix a simple xfs_io error-handling botch; from the Debian folks.
Nathan Scott [Wed, 28 Jul 2004 10:20:52 +0000 (10:20 +0000)] 
Fix a simple xfs_io error-handling botch; from the Debian folks.

20 years agoTrivial man page updates from ESR.
Nathan Scott [Sat, 17 Jul 2004 00:55:28 +0000 (00:55 +0000)] 
Trivial man page updates from ESR.

20 years agoFix an xfs_copy integer wrap when dealing with large filesystems. From Mark Portney.
Nathan Scott [Sat, 17 Jul 2004 00:52:48 +0000 (00:52 +0000)] 
Fix an xfs_copy integer wrap when dealing with large filesystems.  From Mark Portney.

20 years agoFix up a missed minus/hyphen botch from last batch of man page updates.
Nathan Scott [Fri, 9 Jul 2004 06:52:47 +0000 (06:52 +0000)] 
Fix up a missed minus/hyphen botch from last batch of man page updates.

20 years agoCorrections to xfsprogs man pages after lintian reported hyphen/minus issue.
Nathan Scott [Fri, 9 Jul 2004 05:26:16 +0000 (05:26 +0000)] 
Corrections to xfsprogs man pages after lintian reported hyphen/minus issue.

20 years agoFix up configure problems in xfstests and xfsprogs.
Nathan Scott [Fri, 9 Jul 2004 04:41:10 +0000 (04:41 +0000)] 
Fix up configure problems in xfstests and xfsprogs.

20 years agoUpdate Debian packaging information for latest xfsprogs.
Nathan Scott [Fri, 25 Jun 2004 06:59:27 +0000 (06:59 +0000)] 
Update Debian packaging information for latest xfsprogs.

20 years agoFix libhandle from possibly returning an invalid handle length.
Bill Kendall [Wed, 23 Jun 2004 14:03:24 +0000 (14:03 +0000)] 
Fix libhandle from possibly returning an invalid handle length.
Fix libhandle from possibly returning an invalid handle length.

20 years agoFix realtime device initialisation in userspace tools.
Nathan Scott [Wed, 23 Jun 2004 05:38:55 +0000 (05:38 +0000)] 
Fix realtime device initialisation in userspace tools.

20 years agoFix check & repair of filesystems w/ realtime vols
Eric Sandeen [Wed, 23 Jun 2004 05:10:16 +0000 (05:10 +0000)] 
Fix check & repair of filesystems w/ realtime vols
use of isset macro was incorrectly checking rt bitmap
use our xfs_isset macro not system's isset,
which assumes a byte-sized bitfield

20 years agoFix make install breakage with xfsprogs platform headers.
Nathan Scott [Fri, 18 Jun 2004 01:42:17 +0000 (01:42 +0000)] 
Fix make install breakage with xfsprogs platform headers.

20 years agoMerge over several portability changes from xfstest update.
Nathan Scott [Thu, 17 Jun 2004 07:22:11 +0000 (07:22 +0000)] 
Merge over several portability changes from xfstest update.

20 years agoRework maximum transaction reservation calcs to be mkfs runtime, fix size check for...
Nathan Scott [Thu, 17 Jun 2004 07:15:04 +0000 (07:15 +0000)] 
Rework maximum transaction reservation calcs to be mkfs runtime, fix size check for stripe size aligned log.

20 years agoAdd a sendfile command to xfs_io for exercising that functionality.
Nathan Scott [Thu, 17 Jun 2004 07:11:29 +0000 (07:11 +0000)] 
Add a sendfile command to xfs_io for exercising that functionality.

20 years agoxfs_check now looks to see if the log is dirty before running.
Nathan Scott [Wed, 9 Jun 2004 11:38:17 +0000 (11:38 +0000)] 
xfs_check now looks to see if the log is dirty before running.

20 years agoTrivial tweaks to xfs_io.
Nathan Scott [Wed, 9 Jun 2004 11:35:55 +0000 (11:35 +0000)] 
Trivial tweaks to xfs_io.

20 years agoAdd Nicolas Boullis to CREDITS.
ptools [Fri, 21 May 2004 02:16:54 +0000 (02:16 +0000)] 
Add Nicolas Boullis to CREDITS.
Add Nicolas Boullis.

20 years agoUpdate Debian packaging in xfsprogs, revert a logprint arg handling thinko.
Nathan Scott [Thu, 13 May 2004 00:08:14 +0000 (00:08 +0000)] 
Update Debian packaging in xfsprogs, revert a logprint arg handling thinko.

20 years agoRemove MD clean superblock bit check, on Neil Browns advice.
Nathan Scott [Thu, 6 May 2004 07:22:23 +0000 (07:22 +0000)] 
Remove MD clean superblock bit check, on Neil Browns advice.

20 years agoMerge logprint dump and copy operations.
Glen Overby [Thu, 6 May 2004 01:09:46 +0000 (01:09 +0000)] 
Merge logprint dump and copy operations.

20 years agozero more at end of device at mkfs time, be sure to
Eric Sandeen [Mon, 3 May 2004 22:35:41 +0000 (22:35 +0000)] 
zero more at end of device at mkfs time, be sure to
get any old md superblock (which throws off mount-by-label)
bump version

20 years agoMerge Erics suggestion of looking in /usr/sbin too (like lvm.c).
Nathan Scott [Fri, 30 Apr 2004 04:05:14 +0000 (04:05 +0000)] 
Merge Erics suggestion of looking in /usr/sbin too (like lvm.c).

20 years agoUpdate libdisk to extract stripe info from device mapper, for mkfs.
Nathan Scott [Fri, 30 Apr 2004 03:50:20 +0000 (03:50 +0000)] 
Update libdisk to extract stripe info from device mapper, for mkfs.

20 years agoUpdate xfsprogs i18n message catalog.
Nathan Scott [Fri, 30 Apr 2004 03:45:52 +0000 (03:45 +0000)] 
Update xfsprogs i18n message catalog.

20 years agoFix printf format for bytes read/written output.
Nathan Scott [Fri, 30 Apr 2004 03:20:25 +0000 (03:20 +0000)] 
Fix printf format for bytes read/written output.

20 years agoSync up user/kernel libxfs and headers
Nathan Scott [Fri, 30 Apr 2004 03:16:43 +0000 (03:16 +0000)] 
Sync up user/kernel libxfs and headers

20 years agoTrivial fixes to compiler warnings on 64 bit platforms.
Nathan Scott [Fri, 30 Apr 2004 03:07:10 +0000 (03:07 +0000)] 
Trivial fixes to compiler warnings on 64 bit platforms.

20 years agoUpdate xfsprogs changelog for Russells fix.
Nathan Scott [Tue, 20 Apr 2004 23:02:28 +0000 (23:02 +0000)] 
Update xfsprogs changelog for Russells fix.

20 years agolibxfs fix for the dir2 rebalance bug
Russell Cattelan [Fri, 16 Apr 2004 15:56:34 +0000 (15:56 +0000)] 
libxfs fix for the dir2 rebalance bug
So this was a fun one to track down.
This bug has existed  since version 1.1 of the dir2 code.

xfs_dir2_leafn_rebalance splits a directory tree block into
2 balanced blocks and then calculates the new index in either the
old block or the new block relying on the hash value.
This doesn't work in the case of a new to be inserted elements hash value
being the same as an already existing elements hash value.

This resulted in a negative index being returned and then passed to
xfs_dir2_leafn_add, which it then used as a starting address in
the elements array.

The address (which is now pointing to somebody else's memory) was then
passed to memmove to move the tail of the array down 8 bytes.

Depending on the size of the array this would move all sorts of
possibly important info belong to somebody else 8 bytes down.

As part of the fix add a sanity check to xfs_dir2_leafn_add
to make nobody else is passing in a negative index.

20 years agoDebian packaging updates.
Nathan Scott [Fri, 16 Apr 2004 01:55:33 +0000 (01:55 +0000)] 
Debian packaging updates.

20 years ago- Fix file descriptor leak in path_to_fshandle. It now caches
Bill Kendall [Thu, 15 Apr 2004 19:42:58 +0000 (19:42 +0000)] 
- Fix file descriptor leak in path_to_fshandle. It now caches
one descriptor per filesystem.
- In xfsrestore, always allocate a fs handle during content_init.
This allows us to not have to call path_to_fshandle before attempting
every open_by_handle.
- Change open_by_fshandle to open_by_handle is cases where we are
passing a file handle (instead of a fshandle).
path_to_fshandle was opening a file and never closing it. We now close it
unless the descriptor is to be used in the descriptor cache. One descriptor
is cached for each unique filesystem that path_to_fshandle is called on.