CVS log for xfs-linux-nodel/linux/Attic/xfs_file.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.101 / (download) - annotate - [select for diffs], Tue Dec 16 01:05:04 2003 UTC (13 years, 10 months ago) by cattelan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.100: +0 -436 lines
Diff to previous 1.100 (colored)

Move the files around to finalize the 2.4/2.6 merge
linux/xfs_file.c 1.100 Renamed to linux-2.4/xfs_file.c

Revision 1.100 / (download) - annotate - [select for diffs], Fri Dec 12 00:35:46 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.99: +4 -12 lines
Diff to previous 1.99 (colored)

Remove some kernel-version macros around old I/O path code.

Revision 1.99 / (download) - annotate - [select for diffs], Thu Nov 13 22:35:10 2003 UTC (13 years, 11 months ago) by sandeen
Branch: MAIN
Changes since 1.98: +1 -1 lines
Diff to previous 1.98 (colored)

Use i_size_read/i_size_write semantics from 2.6
kernel to reduce 2.4/2.6 differences in xfs
use i_size_read/i_size_write as in 2.6

Revision 1.98 / (download) - annotate - [select for diffs], Wed Oct 8 17:10:55 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.97: +80 -12 lines
Diff to previous 1.97 (colored)

remove FINVIS from xfs, instead use a seperate file ops
vector for files which are opened for invisible I/O.
add a new file ops vector for files opened with a request for
invisible I/O.

Revision 1.97 / (download) - annotate - [select for diffs], Tue Oct 7 21:43:50 2003 UTC (14 years ago) by lord
Branch: MAIN
CVS Tags: DELETE-570
Changes since 1.96: +14 -5 lines
Diff to previous 1.96 (colored)

cleanup uio use some more

Revision 1.96 / (download) - annotate - [select for diffs], Fri Oct 3 10:13:53 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.95: +8 -6 lines
Diff to previous 1.95 (colored)

fix the previous change which compiled by fluke, the conditional
use of the i_alloc_sem was wrong. No actual change in the generated
code for 2.4.22, there will be for older kernels though.
fix conditional use of the i_alloc_sem

Revision 1.95 / (download) - annotate - [select for diffs], Tue Sep 30 19:14:28 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.94: +24 -15 lines
Diff to previous 1.94 (colored)

Rework how xfs and the linux generic I/O code interoperate
again to deal with deadlock issues between the i_sem and
i_alloc_sem and the xfs IO lock.
put the i_alloc_sem up above the direct read and write paths

Revision 1.94 / (download) - annotate - [select for diffs], Mon Sep 8 06:03:00 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.93: +9 -7 lines
Diff to previous 1.93 (colored)

Fix races between O_DIRECT and fcntl with F_SETFL flag on the XFS IO path

