CVS log for xfs-linux/linux-2.6/xfs_sysctl.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.32 / (download) - annotate - [select for diffs], Tue Oct 28 16:24:36 2008 UTC (9 years ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.31: +1 -2 lines
Diff to previous 1.31 (unified)

remove restricted chown parameter from xfs linux

On Linux all filesystems are supposed to be operating under
Posix' restricted chown. Restricted chown means it restricts
chown to the owner unless you have CAP_FOWNER.

NOTE: that 2 files outside of fs/xfs have been modified too
for this change.

Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Merge of xfs-linux-melb:xfs-kern:32413a by kenmcd.

  remove restricted chown parameter from xfs linux

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jun 25 04:16:47 2008 UTC (9 years, 4 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (unified)

streamline init/exit path

Currently the xfs module init/exit code is a mess.  It's farmed out
over a lot of function with very little error checking.  This patch
makes sure we propagate all initialization failures properly and clean
up after them.  Various runtime initializations are replaced with
compile-time initializations where possible to make this easier.  The
exit path is similarly consolidated.

There's now split out function to create/destroy the kmem zones and
alloc/free the trace buffers.  I've also changed the ktrace
allocations to KM_MAYFAIL and handled errors resulting from that.

And yes, we really should replace the XFS_*_TRACE ifdefs with a single
XFS_TRACE..

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Merge of xfs-linux-melb:xfs-kern:31354a by kenmcd.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jun 25 04:15:46 2008 UTC (9 years, 4 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (unified)

Undoes mod:     xfs-linux-melb:xfs-kern:31210a
streamline init/exit path

Currently the xfs module init/exit code is a mess.  It's farmed out
over a lot of function with very little error checking.  This patch
makes sure we propagate all initialization failures properly and clean
up after them.  Various runtime initializations are replaced with
compile-time initializations where possible to make this easier.  The
exit path is similarly consolidated.

There's now split out function to create/destroy the kmem zones and
alloc/free the trace buffers.  I've also changed the ktrace
allocations to KM_MAYFAIL and handled errors resulting from that.

And yes, we really should replace the XFS_*_TRACE ifdefs with a single
XFS_TRACE..

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Merge of xfs-linux-melb:xfs-kern:31353a by kenmcd.

Revision 1.29 / (download) - annotate - [select for diffs], Mon May 26 03:28:21 2008 UTC (9 years, 5 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (unified)

xiaki pmod2git xfs-linux-melb:xfs-kern:31210a
Merge of xfs-linux-melb:xfs-kern:31210a by kenmcd.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Oct 2 04:17:39 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.27: +3 -6 lines
Diff to previous 1.27 (unified)

kill probe_* sysctl leftovers

After my recent changes the probe_* sysctls are unused because we do
a proper request_module now if we actually know that we need the quota
or dmapi module.  Kill the leftovers that have no function anymore.


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

  kill probe_* sysctl leftovers.

Revision 1.27 / (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.26: +2 -0 lines
Diff to previous 1.26 (unified)

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.26 / (download) - annotate - [select for diffs], Fri May 19 06:06:01 2006 UTC (11 years, 5 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.25: +2 -0 lines
Diff to previous 1.25 (unified)

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

  Add nodefrag tuneable to xfs_params

Revision 1.25 / (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.24: +12 -27 lines
Diff to previous 1.24 (unified)

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

Revision 1.24 / (download) - annotate - [select for diffs], Fri Oct 15 19:15:18 2004 UTC (13 years ago) by gwehrman
Branch: MAIN
Changes since 1.23: +2 -0 lines
Diff to previous 1.23 (unified)

Add xfs_rotorstep sysctl for controlling placement of extents for new
files by the inode32 allocator.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Sep 22 07:13:53 2004 UTC (13 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.22: +2 -0 lines
Diff to previous 1.22 (unified)

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

Revision 1.22 / (download) - annotate - [select for diffs], Fri May 14 03:13:52 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.21: +12 -12 lines
Diff to previous 1.21 (unified)

Export/import tunable time intervals as centisecs not jiffies.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Feb 10 12:01:38 2004 UTC (13 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.20: +6 -0 lines
Diff to previous 1.20 (unified)

use generic XFS stats and sysctl infrastructure in pagebuf
add pagebuf sysctls

Revision 1.20 / (download) - annotate - [select for diffs], Tue Feb 10 05:31:27 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.19: +2 -0 lines
Diff to previous 1.19 (unified)

Also reinstate the 2.4 I/O path module loading code, will be needed soon.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Feb 9 02:04:38 2004 UTC (13 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.18: +4 -0 lines
Diff to previous 1.18 (unified)

allow loadable behaviour modules in 2.6
add probe_dmapi and probe_quota sysctls

Revision 1.18 / (download) - annotate - [select for diffs], Wed Oct 8 14:20:25 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (unified)

switch xfs to use linux imode flags internally
Merge of xfs-linux:slinx:159631a by lord.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Sep 19 20:16:01 2003 UTC (14 years, 1 month ago) by sandeen
Branch: MAIN
CVS Tags: DELETE-570
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (unified)

Update sysctls - use ints, not ulongs, and show pagebuf
values in jiffies like everybody else
Merge of xfs-linux:slinx:158665a by lord.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Sep 17 02:30:47 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.15: +2 -0 lines
Diff to previous 1.15 (unified)

Some tweaks to the additional inode flags, suggested by Ethan
Merge of xfs-linux:slinx:158493a by nathans.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Sep 15 05:50:52 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.14: +11 -7 lines
Diff to previous 1.14 (unified)

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

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jul 2 04:01:12 2003 UTC (14 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.13: +14 -9 lines
Diff to previous 1.13 (unified)

rework sysctl initialization to avoid confusion
Merge of xfs-linux:slinx:152419a by sandeen.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jun 10 21:20:12 2003 UTC (14 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.12: +8 -8 lines
Diff to previous 1.12 (unified)

break dependency between CONFIG_PROCFS and CONFIG_SYSCTL in xfs
Merge of 2.4.x-xfs:slinx:150782a by lord.

  move clear stats sysctl to the end

Revision 1.12 / (download) - annotate - [select for diffs], Mon May 5 21:36:47 2003 UTC (14 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.11: +2 -0 lines
Diff to previous 1.11 (unified)

merge Steve's sync changes over to 2.5
Merge of 2.4.x-xfs:slinx:147673a originally by lord on 05/01/03
  Rework of how xfs syncs metadata to disk. This has a number of
  benefits: We no longer walk the list of all the inodes in the
  filesystem everytime the write_super is called. If you type
  sync and then reset the box then everything is definitely
  recovered afterwards. We remove a lot of calls to
  mark_inode_dirty which did not really do us any good, and
  replace them with a single one which does. kupdated does
  less work in xfs now, freeing it to do other things.
  Finally, get the dummy log record code working, this
  means that after a period of inactivity with everything
  on disk, we clean the log so that recovery does not 
  have any work to do.
  add XFS_SYNC_INTERVAL

Revision 1.11 / (download) - annotate - [select for diffs], Wed Apr 16 20:09:14 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (unified)

Whitespace cleanup
Merge whitespace cleanup to 2.5 tree
Merge of 2.4.x-xfs:slinx:144573a by cattelan.

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

Revision 1.10 / (download) - annotate - [select for diffs], Wed Mar 5 18:00:15 2003 UTC (14 years, 7 months ago) by overby
Branch: MAIN
Changes since 1.9: +17 -0 lines
Diff to previous 1.9 (unified)

Add error reporting calls in error paths that return EFSCORRUPTED
Merge of 2.4.x-xfs:slinx:136445a by sandeen.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Feb 24 20:59:54 2003 UTC (14 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (unified)

fix compilation with CONFIG_SYSCTL=n
Merge of 2.4.x-xfs:slinx:140011a originally by kaos on 02/19/03
  XFS did not build with CONFIG_SYSCTL=n

Merge of 2.4.x-xfs:slinx:140147a originally by hch on 02/24/03
  make xfs_sysctl compilation conditional again

Revision 1.8 / (download) - annotate - [select for diffs], Tue Dec 3 15:31:41 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.7: +2 -0 lines
Diff to previous 1.7 (unified)

Implement xfs_panic_mask
Merge of 2.4.x-xfs:slinx:131040a originally by sandeen on 10/24/02
  Missing bit of xfs_panic_mask

Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 25 20:35:44 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.6: +4 -8 lines
Diff to previous 1.6 (unified)

remove indoe reference cache
remove inode refcache-related sysctls.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 8 00:44:29 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.5: +11 -4 lines
Diff to previous 1.5 (unified)

Symlinks are created by default with mode 777 now, old behavior is still
accessible through sysctl through.  irixsgid mount option deprecated and
it too is still accessible through sysctl.
Merge of 2.4.x-xfs:slinx:129282a by nathans.

  Make restricted_chown, irix_sgid_inherit and irix_symlink_mode as
  configurable parameters.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Aug 29 15:46:02 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.4: +15 -14 lines
Diff to previous 1.4 (unified)

cleanup stats/sysctl
Merge of 2.4.x-xfs:slinx:126356a by lord.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jul 10 20:44:06 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.3: +12 -12 lines
Diff to previous 1.3 (unified)

whitespace cleanup
Merge of 2.4.x-xfs:slinx:122792a by sandeen.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jun 4 18:56:57 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (unified)

Update copyright dates
Merge of 2.4.x-xfs:slinx:120763a by sandeen.

Revision 1.2 / (download) - annotate - [select for diffs], Wed May 22 21:04:36 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.1: +5 -6 lines
Diff to previous 1.1 (unified)

Merge of 2.4.x-xfs:slinx:119918a by sandeen.

  Add proc entry for clearing xfs stats
  Remove xfs_refcache_resize_proc_handler prototype, not needed

Revision 1.1 / (download) - annotate - [select for diffs], Wed Sep 26 19:08:38 2001 UTC (16 years, 1 month ago) by sandeen
Branch: MAIN

New file for xfs sysctls

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>