CVS log for xfs-linux/linux-2.6/xfs_fs_subr.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.54 / (download) - annotate - [select for diffs], Wed Jul 23 16:32:19 2008 UTC (9 years, 3 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

In several places we directly convert from the XFS inode
to the linux (VFS) inode by a simple deference of ip->i_vnode.
We should not do this - a helper function should be used to
extract the VFS inode from the XFS inode.

Introduce the function VFS_I() to extract the VFS inode
from the XFS inode. The name was chosen to match XFS_I() which
is used to extract the XFS inode from the VFS inode.

Version 2:
o don't use vn_to_inode() and inode_to_vn() functions as they
  are not needed

Signed-off-by: Dave Chinner <david@fromorbit.com>
Merge of xfs-linux-melb:xfs-kern:31720a by kenmcd.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Feb 22 03:07:30 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.52: +11 -25 lines
Diff to previous 1.52 (colored)

vnode cleanup in xfs_fs_subr.c

Cleanup the unneeded intermediate vnode step in the flushing helpers
and go directly from the xfs_inode to the struct address_space.


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

  vnode cleanup in xfs_fs_subr.c

Revision 1.52 / (download) - annotate - [select for diffs], Fri Aug 24 16:06:08 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.51: +2 -4 lines
Diff to previous 1.51 (colored)

kill the v_flag member in struct bhv_vnode

All flags previous handled at the vnode level are not in the xfs_inode
where we already have a flags mechanisms and free bits for flags
previously in the vnode.


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

  move vnode flags to xfs inode.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Aug 24 16:03:11 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.50: +31 -17 lines
Diff to previous 1.50 (colored)

decontaminate vnode operations from behavior details

All vnode ops now take struct xfs_inode pointers and the behaviour
related glue is split out into methods of it's own.  This required
fixing xfs_create/mkdir/symlink to not mess with the inode pointer
but rather use a separate boolean for error handling.  Thanks to
Dave Chinner for that fix.


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

  convert vnode ops to take xfs_inode pointers and separate out
  behaviour related glue.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Mar 10 02:56:10 2007 UTC (10 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.49: +14 -7 lines
Diff to previous 1.49 (colored)

propogate return codes from flush routines

This patch handles error return values in fs_flush_pages and fs_flushinval_pages.
It changes the prototype of fs_flushinval_pages so we can propogate the errors
and handle them at higher layers.  I also modified xfs_itruncate_start so that
it could propogate the error further.
Merge of xfs-linux-melb:xfs-kern:28231a by kenmcd.

  propogate return codes from flush routines

Revision 1.49 / (download) - annotate - [select for diffs], Mon Jan 29 14:43:00 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.48: +2 -8 lines
Diff to previous 1.48 (colored)

Revert broken and obsolete change to page invalidation.

The changes checked in under mod xfs-linux-melb:xfs-kern:27909a
are broken. 2.6.20 will release with the troublesome warning
turned off so by reverting this mod we will have the same
behaviour as 2.6.19 w.r.t to fs_tosspages and fs_flushinval_pages.
Merge of xfs-linux-melb:xfs-kern:27998a by kenmcd.

  Revert broken mod xfs-linux-melb:xfs-kern:27909a.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Jan 11 14:43:27 2007 UTC (10 years, 9 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.47: +8 -2 lines
Diff to previous 1.47 (colored)

Unmap pages before removing them from the page cache.

The new cancel_dirty_pages() code found that XFS was removing
page from the page cache that had dirty page table entries.
XFS invalidates page cache pages via internal interfaces which
are implemented via truncate_inode_pages which does not remove
the page mapping first.

Switch to using invalidate_inode_pages2_range() which does almost
the same thing except it also removes page table mappings as
expected by cancel_dirty_pages.
Merge of xfs-linux-melb:xfs-kern:27909a by kenmcd.

  Convert truncate_inode_pages to invalidate_inode_pages2_range
  so that page table mappings are removed before we remove the
  pages from the page cache.

Revision 1.47 / (download) - annotate - [select for diffs], Tue May 30 15:56:57 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

Resolve a namespace collision on vnode/vnodeops for FreeBSD porters.
Merge of xfs-linux-melb:xfs-kern:26107a by kenmcd.

Revision 1.46 / (download) - annotate - [select for diffs], Tue May 30 15:51:09 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.45: +9 -44 lines
Diff to previous 1.45 (colored)

Start writeout earlier (on last close) in the case where we have a truncate down followed by delayed allocation (buffered writes) - worst case scenario for the notorious NULL files problem.  This reduces the window where we are exposed to that problem significantly.
Merge of xfs-linux-melb:xfs-kern:26100a by kenmcd.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Mar 17 14:28:04 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Complete transition away from linvfs naming convention, finally.
Merge of xfs-linux-melb:xfs-kern:25474a by kenmcd.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jan 25 00:34:27 2006 UTC (11 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.43: +1 -2 lines
Diff to previous 1.43 (colored)

Bring the XFS code in sync with the changed from 2.6.16-rc1

Revision 1.43 / (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.42: +12 -26 lines
Diff to previous 1.42 (colored)

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

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

Provide a mechiansm for flushing delalloc before quota reporting.
Merge of xfs-linux-melb:xfs-kern:23829a by kenmcd.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Jun 8 07:09:06 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

sparse: fix uses of macros before their definitions, etc.

Revision 1.40 / (download) - annotate - [select for diffs], Thu May 1 17:24:11 2003 UTC (14 years, 5 months ago) by cattelan
Branch: MAIN
Changes since 1.39: +1 -1 lines
Diff to previous 1.39 (colored)

Merge the header file stuff over
Merge of 2.4.x-xfs:slinx:147627a originally by cattelan on 05/01/03
  Rework the way xfs includes xfs_<blah>.h headers.
  This reduces a lot of the compile dependenciesÂ, 
  and should reduce some of the "recompile all" situations.

Revision 1.39 / (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.38: +1 -2 lines
Diff to previous 1.38 (colored)

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.38 / (download) - annotate - [select for diffs], Tue Mar 4 16:45:43 2003 UTC (14 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.37: +0 -42 lines
Diff to previous 1.37 (colored)

remove VFS_DOUNMOUNT

Revision 1.37 / (download) - annotate - [select for diffs], Fri Oct 4 21:46:51 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.36: +0 -2 lines
Diff to previous 1.36 (colored)

simplify the xfs flush and flushinvalidate calls down the what
the rest of the kernel uses.
one less fdatawait is needed here.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Aug 24 13:13:46 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.35: +1 -1 lines
Diff to previous 1.35 (colored)

remove unused flags
Merge of 2.4.x-xfs:slinx:125884a by lord.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Aug 15 14:17:34 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.34: +0 -7 lines
Diff to previous 1.34 (colored)

remove unneeded vfs locking code
Merge of 2.4.x-xfs:slinx:124697a by lord.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Jul 15 15:40:01 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.33: +0 -17 lines
Diff to previous 1.33 (colored)

Merge of 2.4.x-xfs:slinx:122956a by lord.

  remove fs_vnode_change and symbol exports

Revision 1.33 / (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.32: +35 -35 lines
Diff to previous 1.32 (colored)

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

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jun 18 16:23:04 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.31: +20 -11 lines
Diff to previous 1.31 (colored)

Merge of 2.4.x-xfs:slinx:121850a by lord.

  call into linux buffer cache functions directly rather than
  via pagebuf.

Revision 1.31 / (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.30: +1 -1 lines
Diff to previous 1.30 (colored)

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

Revision 1.30 / (download) - annotate - [select for diffs], Fri May 31 22:19:43 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.29: +0 -12 lines
Diff to previous 1.29 (colored)

merge up to 2.5.19

Revision 1.29 / (download) - annotate - [select for diffs], Tue May 21 19:57:45 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.28: +0 -15 lines
Diff to previous 1.28 (colored)

Merge of 2.4.x-xfs:slinx:119562a originally by lord on 05/20/02
  remove fs_pages_sethole - we no longer have a way to call it anyway

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jan 25 23:31:26 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.27: +6 -6 lines
Diff to previous 1.27 (colored)

vnode/inode layout and allocation changed

Revision 1.27 / (download) - annotate - [select for diffs], Mon Mar 5 16:47:52 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10, Linux-2_4_5-merge
Changes since 1.26: +12 -9 lines
Diff to previous 1.26 (colored)

limit flush/toss and flushinval to when there is data to work on.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jan 19 21:27:41 2001 UTC (16 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25 (colored)

comment out printk

Revision 1.25 / (download) - annotate - [select for diffs], Wed Dec 13 06:02:07 2000 UTC (16 years, 10 months ago) by ivanr
Branch: MAIN
Changes since 1.24: +19 -0 lines
Diff to previous 1.24 (colored)

add parameter to VOP_TOSS_PAGES VOP_FLUSH_PAGES and VOP_FLUSHINVAL_PAGES for irix compatibility

Revision 1.24 / (download) - annotate - [select for diffs], Tue Dec 12 00:27:26 2000 UTC (16 years, 10 months ago) by ivanr
Branch: MAIN
Changes since 1.23: +11 -24 lines
Diff to previous 1.23 (colored)

undo mod 80332a: we will solve the problem a different way
Undoes mod:     2.4.x-xfs:slinx:80332a

Revision 1.23 / (download) - annotate - [select for diffs], Sun Dec 10 23:21:19 2000 UTC (16 years, 10 months ago) by dxm
Branch: MAIN
Changes since 1.22: +24 -11 lines
Diff to previous 1.22 (colored)

rename fs_* to xfs_fs_*

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

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

Revision 1.21 / (download) - annotate - [select for diffs], Thu Aug 31 02:01:00 2000 UTC (17 years, 1 month ago) by dxm
Branch: MAIN
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

cosmetic

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 15 03:01:24 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)

ongoing code cleanup, remove unused headers, dead code.

Revision 1.19 / (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.18: +5 -6 lines
Diff to previous 1.18 (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

Merge of 2.3.99pre2-xfs:slinx:63532a originally by nathans on 06/06/00
  remove dead code.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 9 03:24:37 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.17: +3 -6 lines
Diff to previous 1.17 (colored)

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

  Change fs_toss/flush/flushinval functions to not take a range
  as we don't have support for this on linux - plus the end
  range was almost always EOF.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 9 02:59:05 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.16: +9 -3 lines
Diff to previous 1.16 (colored)

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

  If the inode pointer in the vnode is NULL, do not call into
  pagebuf to flush it.

Revision 1.16 / (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.15: +25 -12 lines
Diff to previous 1.15 (colored)

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

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 9 02:42:56 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
CVS Tags: DELETE
Changes since 1.14: +0 -24 lines
Diff to previous 1.14 (colored)

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

  Remove unused fr_flock2 routine.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 9 01:50:04 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.13: +3 -14 lines
Diff to previous 1.13 (colored)

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

  Merge of 2.3.42-xfs:slinx:46428a by ananth.
  remove unused include files.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jun 9 01:10:24 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.12: +0 -117 lines
Diff to previous 1.12 (colored)

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

  Merge of 2.3.42-xfs:slinx:46043a by ananth.
  remove unused fs_xxx routines.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jun 9 00:52:36 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.11: +0 -22 lines
Diff to previous 1.11 (colored)

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

  Merge of 2.3.42-xfs:slinx:44783a by ananth.
  Remove unused vfs field references

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jun 8 23:59:59 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.10: +2 -3 lines
Diff to previous 1.10 (colored)

Bring XFS upto 2.3.42
Merge of 2.3.99pre2-xfs:slinx:43458a by ananth.

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

Revision 1.10 / (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.9: +12 -17 lines
Diff to previous 1.9 (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.9 / (download) - annotate - [select for diffs], Fri Jan 21 21:49:41 2000 UTC (17 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.8: +5 -6 lines
Diff to previous 1.8 (colored)

Hook up the fs_inval/toss/flush_inval calls to pagebuf

Revision 1.8 / (download) - annotate - [select for diffs], Tue Dec 21 04:22:06 1999 UTC (17 years, 10 months ago) by kenmcd
Branch: MAIN
Changes since 1.7: +24 -1 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Tue Dec 21 02:32:12 1999 UTC (17 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.6: +4 -17 lines
Diff to previous 1.6 (colored)

remove copyright header as this file -  this source file has deviated to such an extent from the original copyrighted source code that the original copyright notice is no longer relevent to the contents of the file.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Nov 15 23:07:16 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.5: +5 -1 lines
Diff to previous 1.5 (colored)

Merge from irix/irix6.5f to pingu/slinx-xfs

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 20 22:05:26 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.4: +9 -3 lines
Diff to previous 1.4 (colored)

Deal with not having a fully setup vfs during unmount

Revision 1.4 / (download) - annotate - [select for diffs], Tue Oct 5 05:18:56 1999 UTC (18 years ago) by cattelan
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

Small changes to clean up compiler warning messages.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 3 00:40:44 1999 UTC (18 years, 1 month ago) by mostek
Branch: MAIN
Changes since 1.2: +25 -0 lines
Diff to previous 1.2 (colored)

Added a couple of fs_* from streams (just stubs).

Revision 1.2 / (download) - annotate - [select for diffs], Thu Sep 2 18:49:02 1999 UTC (18 years, 1 month ago) by mostek
Branch: MAIN
Changes since 1.1: +280 -5 lines
Diff to previous 1.1 (colored)

Add a bunch of fs_* stubs needed by XFS.
This need lots more coding/design work. For now, NOT IMPLEMENTED.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 30 20:33:27 1999 UTC (18 years, 2 months ago) by cattelan
Branch: MAIN

New File

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>