CVS log for xfs-linux/xfs_sb.h

[BACK] Up to [Development] / xfs-linux

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.74 / (download) - annotate - [select for diffs], Wed May 21 06:14:00 2008 UTC (9 years, 4 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.73: +9 -1 lines
Diff to previous 1.73 (colored)

XFS: ASCII case-insensitive support

Implement ASCII case-insensitive support. It's primary purpose
is for supporting existing filesystems that already use this
case-insensitive mode migrated from IRIX. But, if you only need
ASCII-only case-insensitive support (ie. English only) and will
never use another language, then this mode is perfectly adequate.

ASCII-CI is implemented by generating hashes based on lower-case
letters and doing lower-case compares. It implements a new
xfs_nameops vector for doing the hashes and comparisons for
all filename operations.

To create a filesystem with this CI mode, use:
# mkfs.xfs -n version=ci <device>

Signed-off-by: Barry Naujok <bnaujok@sgi.com>
Merge of xfs-linux-melb:xfs-kern:31209a by kenmcd.

  Add ASCII CI flag and support to superblock

Revision 1.73 / (download) - annotate - [select for diffs], Tue Apr 29 06:14:02 2008 UTC (9 years, 5 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.72: +7 -0 lines
Diff to previous 1.72 (colored)

Fix up noattr2 so that it will properly update the versionnum and features2 fields.

Previously, mounting with noattr2 failed to achieve anything because
although it cleared the attr2 mount flag, it would set it again as soon as
it processed the superblock fields.
The fix now has an explicit noattr2 flag and uses it later to fix up the
versionnum and features2 fields.
Merge of xfs-linux-melb:xfs-kern:31003a by kenmcd.

  define xfs_sb_version_removeattr2

Revision 1.72 / (download) - annotate - [select for diffs], Wed Apr 9 06:19:03 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.71: +4 -3 lines
Diff to previous 1.71 (colored)

Ensure "both" features2 slots are consistent

Since older kernels may look in the sb_bad_features2 slot for
flags, rather than zeroing it out on fixup, we should make it
equal to the sb_features2 value.

Also, if the ATTR2 flag was not found prior to features2
fixup, it was not set in the mount flags, so re-check after the
fixup so that the current session will use the feature.

Also fix up the comments to reflect these changes.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:30778a by kenmcd.

  Ensure "both" features2 slots are consistent and the ATTR2
  mount flag is set properly.

Revision 1.71 / (download) - annotate - [select for diffs], Fri Feb 22 15:02:56 2008 UTC (9 years, 7 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.70: +34 -3 lines
Diff to previous 1.70 (colored)

Fix superblock features2 field alignment problem

Due to the xfs_dsb_t structure not being 64 bit aligned,
the last field of the on-disk superblock can vary in location
This causes problems when the filesystem gets moved to a
different platform, or there is a 32 bit userspace and 64 bit
kernel.

This patch detects the defect at mount time, logs a warning
such as:

XFS: correcting sb_features alignment problem

in dmesg and corrects the problem so that everything is OK.
it also blacklists the bad field in the superblock so it does
not get used for something else later on.
Merge of xfs-linux-melb:xfs-kern:30539a by kenmcd.

  Detect and correct the features2 field of the superblock
  being misaligned. Blacklist the misaligned field so it
  does not get reused in future.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Feb 22 03:05:49 2008 UTC (9 years, 7 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.69: +4 -65 lines
Diff to previous 1.69 (colored)

remove shouting-indirection macros from xfs_sb.h

Remove macro-to-small-function indirection from xfs_sb.h,
and remove some which are completely unused.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:30528a by kenmcd.

  remove shouting-indirection macros from xfs_sb.h

Revision 1.69 / (download) - annotate - [select for diffs], Thu Aug 23 15:57:06 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.68: +65 -3 lines
Diff to previous 1.68 (colored)

superblock endianess annotations

Creates a new xfs_dsb_t that is __be annotated and keeps xfs_sb_t for
the incore one.  xfs_xlatesb is renamed to xfs_sb_to_disk and only
handles the incore -> disk conversion.  A new helper xfs_sb_from_disk
handles the other direction and doesn't need the slightly hacky
table-driven approach because we only ever read the full sb from disk.

The handling of shared r/o filesystems has been buggy on little endian
system and fixing this required shuffling around of some code in that
area.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:29477a by kenmcd.

  Add superblock endian notations.

Revision 1.68 / (download) - annotate - [select for diffs], Tue May 22 15:50:48 2007 UTC (10 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.67: +13 -3 lines
Diff to previous 1.67 (colored)

Lazy Superblock Counters

When we have a couple of hundred transactions on the fly at once,
they all typically modify the on disk superblock in some way.
create/unclink/mkdir/rmdir modify inode counts, allocation/freeing
modify free block counts.

When these counts are modified in a transaction, the must eventually
lock the superblock buffer and apply the mods.  The buffer then
remains locked until the transaction is committed into the incore
log buffer. The result of this is that with enough transactions on
the fly the incore superblock buffer becomes a bottleneck.

The result of contention on the incore superblock buffer is that
transaction rates fall - the more pressure that is put on the
superblock buffer, the slower things go.

The key to removing the contention is to not require the superblock
fields in question to be locked. We do that by not marking the
superblock dirty in the transaction. IOWs, we modify the incore
superblock but do not modify the cached superblock buffer. In short,
we do not log superblock modifications to critical fields in the
superblock on every transaction. In fact we only do it just before
we write the superblock to disk every sync period or just before
unmount.

This creates an interesting problem - if we don't log or write out
the fields in every transaction, then how do the values get
recovered after a crash? the answer is simple - we keep enough
duplicate, logged information in other structures that we can
reconstruct the correct count  after log recovery has been
performed.

It is the AGF and AGI structures that contain the duplicate
information; after recovery, we walk every AGI and AGF and sum their
individual counters to get the correct value, and we do a
transaction into the log to correct them. An optimisation of this is
that if we have a clean unmount record, we know the value in the
superblock is correct, so we can avoid the summation walk under
normal conditions and so mount/recovery times do not change under
normal operation.

One wrinkle that was discovered during development was that the
blocks used in the freespace btrees are never accounted for in the
AGF counters. This was once a valid optimisation to make; when the
filesystem is full, the free space btrees are empty and consume no
space. Hence when it matters, the "accounting" is correct.  But that
means the when we do the AGF summations, we would not have a correct
count and xfs_check would complain.  Hence a new counter was added
to track the number of blocks used by the free space btrees. This is
an *on-disk format change*.

As a result of this, lazy superblock counters are a mkfs option
and at the moment on linux there is no way to convert an old
filesystem. This is possible - xfs_db can be used to twiddle the
right bits and then xfs_repair will do the format conversion
for you. Similarly, you can convert backwards as well. At some point
we'll add functionality to xfs_admin to do the bit twiddling
easily....
Merge of xfs-linux-melb:xfs-kern:28652a by kenmcd.

  Changes to support lazy superblock counters.

Revision 1.67 / (download) - annotate - [select for diffs], Thu Aug 10 15:31:06 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.66: +0 -22 lines
Diff to previous 1.66 (colored)

Remove several macros that are no longer used anywhere

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:26749a by kenmcd.

  Remove several macros that are no longer used anywhere

Revision 1.66 / (download) - annotate - [select for diffs], Fri Dec 2 02:48:45 2005 UTC (11 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.65: +0 -17 lines
Diff to previous 1.65 (colored)

Sort out cosmetic differences between user and kernel copies of some sources.
Merge of xfs-linux-melb:xfs-kern:24659a by kenmcd.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Sep 23 03:51:28 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.64: +12 -26 lines
Diff to previous 1.64 (colored)

Update license/copyright notices to match the prefered SGI boilerplate.
Merge of xfs-linux-melb:xfs-kern:23903a by kenmcd.

Revision 1.64 / (download) - annotate - [select for diffs], Fri Sep 23 03:48:50 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.63: +156 -240 lines
Diff to previous 1.63 (colored)

Remove xfs_macros.c, xfs_macros.h, rework headers a whole lot.
Merge of xfs-linux-melb:xfs-kern:23901a by kenmcd.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Sep 16 15:10:21 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.62: +35 -11 lines
Diff to previous 1.62 (colored)

Ondisk format extension for extended attributes (attr2).  Basically, the data/attr forks now grow up/down from either end of the literal area, rather than dividing the literal area into two chunks and growing both upward.  Means we can now make much more efficient use of the attribute space, incl. fitting DMF attributes inline in 256 byte inodes, and large jumps in dbench3 performance numbers.  It is self enabling, but can be forced on/off via the attr2/noattr2 mount options.
Merge of xfs-linux-melb:xfs-kern:23835a by kenmcd.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Sep 16 15:09:30 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.61: +0 -0 lines
Diff to previous 1.61 (colored)

Ondisk format extension for extended attributes (attr2).  Basically, the data/attr forks now grow up/down from either end of the literal area, rather than dividing the literal area into two chunks and growing both upward.  Means we can now make much more efficient use of the attribute space, incl. fitting DMF attributes inline in 256 byte inodes, and large jumps in dbench3 performance numbers.  It is self enabling, but can be forced on/off via the attr2/noattr2 mount options.
Merge of xfs-linux-melb:xfs-kern:23834a by kenmcd.

Revision 1.61 / (download) - annotate - [select for diffs], Thu Aug 19 05:30:08 2004 UTC (13 years, 1 month ago) by tes
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

fix up handling of sb versionnum when fs on disk has newer bit features
than the kernel

Revision 1.60 / (download) - annotate - [select for diffs], Wed Mar 17 21:30:09 2004 UTC (13 years, 7 months ago) by overby
Branch: MAIN
Changes since 1.59: +59 -5 lines
Diff to previous 1.59 (colored)

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.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Jun 27 18:04:26 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
Changes since 1.58: +529 -0 lines
Diff to previous 1.58 (colored)

The Big Move
linux/fs/xfs/xfs_sb.h 1.57 Renamed to xfs_sb.h

Revision 1.58 / (download) - annotate - [select for diffs], Fri Jun 27 17:57:21 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
CVS Tags: DENUKE
Changes since 1.57: +0 -529 lines
Diff to previous 1.57 (colored)

Nuke

Revision 1.57 / (download) - annotate - [select for diffs], Wed Jun 18 04:03:15 2003 UTC (14 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.56: +1 -1 lines
Diff to previous 1.56 (colored)

Add in benign missing sector flag to SB version macro

Revision 1.56 / (download) - annotate - [select for diffs], Tue Apr 15 23:16:46 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.55: +72 -72 lines
Diff to previous 1.55 (colored)

Whitespace cleanup
Clean up some whitespace... revert some whitespace changes from previous whitespace cleanup (incorrect tabs)

Revision 1.55 / (download) - annotate - [select for diffs], Mon Dec 2 05:53:26 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.54: +16 -6 lines
Diff to previous 1.54 (colored)

Sector size updates - macros for calculating address/size of sector-sized
data structures (sb,agf,agi,agfl) are now sector size aware.  Cleaned up
the early mount code dealing with log devices and logsectsize.
Macros for calculating address/size of sector-sized data structures     
(sb,agf,agi,agfl) are now sector size aware.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Nov 13 07:49:10 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.53: +27 -11 lines
Diff to previous 1.53 (colored)

pagebuf can now take a configurable sector size (512 -> 32K).
Add macros for doing sector to BB conversions, FSB to sector conversions,
etc.  Add placeholder fields for log sector size - we don't use them yet.

Revision 1.53 / (download) - annotate - [select for diffs], Wed Jul 10 19:00:42 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.52: +106 -106 lines
Diff to previous 1.52 (colored)

whitespace cleanup

Revision 1.52 / (download) - annotate - [select for diffs], Tue Jun 18 20:32:24 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.51: +19 -6 lines
Diff to previous 1.51 (colored)

Add log versioning, and new super block field for the log stripe

Revision 1.51 / (download) - annotate - [select for diffs], Tue Jun 4 16:30:46 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.50: +1 -1 lines
Diff to previous 1.50 (colored)

Update copyright dates

Revision 1.50 / (download) - annotate - [select for diffs], Tue Apr 3 02:52:38 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
CVS Tags: Release-1_0_0, Linux-2_4_5-merge
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored)

support group quotas in Linux/XFS.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Nov 8 02:00:10 2000 UTC (16 years, 11 months ago) by nathans
Branch: MAIN
CVS Tags: PreRelease-0_10
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

merge fpack and fname into one.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.47: +5 -7 lines
Diff to previous 1.47 (colored)

use xfs.h, remove all traces of SIM, push extern declarations into headers,
dead code removal.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Jun 16 20:57:56 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.46: +5 -4 lines
Diff to previous 1.46 (colored)

Define values needed for logging sb_uuid with xfs_mod_sb.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jun 9 06:40:03 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

Merge of 2.3.99pre2-xfs:slinx:63026a originally by cattelan on 05/30/00
  Masive type update 
  all daddr_t -> xfs_daddr_t
  caddr_t -> xfs_caddr_t
  off_t   -> xfs_off_t
  ino_t   -> xfs_ino_t
  off64_t -> xfs_off_t 
  Removed need for file xfs_to_linux.h and lunux_to_xfs.h

Revision 1.45 / (download) - annotate - [select for diffs], Fri Jun 9 04:39:57 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.44: +2 -3 lines
Diff to previous 1.44 (colored)

ARCH: Support big-endian ONLY
Merge of 2.3.99pre2-xfs:slinx:62350a by ananth.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jun 9 02:50:02 2000 UTC (17 years, 4 months ago) by kenmcd
Branch: MAIN
CVS Tags: GPL-ENCUMBRANCE
Changes since 1.43: +25 -12 lines
Diff to previous 1.43 (colored)

Updated copyright and license notices, ready for open source release
Merge of 2.3.99pre2-xfs:slinx:55821a by ananth.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jun 9 02:13:12 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
CVS Tags: DELETE
Changes since 1.42: +4 -1 lines
Diff to previous 1.42 (colored)

initial architecture work
Merge of 2.3.99pre2-xfs:slinx:46678a by ananth.

  Merge of 2.3.42-xfs:slinx:46678a by ananth.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Jan 30 09:59:06 2000 UTC (17 years, 8 months ago) by kenmcd
Branch: MAIN
Changes since 1.41: +19 -1 lines
Diff to previous 1.41 (colored)

Encumbrance review done.
Add copyright and license words consistent with GPL.
Refer to http://fsg.melbourne.sgi.com/reviews/ for details.

There is a slight change in the license terms and conditions words
to go with the copyrights, so most of the files are not getting
new GPL's, just updated versions ... but there are 20-30 more files
here as well.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Nov 22 19:39:07 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40 (colored)

virtualize interface to buffer data

Revision 1.40 / (download) - annotate - [select for diffs], Wed Nov 17 19:22:23 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

Revision 1.39 / (download) - annotate - [select for diffs], Thu Feb 4 01:28:30 1999 UTC (18 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.38: +21 -7 lines
Diff to previous 1.38 (colored)

Add v2 directory support.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Mar 21 00:16:26 1998 UTC (19 years, 7 months ago) by rcc
Branch: MAIN
Changes since 1.37: +38 -7 lines
Diff to previous 1.37 (colored)

make sb field sequence numbers match field order.  add new sb
macros for unwritten extents.  pv: 575875,575946  rv: doucette@engr

Revision 1.37 / (download) - annotate - [select for diffs], Fri Feb 20 23:09:37 1998 UTC (19 years, 7 months ago) by rm
Branch: MAIN
Changes since 1.36: +10 -7 lines
Diff to previous 1.36 (colored)

Implement unwritten extent flagging.
rv: doucette@engr, rcc@engr, earsh@engr, kayuri@engr
pv: 705217

Revision 1.36 / (download) - annotate - [select for diffs], Tue Jan 13 22:36:56 1998 UTC (19 years, 9 months ago) by rcc
Branch: MAIN
Changes since 1.35: +18 -3 lines
Diff to previous 1.35 (colored)

set up a repair-only version of XFS_SB_GOOD_VERSION() that is
more forgiving of garbage in the shared_vn field for secondary
superblocks.  pv: 545068, rv: doucette@engr

Revision 1.35 / (download) - annotate - [select for diffs], Sat Dec 13 21:22:31 1997 UTC (19 years, 10 months ago) by rcc
Branch: MAIN
Changes since 1.34: +5 -4 lines
Diff to previous 1.34 (colored)

550476 - move the new flags and shared_vn fields from the end of the sb
into an existing 2-byte hole.  pv: 550476, rv: doucette@engr

Revision 1.34 / (download) - annotate - [select for diffs], Fri Sep 19 09:37:09 1997 UTC (20 years, 1 month ago) by rcc
Branch: MAIN
Changes since 1.33: +49 -5 lines
Diff to previous 1.33 (colored)

522678 - add shared superblock version bit, associated macros,
and changes to superblock version test.  added shared XFS version
number and persistent-read-only filesystem fields.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Aug 1 22:51:58 1997 UTC (20 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.32: +7 -4 lines
Diff to previous 1.32 (colored)

Don't set the dalign bit in the superblock version if the feature's
not getting used on this fs.  This means the filesystem can
be mounted by 6.4 systems which are not xfs-patched.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Mar 29 01:18:05 1997 UTC (20 years, 6 months ago) by kayuri
Branch: MAIN
Changes since 1.31: +10 -1 lines
Diff to previous 1.31 (colored)

Add macro to set the stripe align version bit in the superblock (bug 397746).

Revision 1.31 / (download) - annotate - [select for diffs], Tue Mar 11 19:10:01 1997 UTC (20 years, 7 months ago) by kayuri
Branch: MAIN
Changes since 1.30: +23 -6 lines
Diff to previous 1.30 (colored)

Added new superblock version bit, XFS_SB_VERSION_DALIGNBIT. Added new
superblock fields, sb_unit and sb_width to record the stripe unit and width
information for xlv subvolume or a RAID 3 or RAID 5 device. Made appropriate
changes to the sb macros.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jun 5 04:03:05 1996 UTC (21 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Fix the mkfs sb_version so it's the old value (1) when inode alignment
is turned off.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jun 4 21:40:09 1996 UTC (21 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.28: +168 -20 lines
Diff to previous 1.28 (colored)

Add new macros so the features represented by the superblock
version number can be tested and set individually (bug 385316).
Add inode alignment support (bug 385292).

Revision 1.28 / (download) - annotate - [select for diffs], Fri May 17 21:42:49 1996 UTC (21 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.27: +4 -6 lines
Diff to previous 1.27 (colored)

Remove superfluous sb_padding field from superblock.
Fix names of flags for user and project quota inode fields in sb.

Revision 1.27 / (download) - annotate - [select for diffs], Wed May 15 22:10:12 1996 UTC (21 years, 5 months ago) by sup
Branch: MAIN
Changes since 1.26: +21 -5 lines
Diff to previous 1.26 (colored)

New superblock version for disk quotas

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jan 31 05:40:44 1996 UTC (21 years, 8 months ago) by ack
Branch: MAIN
Changes since 1.25: +25 -34 lines
Diff to previous 1.25 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_sb.h,v
> ----------------------------
> revision 1.29
> date: 1996/01/30 19:08:36;  author: doucette;  state: Exp;  lines: +26 -35
> Change xfs_mod_incore_sb and friends to use field numbers instead of
> a bitmask for the sb fields, this makes the values passed be 32 not 64 bits.
> =============================================================================

Revision 1.25 / (download) - annotate - [select for diffs], Tue Oct 10 10:45:48 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.24: +7 -5 lines
Diff to previous 1.24 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_sb.h,v
> ----------------------------
> revision 1.28
> date: 1995/10/10 00:58:31;  author: doucette;  state: Exp;  lines: +3 -3
> Add sb_imax_pct field for max % inode space checking.
> ----------------------------
> revision 1.27
> date: 1995/10/05 01:04:54;  author: ajs;  state: Exp;  lines: +5 -3
> 310776 Add the new superblock version number.
> ----------------------------
> revision 1.26
> date: 1995/10/04 00:47:33;  author: ajs;  state: Exp;  lines: +2 -3
> 310776 Back out last change.
> ----------------------------
> revision 1.25
> date: 1995/10/03 23:06:28;  author: ajs;  state: Exp;  lines: +4 -3
> 310776 Add the new superblock version number.
> =============================================================================

Revision 1.24 / (download) - annotate - [select for diffs], Wed Aug 16 05:46:37 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.23: +35 -2 lines
Diff to previous 1.23 (colored)

Turn some macros into functions for 32-bit kernels, to save some memory.

Revision 1.23 / (download) - annotate - [select for diffs], Tue May 9 21:21:53 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.22: +46 -38 lines
Diff to previous 1.22 (colored)

Add support for in-core and on-disk inodes with both data and
attribute forks, or just a data fork.  Change all the data structures
and macros used to manipulate the variable portion of the inode, to
support this feature.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Feb 22 20:47:50 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Fix bugs 263156, 263632 - enable 64-bit file sizes in 64-bit kernels.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Nov 16 22:22:20 1994 UTC (22 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.20: +9 -7 lines
Diff to previous 1.20 (colored)

Add sb_inprogress field for mkfs completion checking.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Oct 3 18:39:19 1994 UTC (23 years ago) by ajs
Branch: MAIN
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored)

Modify the XFS_FSB_TO_B() macro to cast its operand to an xfs_fsize_t
so that we don't lose bits in the shift.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jul 14 17:11:55 1994 UTC (23 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.18: +10 -14 lines
Diff to previous 1.18 (colored)

Reorder header fields to put magic number first.  Doing this now
since we're rolling the filesystem format anyway for agi_dirino.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jun 28 03:32:26 1994 UTC (23 years, 3 months ago) by ajs
Branch: MAIN
Changes since 1.17: +1 -4 lines
Diff to previous 1.17 (colored)

Remove the XFS_BTOD and XFS_DTOBT macros.  They are the
same as XFS_FSB_TO_BB and XFS_BB_TO_FSBT and their names
are confusing.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Apr 23 00:57:27 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.16: +4 -2 lines
Diff to previous 1.16 (colored)

Add macros to compute offsets into file system blocks.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Apr 22 22:58:11 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15 (colored)

Change variable names from buf to bp to avoid global buf; also change
...buf to ...bp for consistency.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Apr 17 23:34:29 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.14: +17 -17 lines
Diff to previous 1.14 (colored)

Change "functional" macros' names from lower to uppercase, for consistency
with everything else.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Apr 12 01:16:49 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.13: +22 -21 lines
Diff to previous 1.13 (colored)

Split xfs_fsblock_t into multiple types.
Use mp instead of sbp in all the address macros.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 16 23:23:54 1994 UTC (23 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.12: +20 -3 lines
Diff to previous 1.12 (colored)

Add macros for converting from fsb's to bb's and b's.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Feb 15 00:23:52 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.11: +28 -24 lines
Diff to previous 1.11 (colored)

Add superblock fields for internal logs.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Feb 8 19:52:27 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.10: +37 -31 lines
Diff to previous 1.10 (colored)

Add more realtime fields to the superblock.  Fix up all the bit values.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Feb 2 20:19:32 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Fix lint problems.  Clean up formatting

Revision 1.9 / (download) - annotate - [select for diffs], Mon Dec 27 22:24:30 1993 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.8: +7 -5 lines
Diff to previous 1.8 (colored)

Split allocation group header into two buffers; make superblock one
buffer long instead of one block long.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 23 02:03:12 1993 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.7: +11 -11 lines
Diff to previous 1.7 (colored)

Remove sb_smallfiles, add sb_agblklog field to superblock.

Change fsb_to_daddr and daddr_to_fsb macros to new conversion scheme.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Dec 10 00:22:31 1993 UTC (23 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.6: +10 -4 lines
Diff to previous 1.6 (colored)

Change counters to more counter-like types.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 19 21:45:46 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.5: +33 -3 lines
Diff to previous 1.5 (colored)

Change names of sb_version and sb_magic fields.  Add defines for xfs_sb
fields, for logging.  Add xfs_dtobt conversion macro.  Add real uuid support.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 12 18:51:44 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.4: +2 -0 lines
Diff to previous 1.4 (colored)

Add inodelog and inopblog fields.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Nov 9 01:41:30 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.3: +28 -28 lines
Diff to previous 1.3 (colored)

More stuff in btree.[ch].  Structure field name changes.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Nov 6 22:08:32 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.2: +0 -4 lines
Diff to previous 1.2 (colored)

Get rid of nested includes.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Oct 30 00:26:03 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.1: +12 -11 lines
Diff to previous 1.1 (colored)

Change types from u_int??_t form to __uint??_t form.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 29 17:23:01 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>