CVS log for xfs-linux-nodel/xfs_rtalloc.h

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.30 / (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
CVS Tags: HEAD
Changes since 1.29: +0 -2 lines
Diff to previous 1.29 (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.29 / (download) - annotate - [select for diffs], Wed Feb 7 02:51:56 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.28: +0 -18 lines
Diff to previous 1.28 (colored)

Remove a bunch of unused functions from XFS.

Patch provided by Eric Sandeen (sandeen@sandeen.net).
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:28038a by kenmcd.

  Remove unused functions.
  Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

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

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

Revision 1.27 / (download) - annotate - [select for diffs], Mon Sep 15 04:36:29 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26 (colored)

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

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

The Big Move
linux/fs/xfs/xfs_rtalloc.h 1.24 Renamed to xfs_rtalloc.h

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

Nuke

Revision 1.24 / (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.23: +38 -38 lines
Diff to previous 1.23 (colored)

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

Revision 1.23 / (download) - annotate - [select for diffs], Tue Mar 18 05:31:02 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored)

Header shuffling to try and keep several source trees aligned - move the
realtime inode detection macro somewhere more appropriate.

Revision 1.22 / (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.21: +49 -49 lines
Diff to previous 1.21 (colored)

whitespace cleanup

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jun 20 05:33:04 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.20: +23 -2 lines
Diff to previous 1.20 (colored)

remove some non-existent func decls.  remove xfsrtstubs.c stubs.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10, Linux-2_4_5-merge
Changes since 1.19: +3 -9 lines
Diff to previous 1.19 (colored)

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

Revision 1.19 / (download) - annotate - [select for diffs], Sat Aug 12 11:49:35 2000 UTC (17 years, 2 months ago) by ajag
Branch: MAIN
Changes since 1.18: +1 -10 lines
Diff to previous 1.18 (colored)

xfs_growfs_rt has been moved to xfs_fsops.[ch] and ../../include/linux/xfs_fs.h

Revision 1.18 / (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.17: +25 -12 lines
Diff to previous 1.17 (colored)

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

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 9 00:03:30 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
CVS Tags: DELETE
Changes since 1.16: +19 -1 lines
Diff to previous 1.16 (colored)

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

  Merge of 2.3.42-xfs:slinx:44186a by ananth.
  Copied GPL from slinx-xfs tree.

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

virtualize interface to buffer data

Revision 1.15 / (download) - annotate - [select for diffs], Fri Dec 4 21:44:23 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.14: +6 -5 lines
Diff to previous 1.14 (colored)

Add casts to make this compile cleanly -64.
pv: 617654

Revision 1.14 / (download) - annotate - [select for diffs], Fri Aug 8 22:17:25 1997 UTC (20 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.13: +1 -0 lines
Diff to previous 1.13 (colored)

Add a length argument to xfs_rtpick_extent.

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

Add xfs_rtpick_extent, called by xfs_bmap_alloc to give a starting
extent number for a new file.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jul 23 21:45:14 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.11: +25 -1 lines
Diff to previous 1.11 (colored)

Move some code here from the mount path that's realtime-only.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Oct 31 06:13:30 1995 UTC (21 years, 11 months ago) by ack
Branch: MAIN
Changes since 1.10: +2 -10 lines
Diff to previous 1.10 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_rtalloc.h,v
> ----------------------------
> revision 1.12
> date: 1995/10/31 00:18:00;  author: doucette;  state: Exp;  lines: +0 -9
> Remove XFS_RTWORD_LL define's uses, it's always FALSE now.
> The idea won't work on big-endian machines with the bit numbering
> this code uses.
> ----------------------------
> revision 1.11
> date: 1995/10/26 22:41:47;  author: doucette;  state: Exp;  lines: +2 -1
> Add a define for default rt extsize.
> =============================================================================

Revision 1.10 / (download) - annotate - [select for diffs], Mon Aug 7 19:20:12 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.9: +37 -22 lines
Diff to previous 1.9 (colored)

Make minimum rt extent size 4k instead of 64k.
Finally add comments to this file.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Apr 13 03:15:22 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.8: +5 -4 lines
Diff to previous 1.8 (colored)

First cut at disk error handling

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 31 20:05:47 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.7: +21 -18 lines
Diff to previous 1.7 (colored)

Use struct xxx * instead of xxx_t * in xfs header files to avoid
unnecessary dependencies between header files.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 11 22:06:28 1994 UTC (23 years ago) by doucette
Branch: MAIN
Changes since 1.6: +4 -0 lines
Diff to previous 1.6 (colored)

#ifndef SIM code not needed for programs linking with libsim.a, to
make them smaller.

Also some code is made XFSDEBUG since nothing but test programs ever
called it.

Revision 1.6 / (download) - annotate - [select for diffs], Wed May 4 23:18:28 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.5: +18 -6 lines
Diff to previous 1.5 (colored)

Fix up XFS_WORDLOG so xfs_rtword_t is conditionally 64-bits long on a
64-bit kernel.  Define XFS_RTLOBIT and XFS_RTHIBIT macros for rtword
values, and XFS_RTBLOCKLOG for block number log values.

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

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

Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 16 02:18:03 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Add extent size support.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 12 01:54:11 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

Change XFS_MAX_RTEXTSIZE to 1gb.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Feb 10 00:42:35 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.1: +2 -4 lines
Diff to previous 1.1 (colored)

Fix type of length values to xfs_extlen_t. Remove mp arguments where not
needed since tp is never null.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 8 19:54:14 1994 UTC (23 years, 8 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>