CVS log for xfs-linux/xfs_dinode.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.88 / (download) - annotate - [select for diffs], Fri Oct 10 15:27:57 2008 UTC (9 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.87: +1 -1 lines
Diff to previous 1.87 (colored)

Always use struct xfs_btree_block instead of short / longform structures.

Always use the generic xfs_btree_block type instead of the short / long
structures.  Add XFS_BTREE_SBLOCK_LEN / XFS_BTREE_LBLOCK_LEN defines for
the length of a short / long form block.  The rationale for this is that
we will grow more btree block header variants to support CRCs and other
RAS information, and always accessing them through the same datatype
with unions for the short / long form pointers makes implementing this
much easier.


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

  Always use struct xfs_btree_block instead of short / longform structures.

Revision 1.87 / (download) - annotate - [select for diffs], Fri Oct 10 15:21:38 2008 UTC (9 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.86: +1 -2 lines
Diff to previous 1.86 (colored)

Cleanup maxrecs calculation.

Clean up the way the maximum and minimum records for the btree blocks are
calculated.  For the alloc and inobt btrees all the values are pre-calculated
in xfs_mount_common, and we switch the current loop around the ugly generic
macros that use cpp token pasting to generate type names to two small helpers
in normal C code.  For the bmbt and bmdr trees these helpers also exist,
but can be called during runtime, too.  Here we also kill various macros
dealing with them and inline the logic into the get_minrecs / get_maxrecs /
get_dmaxrecs methods in xfs_bmap_btree.c.

Note that all these new helpers take an xfs_mount * argument which will
be needed to determine the size of a btree block once we add support for
extended btree blocks with CRCs and other RAS information.


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

  Cleanup maxrecs calculation.

Revision 1.86 / (download) - annotate - [select for diffs], Fri Jul 25 06:13:14 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.85: +2 -0 lines
Diff to previous 1.85 (colored)

Undoes mod:     xfs-linux-melb:xfs-kern:31766a
Revert remove mounpoint UUID code

As spotted by dchinner and hch, this touches on-disk format and log format, should be more carefully reviewed.
Merge of xfs-linux-melb:xfs-kern:31773a by kenmcd.

Revision 1.85 / (download) - annotate - [select for diffs], Fri Jul 25 04:21:53 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.84: +0 -2 lines
Diff to previous 1.84 (colored)

remove mounpoint UUID code

It looks like all of the below is unused... and according
to Nathan,

"dont think it even got used/implemented anywhere, but i think it
was meant to be an auto-mount kinda thing... such that when you look
up at that point, it knows to mount the device with that uuid there,
if its not already it was never really written anywhere ... just an
idea in doug doucettes brain i think."

Think it'll ever go anywhere, or should it get pruned?

The below builds; not at all tested, until I get an idea if it's worth
doing.  Need to double check that some structures might not need padding
out to keep things compatible/consistent...
Merge of xfs-linux-melb:xfs-kern:31766a by kenmcd.

Revision 1.84 / (download) - annotate - [select for diffs], Fri Nov 30 05:10:36 2007 UTC (9 years, 10 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.83: +21 -55 lines
Diff to previous 1.83 (colored)

Remove CFORK macros and use code directly in IFORK and DFORK macros.

Currently XFS_IFORK_* and XFS_DFORK* are implemented by means of
XFS_CFORK* macros.  But given that XFS_IFORK_* operates on an
xfs_inode that embedds and xfs_icdinode_core and XFS_DFORK_* operates
on an xfs_dinode that embedds a xfs_dinode_core one will have to do
endian swapping while the other doesn't.  Instead of having the current
mess with the CFORK macros that have byteswapping and non-byteswapping
version (which are inconsistantly named while we're at it) just define
each family of the macros to stand by itself and simplify the whole
matter.

A few direct references to the CFORK variants were cleaned up to
use IFORK or DFORK to make this possible.

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

  Remove CFORK macros and use code directly in IFORK and DFORK macros.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Nov 5 15:04:07 2007 UTC (9 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.82: +6 -0 lines
Diff to previous 1.82 (colored)

optimize XFS_IS_REALTIME_INODE w/o realtime config

Use XFS_IS_REALTIME_INODE in more places, and #define it to
0 if CONFIG_XFS_RT is off.  This should be safe because mount
checks in xfs_rtmount_init:

# define xfs_rtmount_init(m)    (((mp)->m_sb.sb_rblocks == 0)? 0 : (ENOSYS))

so if we get mounted w/o CONFIG_XFS_RT, no realtime inodes should
be encountered after that.

Defining XFS_IS_REALTIME_INODE to 0 saves a bit of stack space,
presumeably gcc can optimize around the various "if (0)" type
checks:

xfs_alloc_file_space    -8
xfs_bmap_adjacent       -16
xfs_bmapi               -8
xfs_bmap_rtalloc        -16
xfs_bunmapi             -28
xfs_free_file_space     -64
xfs_imap                +8  <-- ?  hmm.
xfs_iomap_write_direct  -12
xfs_qm_dqusage_adjust   -4
xfs_qm_vop_chown_reserve -4

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

  Use XFS_IS_REALTIME_INODE() rather than open coding the check.

Revision 1.82 / (download) - annotate - [select for diffs], Thu Aug 23 15:56:14 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.81: +32 -33 lines
Diff to previous 1.81 (colored)

dinode endianess annotations

Biggest bit is duplicating the dinode structure so we have one annoted
for native endianess and one for disk endianess.  The other significant
change is that xfs_xlate_dinode_core is split into one helper per
direction to allow for proper annotations, everything else is trivial.

As a sidenode splitting out the incore dinode means we can move it into
xfs_inode.h in a later patch and severly improving on the include hell
in xfs.

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

  add endian notations for the dinode.

Revision 1.81 / (download) - annotate - [select for diffs], Mon Jul 9 06:12:03 2007 UTC (10 years, 3 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.80: +3 -1 lines
Diff to previous 1.80 (colored)

Concurrent Multi-File Data Streams

In media spaces, video is often stored in a frame-per-file format.
When dealing with uncompressed realtime HD video streams in this format,
it is crucial that files do not get fragmented and that multiple files
a placed contiguously on disk.

When multiple streams are being ingested and played out at the same
time, it is critical that the filesystem does not cross the streams
and interleave them together as this creates seek and readahead
cache miss latency and prevents both ingest and playout from meeting
frame rate targets.

This patch set creates a "stream of files" concept into the allocator
to place all the data from a single stream contiguously on disk so
that RAID array readahead can be used effectively. Each additional
stream gets placed in different allocation groups within the
filesystem, thereby ensuring that we don't cross any streams. When
an AG fills up, we select a new AG for the stream that is not in
use.

The core of the functionality is the stream tracking - each inode
that we create in a directory needs to be associated with the
directories' stream. Hence every time we create a file, we look up
the directories' stream object and associate the new file with that
object.

Once we have a stream object for a file, we use the AG that the
stream object point to for allocations. If we can't allocate in that
AG (e.g. it is full) we move the entire stream to another AG. Other
inodes in the same stream are moved to the new AG on their next
allocation (i.e. lazy update).

Stream objects are kept in a cache and hold a reference on the
inode. Hence the inode cannot be reclaimed while there is an
outstanding stream reference. This means that on unlink we need to
remove the stream association and we also need to flush all the
associations on certain events that want to reclaim all unreferenced
inodes (e.g.  filesystem freeze).
Merge of xfs-linux-melb:xfs-kern:29096a by kenmcd.

  Concurrent Multi-File Data Streams feature check in.

Revision 1.80 / (download) - annotate - [select for diffs], Thu Jun 15 03:58:11 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.79: +0 -1 lines
Diff to previous 1.79 (colored)

Remove version 1 directory code.  Never functioned on Linux, just pure bloat.
Merge of xfs-linux-melb:xfs-kern:26251a by kenmcd.

Revision 1.79 / (download) - annotate - [select for diffs], Fri May 19 06:06:01 2006 UTC (11 years, 4 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.78: +3 -1 lines
Diff to previous 1.78 (colored)

Add degframentation exclusion support
Merge of xfs-linux-melb:xfs-kern:25986a by kenmcd.

  Define ondisk no-defrag inode flag

Revision 1.78 / (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.77: +9 -2 lines
Diff to previous 1.77 (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.77 / (download) - annotate - [select for diffs], Fri Nov 11 14:16:20 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.76: +8 -3 lines
Diff to previous 1.76 (colored)

Implement the di_extsize allocator hint for non-realtime files as well.  Also provides a mechanism for inheriting this property from the parent directory for new files.
Merge of xfs-linux-melb:xfs-kern:24367a by kenmcd.

Revision 1.76 / (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.75: +12 -26 lines
Diff to previous 1.75 (colored)

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

Revision 1.75 / (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.74: +17 -152 lines
Diff to previous 1.74 (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.74 / (download) - annotate - [select for diffs], Fri Jan 14 11:57:33 2005 UTC (12 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.73: +1 -1 lines
Diff to previous 1.73 (colored)

Remove INT_ZERO and INT_ISZERO
0 is 0 in all endianess variant.  No need for INT_ZERO and INT_ISZERO

Revision 1.73 / (download) - annotate - [select for diffs], Wed Jan 12 22:38:29 2005 UTC (12 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.72: +47 -109 lines
Diff to previous 1.72 (colored)

Stop passing ARCH_CONVERT/ARCH_NOCONVERT around everywhere
stop passing ARCH_CONVERT/ARCH_NOCONVERT around everywhere

Revision 1.72 / (download) - annotate - [select for diffs], Wed Sep 22 07:13:53 2004 UTC (13 years ago) by nathans
Branch: MAIN
Changes since 1.71: +6 -1 lines
Diff to previous 1.71 (colored)

Add nosymlinks inode flag for the security folks, reserve projinherit flag.

Revision 1.71 / (download) - annotate - [select for diffs], Mon Aug 16 06:43:29 2004 UTC (13 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.70: +7 -0 lines
Diff to previous 1.70 (colored)

Add a realtime inheritance bit for directory inodes so new files can be automatically created as realtime files.

Revision 1.70 / (download) - annotate - [select for diffs], Tue Oct 7 21:21:22 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.69: +1 -20 lines
Diff to previous 1.69 (colored)

switch xfs to use linux imode flags internally

Revision 1.69 / (download) - annotate - [select for diffs], Fri Oct 3 15:02:37 2003 UTC (14 years ago) by lord
Branch: MAIN
CVS Tags: DELETE-570
Changes since 1.68: +14 -18 lines
Diff to previous 1.68 (colored)

Code cleanup
Merge of 2.4.x-xfs-kern:slinx:159439a by lord.

  use defines from stat.h

Revision 1.68 / (download) - annotate - [select for diffs], Mon Sep 15 05:03:19 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.67: +16 -8 lines
Diff to previous 1.67 (colored)

Undoes mod:     xfs-linux:slinx:158358a
Implement several additional inode flags - immutable, append-only, etc; contributed by Ethan Benson.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Sep 15 03:40:38 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.66: +8 -16 lines
Diff to previous 1.66 (colored)

Undoes mod:     xfs-linux:slinx:158357a
Undo last mod, checked in against wrong bug number with wrong change message.

Revision 1.66 / (download) - annotate - [select for diffs], Mon Sep 15 03:13:46 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.65: +16 -8 lines
Diff to previous 1.65 (colored)

Separate the big filesystems macro out into separate big inums and blknos macros.  Also fix the check for too-large filesystems in the process.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Aug 6 21:17:05 2003 UTC (14 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.64: +4 -1 lines
Diff to previous 1.64 (colored)

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.
add di_flushiter field to inode core

Revision 1.64 / (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.63: +480 -0 lines
Diff to previous 1.63 (colored)

The Big Move
linux/fs/xfs/xfs_dinode.h 1.62 Renamed to xfs_dinode.h

Revision 1.63 / (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.62: +0 -480 lines
Diff to previous 1.62 (colored)

Nuke

Revision 1.62 / (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.61: +154 -154 lines
Diff to previous 1.61 (colored)

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

Revision 1.61 / (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.60: +165 -165 lines
Diff to previous 1.60 (colored)

whitespace cleanup

Revision 1.60 / (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.59: +1 -1 lines
Diff to previous 1.59 (colored)

Update copyright dates

Revision 1.59 / (download) - annotate - [select for diffs], Mon Apr 1 22:46:06 2002 UTC (15 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.58: +1 -1 lines
Diff to previous 1.58 (colored)

Optimize endian flipping code when setting to or testing for zero
Use INT_ZERO and INT_ISZERO instead of INT_SET and INT_GET

Revision 1.58 / (download) - annotate - [select for diffs], Wed Feb 13 15:23:28 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.57: +9 -5 lines
Diff to previous 1.57 (colored)

Remove endian conversion from some macros which are always used on
local byte order structures.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Nov 14 23:40:34 2000 UTC (16 years, 11 months ago) by dxm
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10, Linux-2_4_5-merge
Changes since 1.56: +0 -2 lines
Diff to previous 1.56 (colored)

remove extraneous include of "xfs_arch.h" (now arch.h)

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

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

Revision 1.55 / (download) - annotate - [select for diffs], Fri Jun 9 03:22:15 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.54: +69 -79 lines
Diff to previous 1.54 (colored)

Merge of 2.3.99pre2-xfs:slinx:56465a by ananth.

  remove ugly FSET/FGET hack

Revision 1.54 / (download) - annotate - [select for diffs], Fri Jun 9 03:04:40 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.53: +42 -21 lines
Diff to previous 1.53 (colored)

fix CONFIG_XFS_ARCH_MIPS case
Merge of 2.3.99pre2-xfs:slinx:56101a by ananth.

Revision 1.53 / (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.52: +25 -12 lines
Diff to previous 1.52 (colored)

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

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

cleanup XFS use of device types
Merge of 2.3.99pre2-xfs:slinx:55615a by ananth.

  Merge of 2.3.42-xfs:slinx:55615a by lord.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jun 9 02:23:33 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.50: +1 -1 lines
Diff to previous 1.50 (colored)

Merge of 2.3.99pre2-xfs:slinx:54531a by ananth.

  Merge of 2.3.42-xfs:slinx:54531a by ananth.
  Fix typo xfs_dfork_aptr_asrch -> xfs_dfork_aptr_arch
  This broke debug builds

Revision 1.50 / (download) - annotate - [select for diffs], Fri Jun 9 02:22:51 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.49: +167 -93 lines
Diff to previous 1.49 (colored)

architecture changes: dinode_core, sf(1) dirs, dev files, dir(1) leaves
Merge of 2.3.99pre2-xfs:slinx:50068a by ananth.

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

Revision 1.49 / (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.48: +11 -16 lines
Diff to previous 1.48 (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.48 / (download) - annotate - [select for diffs], Mon Jan 3 21:41:53 2000 UTC (17 years, 9 months ago) by kenmcd
Branch: MAIN
Changes since 1.47: +24 -1 lines
Diff to previous 1.47 (colored)

Encumbrance review done.  Add copyright and license words consistent with GPL.

Revision 1.47 / (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.46: +1 -1 lines
Diff to previous 1.46 (colored)

virtualize interface to buffer data

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

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

Revision 1.45 / (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.44: +2 -1 lines
Diff to previous 1.44 (colored)

Add union element for v2 shortform directories.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Aug 4 18:16:38 1997 UTC (20 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.43: +4 -1 lines
Diff to previous 1.43 (colored)

Add inode flag newrtbm for bitmap inode only.

Revision 1.43 / (download) - annotate - [select for diffs], Thu May 29 20:41:32 1997 UTC (20 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored)

Fix the XFS_MAXLINK value from 2^32-1 to 2^31-1 since it
needs to be returnable in pathconf, which is a signed interface.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Apr 9 19:14:43 1996 UTC (21 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Put cast in XFS_CFORK_BOFF to avoid warnings in some versions.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Nov 29 11:30:02 1995 UTC (21 years, 10 months ago) by ack
Branch: MAIN
Changes since 1.40: +10 -9 lines
Diff to previous 1.40 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_dinode.h,v
> ----------------------------
> revision 1.43
> date: 1995/11/27 23:05:44;  author: doucette;  state: Exp;  lines: +11 -10
> Add parentheses around all macro arguments that could possibly need it,
> as this mattered for xfs_db.
> =============================================================================

Revision 1.40 / (download) - annotate - [select for diffs], Tue Oct 10 10:45:41 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.39: +38 -26 lines
Diff to previous 1.39 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_dinode.h,v
> ----------------------------
> revision 1.42
> date: 1995/10/05 01:04:46;  author: ajs;  state: Exp;  lines: +38 -26
> 310776 Change the on disk inode to support a 32 bit link count.
> Delete the uuid field in inode.  Bump the inode version number when we
> do this.  Also add a 16 bit projid field to the inode that we'll use
> eventually.
> ----------------------------
> revision 1.41
> date: 1995/10/04 00:47:27;  author: ajs;  state: Exp;  lines: +25 -35
> 310776 Back out last change.
> ----------------------------
> revision 1.40
> date: 1995/10/03 23:06:20;  author: ajs;  state: Exp;  lines: +36 -26
> 310776 Change the on disk inode to support a 32 bit link
> count.  Delete the uuid field in inode.  Bump the inode
> version number when we do this.  Also add a 16 bit projid
> field to the inode that we'll use eventually.
> =============================================================================

Revision 1.39 / (download) - annotate - [select for diffs], Thu Aug 31 18:03:37 1995 UTC (22 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.38: +4 -2 lines
Diff to previous 1.38 (colored)

Change type of di_nlink to unsigned (16 bit).  Add definition
XFS_MAXLINK, which for now is 30000 (MAXLINK).

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

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

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jun 20 23:12:59 1995 UTC (22 years, 3 months ago) by rcc
Branch: MAIN
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

added a "good version" macro

Revision 1.36 / (download) - annotate - [select for diffs], Thu May 25 18:07:46 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

Add macros XFS_DFORK_DPTR, XFS_DFORK_APTR for when whichfork is constant,
and use them in a few places.  This makes the compiler happier.

Revision 1.35 / (download) - annotate - [select for diffs], Wed May 24 22:29:29 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.34: +32 -27 lines
Diff to previous 1.34 (colored)

Add second union di_a to the disk inode (for the attribute data).

Revision 1.34 / (download) - annotate - [select for diffs], Tue May 23 00:48:44 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.33: +7 -0 lines
Diff to previous 1.33 (colored)

Move definitions of XFS_DATA_FORK, XFS_ATTR_FORK from xfs_inode.h
to xfs_dinode.h, so utilities don't need to include xfs_inode.h
(and its friends) to use the defines.

Revision 1.33 / (download) - annotate - [select for diffs], Tue May 9 21:21:31 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.32: +53 -16 lines
Diff to previous 1.32 (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.32 / (download) - annotate - [select for diffs], Mon May 8 19:56:04 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

Added types for shortform of directory and attributes to disk inode union.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Mar 31 20:05:18 1995 UTC (22 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.30: +15 -10 lines
Diff to previous 1.30 (colored)

Add more entries in the union portion of the inode, for symlinks and
directories.  Add bit number definitions for the DIFLAGS.
Fix definition of XFS_DIFLAG_ALL to include the prealloc flag.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Mar 28 16:41:17 1995 UTC (22 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

add definition for another disk inode flag: XFS_DIFLAG_PREALLOC. This
flag indicates that space has been alloced to the file via a F_ALLOCSP call.
The space should not be freed when the file is closed.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Feb 28 01:08:55 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Implement 32 and 64 bit versions of the xfs_bmbt_rec type, for speed
on 64-bit kernels.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Nov 16 17:04:58 1994 UTC (22 years, 11 months ago) by tap
Branch: MAIN
Changes since 1.27: +8 -0 lines
Diff to previous 1.27 (colored)

moved the definitions of the XFS_DIFLAGS back to this file from
xfs_itable.h. In xfs_itable.h there is a corresponding set of defines
prefixed by XFS_XFLAG_.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Nov 15 22:16:42 1994 UTC (22 years, 11 months ago) by tap
Branch: MAIN
Changes since 1.26: +1 -8 lines
Diff to previous 1.26 (colored)

move definition of XFS_DIFLAG_REALTIME to xfs_itable.h so that user
programs can reference it.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Aug 3 23:47:54 1994 UTC (23 years, 2 months ago) by curtis
Branch: MAIN
Changes since 1.25: +41 -27 lines
Diff to previous 1.25 (colored)

Added more fields for attribute fork (nextents, forkoff) so that we can
manage 2 parallel address spaces, and added new fields (bmevmask, bmstate)
for use by the DMIG code.  As a result, updated the logging bitmasks.
Also had to increase the minimum inode size (from 128 to 256) as a result.

Revision 1.25 / (download) - annotate - [select for diffs], Wed May 25 21:26:10 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.24: +29 -21 lines
Diff to previous 1.24 (colored)

Add the di_unlinked_next field to the on disk inode.  This
is used to link the inode on the list of unlinked but not
yet freed inodes in the AGI.  Also fix XFS_LITINO to account
for the new field.

Revision 1.24 / (download) - annotate - [select for diffs], Mon May 23 17:08:06 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.23: +6 -9 lines
Diff to previous 1.23 (colored)

Make uids and gids 32-bits in the inode, rearranging things so that
alignment is preserved.  We had 1 word of slop before, now used up.

Revision 1.23 / (download) - annotate - [select for diffs], Wed May 4 00:20:54 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.22: +6 -9 lines
Diff to previous 1.22 (colored)

Remove di_nexti field from disk inode, and XFS_DINODE_FMT_AGINO
format (for free inodes).

Revision 1.22 / (download) - annotate - [select for diffs], Sun May 1 18:32:27 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.21: +2 -0 lines
Diff to previous 1.21 (colored)

Add XFS_LITINO_BROOT macro giving the size the i_broot is allowed to be.

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

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

Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 18 21:23:25 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.19: +6 -1 lines
Diff to previous 1.19 (colored)

Move XFS_LITINO() macro to xfs_dinode.h.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 18 17:34:41 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18 (colored)

Change the minimum inode size from 256 to 128 bytes.

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

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

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

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

Revision 1.16 / (download) - annotate - [select for diffs], Sat Apr 9 19:01:16 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15 (colored)

Change type of bmap btree root in on-disk inode, so it's smaller.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Mar 15 23:47:10 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored)

Add inode field di_nblocks (number of direct and indirect fs blocks)
and keep track of it in the bmap code.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 3 20:57:47 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.13: +2 -0 lines
Diff to previous 1.13 (colored)

Add XFS_DIFLAG_ALL for xfs_setattr.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jan 11 19:32:46 1994 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.12: +35 -18 lines
Diff to previous 1.12 (colored)

Add di_extsize and di_flags fields, plus value for di_flags.
Also add minimum and maximum inode size defines.  Slight reordering of
fields to avoid potential alignment problems.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Dec 28 06:43:56 1993 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored)

Convert to using two separate btree header block structures, with long
block pointers for BMAP btrees.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Dec 21 02:52:50 1993 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.10: +6 -6 lines
Diff to previous 1.10 (colored)

Shrink inode core a little to get 2 bmap records in a btree root.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Dec 9 01:40:14 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 (colored)

Change type of di_nextents to xfs_extnum_t.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 29 21:38:53 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.8: +5 -3 lines
Diff to previous 1.8 (colored)

Change inode mapping scheme from btree to direct.  Add di_nexti field.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Nov 25 01:23:41 1993 UTC (23 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.7: +13 -6 lines
Diff to previous 1.7 (colored)

New timestamp definitions.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 19 21:40:39 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.6: +23 -2 lines
Diff to previous 1.6 (colored)

Use real uuid_t type.  Add defines for disk inode fields.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 17 01:41:16 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Get rid of warnings from ragnarok compilers by adding casts, changing
types, adding lint comments.
Get rid of xfs_extdesc_t, replace with xfs_bmbt_rec_t.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 11 19:45:23 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Add di_nextents, the number of extents in the file.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Nov 11 01:20:57 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

Fix syntax error.  Change name of mount point uuid field, avoid reuse.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Nov 10 16:36:41 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.2: +8 -3 lines
Diff to previous 1.2 (colored)

Split on-disk inode into 2 parts.  One to be included
in the in-core inode.

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

Get rid of nested includes.  Get rid of dummy freelist structure.
Move some fields around for alignment.  Clean up union members.  Add
xfs_dinode_fmt_t.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Oct 30 00:27:06 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>