Revision 1.93 / (download) - annotate - [select for diffs], Wed Aug 6 14:31:37 2003 UTC (14 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.92: +7 -3 lines
Diff to previous 1.92 (colored)

get version 1 directories back into action
Merge of 2.4.x-xfs-kern:slinx:155149a by lord.

Revision 1.92 / (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.91: +350 -0 lines
Diff to previous 1.91 (colored)

The Big Move
linux/fs/xfs/linux/xfs_file.c 1.90 Renamed to linux/xfs_file.c

Revision 1.91 / (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.90: +0 -350 lines
Diff to previous 1.90 (colored)

Nuke

Revision 1.90 / (download) - annotate - [select for diffs], Thu May 1 16:22:06 2003 UTC (14 years, 5 months ago) by cattelan
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.89: +23 -1 lines
Diff to previous 1.89 (colored)

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.89 / (download) - annotate - [select for diffs], Tue Apr 15 23:16:46 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (colored)

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

Revision 1.88 / (download) - annotate - [select for diffs], Mon Mar 17 06:02:57 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.87: +7 -3 lines
Diff to previous 1.87 (colored)

Separate the quota source into its own subdirectory ala dmapi.
Push a bunch of quota- and dmapi-specific code down into these
subdirs which previously was compiled into the core XFS code,
and don't descend into these subdirs if options config'd off.
Separate the quota source into its own subdirectory ala dmapi.
Push a bunch of quota- and dmapi-specific code down into these
subdirs which previously was compiled into the core XFS code,
and don't descend into these subdirs if options config'd off.

Revision 1.87 / (download) - annotate - [select for diffs], Mon Mar 17 01:55:13 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.86: +0 -2 lines
Diff to previous 1.86 (colored)

Minor header shuffling, removing a bunch of already-included files and
allowing 2.4/2.5 to be slightly more in sync.

Revision 1.86 / (download) - annotate - [select for diffs], Wed Mar 12 03:33:01 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.85: +11 -19 lines
Diff to previous 1.85 (colored)

Next step in bhv code cleanup - this is a start on moving quota and dmapi
into behavior layers, purging several points where these sit slap bang in
the middle of XFS code (esp. read_super).  Also removes numerous #ifdef's
and a bunch of unused #define's from all over the place.  More to come.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Mar 10 20:10:54 2003 UTC (14 years, 7 months ago) by roehrich
Branch: MAIN
Changes since 1.84: +0 -1 lines
Diff to previous 1.84 (colored)

linvfs_file_mmap was updating the linux inode's atime twice.
remove UPDATE_ATIME from linvfs_file_mmap--it's already done in
VOP_SETATTR(XFS_AT_UPDATIME).

Revision 1.84 / (download) - annotate - [select for diffs], Tue Feb 25 11:07:06 2003 UTC (14 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)

prevent readdir from returning offsets of more than 2^31, these
confuse user space. This limits the maximum amount of names in
a directory on linux to 2Gbytes, which should not be a problem.
Merge of 2.4.x-xfs-dev:slinx:135044a by lord.

  mask off the top bit of the directory offset, we can use 2^32-1
  as an eof marker and it confuses linux user space sometimes.

Revision 1.83 / (download) - annotate - [select for diffs], Tue Feb 25 10:57:48 2003 UTC (14 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.82: +6 -5 lines
Diff to previous 1.82 (colored)

rework readdir to be closer to the irix model internally, do all
the filldir fixup at the linvfs layer. This is the V2 directory
component, the V1 code still needs fixing up. We now return the
same directory offsets as Irix does.
Merge of 2.4.x-xfs-dev:slinx:134646a by lord.

  do directory offset fixup in linvfs_readdir

Revision 1.82 / (download) - annotate - [select for diffs], Mon Nov 18 23:00:52 2002 UTC (14 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored)

fix some broken off_t use
always use xfs_off_t instead of off_t

Revision 1.81 / (download) - annotate - [select for diffs], Wed Nov 13 23:11:12 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.80: +0 -0 lines
Diff to previous 1.80 (colored)

Undoes mod:     2.4.x-xfs:slinx:132930a
Rethink some of those recent types changes slightly.

Revision 1.80 / (download) - annotate - [select for diffs], Wed Nov 13 02:25:49 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

Change AT_* to XFS_AT_* to prevent namespace collisions; move some type
declarations into more appropriate places.
Change AT_* to XFS_AT_* to prevent namespace collisions.

Revision 1.79 / (download) - annotate - [select for diffs], Wed Oct 23 04:21:07 2002 UTC (15 years ago) by kaos
Branch: MAIN
Changes since 1.78: +9 -9 lines
Diff to previous 1.78 (colored)

Undoes mod:     2.4.x-xfs:slinx:130826a
Revert STATIC->static change

Revision 1.78 / (download) - annotate - [select for diffs], Wed Oct 23 03:54:05 2002 UTC (15 years ago) by kaos
Branch: MAIN
Changes since 1.77: +9 -9 lines
Diff to previous 1.77 (colored)

Replace STATIC with static in xfs code

Revision 1.77 / (download) - annotate - [select for diffs], Tue Jul 30 21:24:38 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.76: +1 -2 lines
Diff to previous 1.76 (colored)

remove some dead vop arguments

Revision 1.76 / (download) - annotate - [select for diffs], Tue Jul 23 20:54:30 2002 UTC (15 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

From Chris Hellwig:

* CONFIG_XFS_DMAPI is now a dep_mbool on CONFIG_XFS_FS, fs/xfs_dmapi/
  is entered based on CONFIG_XFS_FS if CONFIG_XFS_DMAPI is set to keep
  the old behaviour.
* CONFIG_HAVE_XFS_DMAPI is gone, as CONFIG_XFS_DMAPI has the same
  meaning now.
* we refuse to mount with dmapi/xdsm options now if we can't support it.
* this way the dmapi_mount vfs method can't be called without dmapi
  support anymore.  declare the two dmapi-related vfs methods only if
  we build with dmapi support.
* fs/xfs/xfsdmapistubs.c is gone, all stubs for XFS-own
  dmapi-related functions are inlines in xfs_dmapi.h now.
* xfs_dmapi_mmap_event is renamed to xfs_dm_send_mmap_event to match the
  other xfs_dm_send_* functions
No Message Supplied

Revision 1.75 / (download) - annotate - [select for diffs], Mon Jul 22 20:50:38 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.74: +1 -1 lines
Diff to previous 1.74 (colored)

kill LINVFS_GET_VPTR

Revision 1.74 / (download) - annotate - [select for diffs], Thu Jul 18 17:35:16 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.73: +14 -14 lines
Diff to previous 1.73 (colored)

update Designated initializer format

Revision 1.73 / (download) - annotate - [select for diffs], Fri Jul 12 20:52:29 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.72: +2 -3 lines
Diff to previous 1.72 (colored)

kill get_current_cred()

Revision 1.72 / (download) - annotate - [select for diffs], Thu Jul 11 15:04:20 2002 UTC (15 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.71: +42 -49 lines
Diff to previous 1.71 (colored)

Patch from Christoph Hellwig.

Summary:
* ->mprotect is not an operation on the fd but the vma, make it a VM
  operation instead of file operation
* remove file argument from ->mprotect - it's always vma->vm_file
* define HAVE_VMOP_MPROTECT and make ->mprotect conditional on it
* simplify ->mmap, calling generic_file_mmap is pointless.
* rename linvfs_generic_file_mmap to linvfs_file_mmap
* add missing externs in xfs_dmapi.h

Revision 1.71 / (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.70: +17 -17 lines
Diff to previous 1.70 (colored)

whitespace cleanup

Revision 1.70 / (download) - annotate - [select for diffs], Wed Jul 10 15:16:19 2002 UTC (15 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.69: +22 -54 lines
Diff to previous 1.69 (colored)

Remove linvfs_dmapi_map_event().
Add linvfs_mprotect().
Change linvfs_generic_file_mmap() to check for dmapi permission _before_
doing the generic_file_mmap()...not much point in doing it after.

Revision 1.69 / (download) - annotate - [select for diffs], Tue Jul 9 02:59:39 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.68: +10 -86 lines
Diff to previous 1.68 (colored)

since we now call the generic write path in xfs remove the checks
here which duplicate its functionality. Grab the i_sem lock in the
non O_DIRECT case, we need it in the vmtruncate call out of
do_generic_file_write.

Revision 1.68 / (download) - annotate - [select for diffs], Mon Jul 8 22:09:30 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.67: +0 -11 lines
Diff to previous 1.67 (colored)

move xfs stats into xfs

Revision 1.67 / (download) - annotate - [select for diffs], Wed Jun 26 13:12:10 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.66: +2 -3 lines
Diff to previous 1.66 (colored)

remove some unused cred structs from the stack

Revision 1.66 / (download) - annotate - [select for diffs], Tue Jun 11 15:29:37 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.65: +1 -1 lines
Diff to previous 1.65 (colored)

fix a type cast on filldir

Revision 1.65 / (download) - annotate - [select for diffs], Tue Jun 11 12:28:17 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.64: +1 -0 lines
Diff to previous 1.64 (colored)

fix O_APPEND writes

Revision 1.64 / (download) - annotate - [select for diffs], Mon Jun 10 21:27:55 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.63: +1 -1 lines
Diff to previous 1.63 (colored)

small cleanups

Revision 1.63 / (download) - annotate - [select for diffs], Mon Jun 10 16:48:00 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.62: +6 -29 lines
Diff to previous 1.62 (colored)

kill the use of a uio_t on the read/write path, it was just overhead

Revision 1.62 / (download) - annotate - [select for diffs], Sat Jun 8 02:44:08 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

remove unused parameter from read/write path

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

Update copyright dates

Revision 1.60 / (download) - annotate - [select for diffs], Fri Mar 15 17:27:23 2002 UTC (15 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.59: +6 -5 lines
Diff to previous 1.59 (colored)

Fix the sign of the majority of error returns

Revision 1.59 / (download) - annotate - [select for diffs], Thu Mar 14 20:03:21 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.58: +3 -0 lines
Diff to previous 1.58 (colored)

Make open on an xfs filesystem report EFBIG if an inode is too
large for a non O_LARGEFILE open.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Jan 25 02:16:55 2002 UTC (15 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.57: +84 -87 lines
Diff to previous 1.57 (colored)

a couple of additional checks are now made on the generic file
write path which we didn't have in the XFS write code - add em,
and make the function declarations consistent across the file.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Jan 22 19:03:36 2002 UTC (15 years, 9 months ago) by sandeen
Branch: MAIN
Changes since 1.56: +1 -0 lines
Diff to previous 1.56 (colored)

Use generic_file_llseek for the seek: method 
(default_llseek doesn't do size checking)

Revision 1.56 / (download) - annotate - [select for diffs], Wed Jan 9 05:15:08 2002 UTC (15 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.55: +15 -25 lines
Diff to previous 1.55 (colored)

remove a check which is always done higher up in the VFS code.  minor
formatting fixup.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Dec 6 21:29:13 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.54: +5 -6 lines
Diff to previous 1.54 (colored)

linvfs_dmapi_map_event() should bypass the data structure for xfs_dm_fcntl()
since we're no longer using it.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Dec 4 20:02:50 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

If I build dmapi as a module then CONFIG_XFS_DMAPI won't be set--it'll
be CONFIG_XFS_DMAPI_MODULE instead.  So switch to using CONFIG_HAVE_XFS_DMAPI
to see if DMAPI is being used, whether dmapi is a module or not.
No Message Supplied

Revision 1.53 / (download) - annotate - [select for diffs], Thu Nov 8 01:49:09 2001 UTC (15 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.52: +1 -1 lines
Diff to previous 1.52 (colored)

Make references to CONFIG_XFS_DMAPI consistent

Revision 1.52 / (download) - annotate - [select for diffs], Fri Nov 2 04:51:40 2001 UTC (15 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.51: +0 -2 lines
Diff to previous 1.51 (colored)

Revert one CONFIG_XFS_DMAPI change

Revision 1.51 / (download) - annotate - [select for diffs], Fri Nov 2 04:39:46 2001 UTC (15 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.50: +4 -0 lines
Diff to previous 1.50 (colored)

Allow for XFS compile without any dmapi patch

Revision 1.50 / (download) - annotate - [select for diffs], Fri Oct 26 19:40:59 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.49: +2 -0 lines
Diff to previous 1.49 (colored)

Fix build in non dmapi case

Revision 1.49 / (download) - annotate - [select for diffs], Fri Oct 26 15:14:10 2001 UTC (16 years ago) by roehrich
Branch: MAIN
Changes since 1.48: +60 -0 lines
Diff to previous 1.48 (colored)

This makes the linux dmapi match the irix dmapi behavior.  We ignore whether
or not the user is reading or writing the pages, and instead just look at what
they're _capable_ of doing to the file and generate a dmapi event based on
that.

This is a brain-dead way of doing things, but maybe slightly less brain-dead
than what we have on irix, and it will hold things over until I can spend more
time on doing it right.
-Add linvfs_dmapi_map_event().  Decides if mmap activity requires a read
 or write event to dmapi, sends the event.
-Make linvfs_generic_file_mmap() call the above.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Oct 10 19:07:39 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.47: +87 -69 lines
Diff to previous 1.47 (colored)

Replicate file offset checks from generic_file_write into the xfs
path. Deal with ioflags in a cleaner manner.

Revision 1.47 / (download) - annotate - [select for diffs], Thu May 17 20:53:29 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.46: +1 -0 lines
Diff to previous 1.46 (colored)

Add call to VMODIFY to ioctl path - we do not know what we did to the
inode.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Apr 27 16:37:41 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
CVS Tags: Release-1_0_0
Changes since 1.45: +1 -1 lines
Diff to previous 1.45 (colored)

use the dcache entry rather than the file pointer to get to the inode,
nfs does not supply a file pointer.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Apr 19 02:37:23 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

change XFS_STATS macro so that it doesn't rely on cpp ## to construct
individual field names for the xfsstats structure.  fixes up some gcc
compiler warnings, for recent versions of gcc.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Apr 11 01:44:54 2001 UTC (16 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

Get rid of the last compiler warning OFF flags

Revision 1.43 / (download) - annotate - [select for diffs], Tue Apr 10 23:28:42 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.42: +4 -2 lines
Diff to previous 1.42 (colored)

Fix readdir not to leave garbage after names

Revision 1.42 / (download) - annotate - [select for diffs], Fri Apr 6 18:36:11 2001 UTC (16 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.41: +19 -8 lines
Diff to previous 1.41 (colored)

fix sign problems with error returns

Revision 1.41 / (download) - annotate - [select for diffs], Fri Mar 16 16:20:24 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
CVS Tags: PreRelease-0_10
Changes since 1.40: +3 -2 lines
Diff to previous 1.40 (colored)

Fix setting of file offset in directory read code, there was a case
where an entry was accounted for in the offset but not returned to
the user.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Mar 15 23:33:20 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.39: +54 -17 lines
Diff to previous 1.39 (colored)

Change linvfs_readdir to allocate a buffer, call xfs to fill it, and
then call the filldir function on each entry. This is instead of doing the
filldir deep in the bowels of xfs which causes locking problems.

Revision 1.39 / (download) - annotate - [select for diffs], Mon Mar 5 16:47:52 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.38: +4 -3 lines
Diff to previous 1.38 (colored)

Minor tweaking

Revision 1.38 / (download) - annotate - [select for diffs], Thu Mar 1 18:56:45 2001 UTC (16 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.37: +11 -1 lines
Diff to previous 1.37 (colored)

Test for O_SYNC and pass PBF_SYNC down via VOP_WRITE

Revision 1.37 / (download) - annotate - [select for diffs], Wed Jan 17 04:01:25 2001 UTC (16 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36 (colored)

fix a compiler warning.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Dec 20 03:23:53 2000 UTC (16 years, 10 months ago) by dxm
Branch: MAIN
Changes since 1.35: +26 -5 lines
Diff to previous 1.35 (colored)

put vops back to the same as irix

Revision 1.35 / (download) - annotate - [select for diffs], Tue Oct 10 14:38:27 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.34: +1 -9 lines
Diff to previous 1.34 (colored)

Remove some unneeded dir ops

Revision 1.34 / (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.33: +3 -6 lines
Diff to previous 1.33 (colored)

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

Revision 1.33 / (download) - annotate - [select for diffs], Mon Aug 7 14:33:51 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Change long long to loff_t for 64 bit builds

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jul 31 21:38:52 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.31: +7 -2 lines
Diff to previous 1.31 (colored)

Fix calling arguments to fsync - and since we can now tell the difference
between fsync and fdatasync, pass this info down to xfs_fsync which will
do the right thing.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jul 18 01:41:36 2000 UTC (17 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

rework the xfs stats interface to facilitate code sharing.  if there
is no interface available to export the stats (i.e. procfs), don't
bother compiling them in.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jun 15 03:57:07 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.29: +0 -1 lines
Diff to previous 1.29 (colored)

remove unused UIO fields.

Revision 1.29 / (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.28: +25 -4 lines
Diff to previous 1.28 (colored)

Merge of 2.3.99pre2-xfs:slinx:62680a originally by jtk on 05/24/00
  Add ASSERT's after inode to vnode address conversion.

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:63085a originally by jtk on 05/31/00
  Add XFSSTATS to read/write.

Merge of 2.3.99pre2-xfs:slinx:63295a originally by nathans on 06/03/00
  change interface to (64bit) read/write byte counts.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jun 9 04:36:14 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.27: +12 -9 lines
Diff to previous 1.27 (colored)

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

  Change 'static' to 'STATIC' for better back-traces in DEBUG mode.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jun 9 04:18:41 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.26: +23 -3 lines
Diff to previous 1.26 (colored)

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

  Change the position updates for case APPEND, protect via the inode lock.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jun 9 03:35:56 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.25: +24 -5 lines
Diff to previous 1.25 (colored)

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

  Add linvfs_ioctl(), a layer routine that invokes
  VOP_IOCTL.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jun 9 03:33:48 2000 UTC (17 years, 4 months ago) by mostek
Branch: MAIN
Changes since 1.24: +17 -1 lines
Diff to previous 1.24 (colored)

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

  Add a new wrapper and update the atime when mmap'ing a file.
  This should be removed if we ever stop using the xfs times
  in revalidate.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jun 9 03:24:58 2000 UTC (17 years, 4 months ago) by mostek
Branch: MAIN
Changes since 1.23: +1 -0 lines
Diff to previous 1.23 (colored)

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

  Add the open file operation for directories. This gets
  the read going early for readdir/getdents for directories
  that are big enough to have components in a separate block.

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

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

  Implement a release method for XFS - this will prune back
  space allocated beyond end of file.

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

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

Revision 1.21 / (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.20: +8 -11 lines
Diff to previous 1.20 (colored)

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

  Remove stub xfsf_ioctl routine, and new linvfs_ioctl
  routine to operations vector.

Revision 1.20 / (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.19: +4 -22 lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Fri Jun 9 01:35:34 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.18: +0 -5 lines
Diff to previous 1.18 (colored)

use linux security mechanisms
Merge of 2.3.99pre2-xfs:slinx:46379a by ananth.

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

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 9 00:57:17 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.17: +7 -1 lines
Diff to previous 1.17 (colored)

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

  Merge of 2.3.42-xfs:slinx:45039a by ananth.
  Use cred_fill_from_current() instead of sys_cred as
  a temporary workaround for creds.

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

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

  Merge of 2.3.42-xfs:slinx:43495a by ananth.
  Switch to new format of initializing function vectors

Revision 1.16 / (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.15: +2 -11 lines
Diff to previous 1.15 (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.15 / (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.14: +18 -0 lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Wed Jan 12 22:17:09 2000 UTC (17 years, 9 months ago) by mostek
Branch: MAIN
Changes since 1.13: +0 -3 lines
Diff to previous 1.13 (colored)

remove some printfs.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Dec 29 21:14:01 1999 UTC (17 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

added xfs_pb_bmap to ops list

Revision 1.12 / (download) - annotate - [select for diffs], Fri Dec 17 22:30:52 1999 UTC (17 years, 10 months ago) by mostek
Branch: MAIN
Changes since 1.11: +6 -0 lines
Diff to previous 1.11 (colored)

Adjust the offset in linvfs_file_lseek if it has changed
during a seek.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Dec 10 20:44:19 1999 UTC (17 years, 10 months ago) by mostek
Branch: MAIN
Changes since 1.10: +38 -32 lines
Diff to previous 1.10 (colored)

Make linvfs_read/linvfs_write use the VOP interface (will be needed
by CXFS).

Revision 1.10 / (download) - annotate - [select for diffs], Fri Nov 19 21:43:49 1999 UTC (17 years, 11 months ago) by cattelan
Branch: MAIN
Changes since 1.9: +31 -2 lines
Diff to previous 1.9 (colored)

Start of b_flags virtualization 

Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 18 16:37:39 1999 UTC (18 years ago) by mostek
Branch: MAIN
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)

Have linvfs_read just call  generic_file_read. This makes setting
break points in XFS' read easier.

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

Added (void) to all function stubs... compiler thinks they sortof look
like prototypes but they are not.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 4 21:52:52 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored)

Add seek implementation for directories, xfs does not like the
standard one. Also set file offset at end of readdir call.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 1 16:28:47 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.5: +6 -13 lines
Diff to previous 1.5 (colored)

Modularize irix/linux type cooexistance

Revision 1.5 / (download) - annotate - [select for diffs], Thu Sep 30 14:10:40 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.4: +12 -1 lines
Diff to previous 1.4 (colored)

Temporary type fixup

Revision 1.4 / (download) - annotate - [select for diffs], Wed Sep 29 17:55:19 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.3: +122 -39 lines
Diff to previous 1.3 (colored)

add some file ops

Revision 1.3 / (download) - annotate - [select for diffs], Wed Sep 29 15:39:48 1999 UTC (18 years ago) by cattelan
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

Added #define FSID_T
avoid compiler warnings

Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 30 20:33:27 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.1: +7 -3 lines
Diff to previous 1.1 (colored)

Added include file xfs_coda_oops.h... which is a quick hack to to keep
us from including all of the coda headers files, which seem to have 
type conflict problems with xfs.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 30 19:34:46 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN

kern/fs/xfs/xfs_linux_ops_file.c 1.4 Renamed to kern/fs/xfs/linux/xfs_file.c

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>