CVS log for xfs-linux-nodel/linux-2.4/Attic/xfs_lrw.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.240 / (download) - annotate - [select for diffs], Thu Sep 27 04:02:18 2007 UTC (10 years, 1 month ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.239: +0 -895 lines
Diff to previous 1.239 (colored)

Remove fs/xfs/linux-2.4 as building for 2.4 kernels is no longer supported from this tree
Merge of xfs-linux-melb:xfs-kern:29785a by kenmcd.

Revision 1.239 / (download) - annotate - [select for diffs], Wed Feb 7 02:50:13 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.238: +0 -2 lines
Diff to previous 1.238 (colored)

Remove unused header files for MAC and CAP checking functionality.

xfs_mac.h and xfs_cap.h provide definitions and macros that aren't
used anywhere in XFS at all. They are left-overs from "to be implement
at some point in the future" functionality that Irix XFS has. If this
functionality ever goes into Linux, it will be provided at a different
layer, most likely through the security hooks in the kernel so we will
never need this functionality in XFS.

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

  Remove unused xfs_cap.h/xfs_mac.h header files.
  Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Revision 1.238 / (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.237: +0 -2 lines
Diff to previous 1.237 (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.237 / (download) - annotate - [select for diffs], Thu Jun 15 03:55:18 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.236: +5 -79 lines
Diff to previous 1.236 (colored)

Push some common code out of write path into core XFS code for sharing.
Merge of xfs-linux-melb:xfs-kern:26248a by kenmcd.

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

Cleanup a missed porting conversion, and freezing.
Merge of xfs-linux-melb:xfs-kern:26109a by kenmcd.

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

Resolve a namespace collision on remaining vtypes for FreeBSD porters.
Merge of xfs-linux-melb:xfs-kern:26108a by kenmcd.

Revision 1.234 / (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.233: +4 -4 lines
Diff to previous 1.233 (colored)

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

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

Drop use of m_writeio_blocks when zeroing, its not meaningful anymore here.
Merge of xfs-linux-melb:xfs-kern:26094a by kenmcd.

Revision 1.232 / (download) - annotate - [select for diffs], Thu Apr 13 10:13:05 2006 UTC (11 years, 6 months ago) by olaf
Branch: MAIN
Changes since 1.231: +2 -2 lines
Diff to previous 1.231 (colored)

Add parameters to xfs_bmapi() and xfs_bunmapi() to have them
report the range spanned by modifications to the in-core extent
map.  Add XFS_BUNMAPI() and XFS_SWAP_EXTENTS() macros that call
xfs_bunmapi() and xfs_swap_extents() via the ioops vector.
Change all calls that may modify the in-core extent map for the
data fork to go through the ioops vector.  This allows a cache
of extent map data to be kept in sync.
Provide extra parameter for XFS_BMAPI().

Revision 1.231 / (download) - annotate - [select for diffs], Mon Mar 20 17:11:22 2006 UTC (11 years, 7 months ago) by yingping
Branch: MAIN
Changes since 1.230: +2 -2 lines
Diff to previous 1.230 (colored)

Fixing KDB's xrwtrc command, also added the current process id into the trace.
Added current process id to xfs_rw_trace and xfs_inval_cached_trace

Revision 1.230 / (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.229: +3 -3 lines
Diff to previous 1.229 (colored)

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

Revision 1.229 / (download) - annotate - [select for diffs], Mon Dec 19 02:47:46 2005 UTC (11 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.228: +2 -5 lines
Diff to previous 1.228 (colored)

Fix 2.4 build fallout from the ENOSPC/delalloc fix.
Merge of xfs-linux-melb:xfs-kern:24874a by kenmcd.

Revision 1.228 / (download) - annotate - [select for diffs], Sat Dec 17 11:31:50 2005 UTC (11 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.227: +2 -6 lines
Diff to previous 1.227 (colored)

Complete the pagebuf -> xfs_buf naming convention transition, finally.
Merge of xfs-linux-melb:xfs-kern:24866a by kenmcd.

Revision 1.227 / (download) - annotate - [select for diffs], Thu Dec 15 21:25:27 2005 UTC (11 years, 10 months ago) by yingping
Branch: MAIN
Changes since 1.226: +4 -0 lines
Diff to previous 1.226 (colored)

Fixed delayed_blks assert failure during umount. The delayed_blks was caused by ENOSPC but not
Rreclaimed by xfs_release or xfs_inactive. The fix changed the condition in xfs_release and
xfs_inactive to invoke xfs_inactive_free_eofblocks for this special case, changed
xfs_inactive_free_eofblocks to clean the delayed blks after eof. It also changed xfs_write to
set correct eof when ENOSPC occurs.
This change make the file size intact when a write request was not successful due to ENOSPC.

Revision 1.226 / (download) - annotate - [select for diffs], Wed Dec 7 19:02:48 2005 UTC (11 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.225: +0 -0 lines
Diff to previous 1.225 (colored)

fix, speedup and simplify atime handling

let the VFS handle atime updates and only sync back to the xfs inode when
nessecary

Revision 1.225 / (download) - annotate - [select for diffs], Wed Dec 7 05:08:24 2005 UTC (11 years, 10 months ago) by sandeen
Branch: MAIN
Changes since 1.224: +10 -26 lines
Diff to previous 1.224 (colored)

remove unused vars, args, & unneeded intermediate vars from zeroing code
remove unused vars, args, & unneeded intermediate vars from zeroing code

Revision 1.224 / (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.223: +12 -26 lines
Diff to previous 1.223 (colored)

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

Revision 1.223 / (download) - annotate - [select for diffs], Fri Sep 23 03:48:50 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.222: +6 -12 lines
Diff to previous 1.222 (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.222 / (download) - annotate - [select for diffs], Thu Jun 23 06:00:00 2005 UTC (12 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.221: +0 -2 lines
Diff to previous 1.221 (colored)

Fix up 2.4 kernel builds after backporting 2.6 changes.
Merge of xfs-linux-melb:xfs-kern:22954a by kenmcd.

Revision 1.221 / (download) - annotate - [select for diffs], Fri Jun 17 14:33:58 2005 UTC (12 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.220: +9 -13 lines
Diff to previous 1.220 (colored)

(mostly) remove xfs_inval_cached_pages

Since the last round of direct I/O locking changes it is just a wrapper
around VOP_FLUSHINVAL_PAGES, so it's not nessecary anymore.  Keep a simplified
version for kernels < 2.4.22, as these don't have the changed direct I/O
locking.
(mostly) remove xfs_inval_cached_pages

Revision 1.220 / (download) - annotate - [select for diffs], Wed Mar 16 18:24:02 2005 UTC (12 years, 7 months ago) by roehrich
Branch: MAIN
Changes since 1.219: +37 -1 lines
Diff to previous 1.219 (colored)

Handle inode semaphores properly for dmapi queues
In the 2.4 kernel fix one deadlock situation: fix the sems for the
NOSPACE event in xfs_write.

Revision 1.219 / (download) - annotate - [select for diffs], Mon Sep 13 00:21:46 2004 UTC (13 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.218: +3 -2 lines
Diff to previous 1.218 (colored)

Ensure bytes read statistic is not updated when generic routines fail.

Revision 1.218 / (download) - annotate - [select for diffs], Tue Aug 3 03:13:02 2004 UTC (13 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.217: +4 -1 lines
Diff to previous 1.217 (colored)

Fix diotest4 test case issues with direct reads in XFS.

Revision 1.217 / (download) - annotate - [select for diffs], Tue Jun 22 23:11:39 2004 UTC (13 years, 4 months ago) by overby
Branch: MAIN
Changes since 1.216: +0 -2 lines
Diff to previous 1.216 (colored)

Permit buffered writes to the real-time subvolume.

Add transaction space reservation of real-time subvolume extents, and split
out the space reservation for what is metadata and what is user data, putting
the user data on the real-time when appropriate.

Revision 1.216 / (download) - annotate - [select for diffs], Wed Jun 9 09:33:17 2004 UTC (13 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.215: +1 -1 lines
Diff to previous 1.215 (colored)

Integrate freeze/unfrezze with Linux 2.6 VFS infrastructure
call fs_check_frozen instead of xfs_check_frozen

Revision 1.215 / (download) - annotate - [select for diffs], Mon May 10 06:42:59 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.214: +1 -1 lines
Diff to previous 1.214 (colored)

Fixup a couple of incorrect xfs_trans_commit calls (bad flags/casts).

Revision 1.214 / (download) - annotate - [select for diffs], Thu Feb 26 21:16:57 2004 UTC (13 years, 8 months ago) by roehrich
Branch: MAIN
Changes since 1.213: +2 -2 lines
Diff to previous 1.213 (colored)

Change DM_SEM_FLAG to DM_SEM_FLAG_RD

Revision 1.213 / (download) - annotate - [select for diffs], Tue Feb 24 19:21:20 2004 UTC (13 years, 8 months ago) by roehrich
Branch: MAIN
Changes since 1.212: +4 -2 lines
Diff to previous 1.212 (colored)

release i_sem before going into dmapi queues
Merge of 2.4.x-xfs-kern:slinx:166619a by roehrich.

  Determine whether we have i_sem or i_alloc_sem, and set a DM_FLAG...

Revision 1.212 / (download) - annotate - [select for diffs], Tue Feb 10 05:51:00 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.211: +15 -12 lines
Diff to previous 1.211 (colored)

Add I/O path tracing code, twas useful in diagnosing that last unwritten extent problem.

Revision 1.211 / (download) - annotate - [select for diffs], Tue Jan 13 22:37:05 2004 UTC (13 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.210: +14 -0 lines
Diff to previous 1.210 (colored)

Merge the bulk of the bits over from the -dev tree.
Some of the code needs some cleanup now but this mod
basically is to bring the xfs-linux tree in sync with -dev.

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

Move the files around to finalize the 2.4/2.6 merge
linux/xfs_lrw.c 1.208 Renamed to linux-2.4/xfs_lrw.c

Revision 1.209 / (download) - annotate - [select for diffs], Tue Dec 16 00:57:46 2003 UTC (13 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.208: +0 -973 lines
Diff to previous 1.208 (colored)

Delete imported files so they can re-named

Revision 1.208 / (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.207: +0 -14 lines
Diff to previous 1.207 (colored)

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

Revision 1.207 / (download) - annotate - [select for diffs], Tue Nov 25 20:53:06 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.206: +7 -23 lines
Diff to previous 1.206 (colored)

Update the way we hook into the generic direct IO code so we share more code.  This means we no longer need to dup remove_suid within xfs_write_clear_setuid.

Revision 1.206 / (download) - annotate - [select for diffs], Fri Nov 21 01:49:22 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.205: +1 -0 lines
Diff to previous 1.205 (colored)

Seperate the NFS reference cache code out from xfs_rw.c to simplify management of different kernel versions.

Revision 1.205 / (download) - annotate - [select for diffs], Tue Nov 18 22:04:32 2003 UTC (13 years, 11 months ago) by cattelan
Branch: MAIN
Changes since 1.204: +4 -3 lines
Diff to previous 1.204 (colored)

move the iomap data structures out of pagebuf
Use the new iomap flags and data structures

Revision 1.204 / (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.203: +4 -3 lines
Diff to previous 1.203 (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.203 / (download) - annotate - [select for diffs], Tue Oct 21 01:35:08 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.202: +2 -0 lines
Diff to previous 1.202 (colored)

Fix compiler warning when building on 2.4.21 kernels.
Merge of 2.4.x-xfs-kern:slinx:160313a by nathans.

Revision 1.202 / (download) - annotate - [select for diffs], Fri Oct 17 02:22:25 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.201: +122 -3 lines
Diff to previous 1.201 (colored)

Add some IO path tracing, move inval_cached_pages to a better home to help.

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

cleanup uio use some more

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

switch xfs to use linux imode flags internally

Revision 1.199 / (download) - annotate - [select for diffs], Fri Oct 3 10:28:31 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.198: +10 -5 lines
Diff to previous 1.198 (colored)

fix up error unlock paths in xfs_write
make sure we always unlock the correct locks on error paths 
from write.

Revision 1.198 / (download) - annotate - [select for diffs], Tue Sep 30 19:14:28 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.197: +38 -18 lines
Diff to previous 1.197 (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.
access the O_DIRECT common path via generic_file_direct_IO instead
of via do_generic_direct_write and generic_file_read.

Revision 1.197 / (download) - annotate - [select for diffs], Tue Sep 23 21:43:35 2003 UTC (14 years, 1 month ago) by roehrich
Branch: MAIN
Changes since 1.196: +2 -2 lines
Diff to previous 1.196 (colored)

Make dm_send_data_event use vp rather than bhv
Merge of 2.4.x-xfs-kern:slinx:158840a by roehrich.

  Make dm_send_data_event use vp rather than bhv

Revision 1.196 / (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.195: +5 -7 lines
Diff to previous 1.195 (colored)

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

Revision 1.195 / (download) - annotate - [select for diffs], Fri Aug 29 22:07:31 2003 UTC (14 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.194: +25 -2 lines
Diff to previous 1.194 (colored)

Since we now have embeding trees and XFS has to support LBS which
typically 1 version back from the XFS TOT tree add support
for 2.4.22 with and #if KERNEL_VERSION
Add support for 2.4.22.
Since generic_file_write is now broken up in into do_<blah> sub
functions we can now eliminate the generic_file_write_nolock function 
and just call the do_<blah> functions directly.

Revision 1.194 / (download) - annotate - [select for diffs], Thu Aug 28 12:48:31 2003 UTC (14 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.193: +2 -2 lines
Diff to previous 1.193 (colored)

Change dm_send_namesp_event to take vnode ptrs rather than bhv ptrs.
Change dm_send_namesp_event to take vnode ptrs rather than bhv ptrs.

Revision 1.193 / (download) - annotate - [select for diffs], Thu Aug 21 19:47:57 2003 UTC (14 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.192: +4 -4 lines
Diff to previous 1.192 (colored)

Re-work xfs stats macros to support per-cpu data

Revision 1.192 / (download) - annotate - [select for diffs], Tue Jul 15 23:26:16 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.191: +2 -1 lines
Diff to previous 1.191 (colored)

Fix the resvsp/truncate interaction problem that mikes@av.com reported

Revision 1.191 / (download) - annotate - [select for diffs], Thu Jul 10 01:54:38 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.190: +3 -2 lines
Diff to previous 1.190 (colored)

Correct the maxbytes sb value for non-pagesize filesystem block sizes, and all uses of max file size constant within XFS

Revision 1.190 / (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.189: +831 -0 lines
Diff to previous 1.189 (colored)

The Big Move
linux/fs/xfs/linux/xfs_lrw.c 1.188 Renamed to linux/xfs_lrw.c

Revision 1.189 / (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.188: +0 -831 lines
Diff to previous 1.188 (colored)

Nuke

Revision 1.188 / (download) - annotate - [select for diffs], Fri May 16 06:08:19 2003 UTC (14 years, 5 months ago) by nathans
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.187: +7 -13 lines
Diff to previous 1.187 (colored)

Small buftarg cleanup - keep code which pokes inside a buftarg all in
one spot, which lets us keep more common code in sync, 2.4/2.5 and is
slightly cleaner anyway.
Move details of buftarg internals into xfs_super.c with similar code.

Revision 1.187 / (download) - annotate - [select for diffs], Thu May 1 16:22:06 2003 UTC (14 years, 5 months ago) by cattelan
Branch: MAIN
Changes since 1.186: +38 -1 lines
Diff to previous 1.186 (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.186 / (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.185: +16 -17 lines
Diff to previous 1.185 (colored)

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

Revision 1.185 / (download) - annotate - [select for diffs], Thu Apr 10 16:02:05 2003 UTC (14 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.184: +0 -28 lines
Diff to previous 1.184 (colored)

change remount code so that it calls a vfs operation within
XFS. reorganize the code underneath it. This better separates
the linux vfs code and the xfs specific code and will let
us enable more options on remount.
remove XFS_log_write_unmount_ro from here

Revision 1.184 / (download) - annotate - [select for diffs], Wed Mar 26 18:33:28 2003 UTC (14 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.183: +1 -1 lines
Diff to previous 1.183 (colored)

Argh, get the unbuffered realtime write test correct!

Revision 1.183 / (download) - annotate - [select for diffs], Wed Mar 26 17:36:53 2003 UTC (14 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.182: +2 -0 lines
Diff to previous 1.182 (colored)

Disallow buffered writes to realtime files
(only Direct IO allowed)

Revision 1.182 / (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.181: +11 -14 lines
Diff to previous 1.181 (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.181 / (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.180: +0 -1 lines
Diff to previous 1.180 (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.180 / (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.179: +16 -6 lines
Diff to previous 1.179 (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.179 / (download) - annotate - [select for diffs], Mon Mar 10 17:02:33 2003 UTC (14 years, 7 months ago) by roehrich
Branch: MAIN
Changes since 1.178: +23 -12 lines
Diff to previous 1.178 (colored)

fix invis I/O
generic_file_read() and generic_file_write_nolock() will update linux
inode timestamps.  For Invis I/O we have to undo those timestamp updates.
Also, in xfs_write, do the xfs_inode timestamp update _after_ the write,
rather than before.

Revision 1.178 / (download) - annotate - [select for diffs], Wed Jan 8 05:08:24 2003 UTC (14 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.177: +3 -4 lines
Diff to previous 1.177 (colored)

Revisit the remount read only code again.
apparently the root file system are not being synced
correctly during system shutdown
call new function xfs_reclaim_all to unmount_ro path

Revision 1.177 / (download) - annotate - [select for diffs], Wed Dec 11 17:27:32 2002 UTC (14 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.176: +19 -0 lines
Diff to previous 1.176 (colored)

rework iocore infrastructure, remove some code and make it more
orthogonal. In addition, add some of the hooks for unwritten extents.
Merge of 2.4.x-xfs-dev:slinx:134603a by lord.

  add xfs_bmap as a thin wrapper around xfs_iomap

Revision 1.176 / (download) - annotate - [select for diffs], Mon Dec 2 01:18:39 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.175: +4 -10 lines
Diff to previous 1.175 (colored)

Cleanup after initially investigating unwritten extents.
Fix several incorrect comments.

Revision 1.175 / (download) - annotate - [select for diffs], Wed Oct 30 18:50:40 2002 UTC (14 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.174: +0 -994 lines
Diff to previous 1.174 (colored)

break out the allocator specific parts of the xfs I/O path into
a separate file, xfs_iomap.c out of xfs_lrw.c. Remove some parts
of the code which were not doing anything for us. This is step
one in some major reorgs of this code.
move allocator based calls from here to xfs_iomap.c

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

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

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

Replace STATIC with static in xfs code

Revision 1.172 / (download) - annotate - [select for diffs], Fri Oct 11 15:30:34 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.171: +111 -114 lines
Diff to previous 1.171 (colored)

merge strategy and bmap calls, they are two aspects of the same
operation.
call strategy out of bmap

Revision 1.171 / (download) - annotate - [select for diffs], Mon Oct 7 19:21:29 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.170: +11 -15 lines
Diff to previous 1.170 (colored)

Remove struct pm entirely - it was never defined in the Linux port.
Remove struct pm argument from several functions.

Revision 1.170 / (download) - annotate - [select for diffs], Sat Oct 5 16:57:40 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.169: +3 -1 lines
Diff to previous 1.169 (colored)

Check rtdev as well when testing for read-only devices
Fix device that we check prior to xlog_clear_stale_blocks (2.4 only)
Check rtdev as well when testing for read-only devices

Revision 1.169 / (download) - annotate - [select for diffs], Fri Oct 4 21:09:39 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.168: +7 -31 lines
Diff to previous 1.168 (colored)

Rearrange how xfs deals with read-only mounts vs. read-only devices.
Remove the vfs read-only checks for various xfs operations,
just check whether the underlying device is read-only
in a generic way.

Revision 1.168 / (download) - annotate - [select for diffs], Wed Oct 2 19:22:11 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.167: +9 -0 lines
Diff to previous 1.167 (colored)

Allow quota inode creation on a read-only filesystem.
Add xfs_quotaino_create_read_only()

Revision 1.167 / (download) - annotate - [select for diffs], Thu Sep 12 09:24:18 2002 UTC (15 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.166: +1 -1 lines
Diff to previous 1.166 (colored)

Use generic_file_write_nolock instead of do_generic_file_write

Revision 1.166 / (download) - annotate - [select for diffs], Thu Sep 5 05:37:11 2002 UTC (15 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.165: +0 -1 lines
Diff to previous 1.165 (colored)

remove an unneeded #include file.

Revision 1.165 / (download) - annotate - [select for diffs], Wed Aug 14 18:49:40 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.164: +1 -1 lines
Diff to previous 1.164 (colored)

fix unchecked pointer dereferences

Revision 1.164 / (download) - annotate - [select for diffs], Tue Aug 13 16:09:38 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.163: +8 -8 lines
Diff to previous 1.163 (colored)

rationalize xfs <-> pagebuf interface

Revision 1.163 / (download) - annotate - [select for diffs], Fri Aug 2 19:39:17 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.162: +10 -14 lines
Diff to previous 1.162 (colored)

Make xfs_write return (-) errors and (+) bytes written.
Fix comment on xfs_read about about return val (same as xfs_write).

Revision 1.162 / (download) - annotate - [select for diffs], Sat Jul 27 14:15:03 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.161: +42 -83 lines
Diff to previous 1.161 (colored)

make iozero work without pagebufs

Revision 1.161 / (download) - annotate - [select for diffs], Tue Jul 23 16:35:37 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.160: +4 -11 lines
Diff to previous 1.160 (colored)

remove unused xfs_bmapi vars

Revision 1.160 / (download) - annotate - [select for diffs], Thu Jul 18 17:30:41 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.159: +1 -1 lines
Diff to previous 1.159 (colored)

do not pass sys_cred into mount/umount or sync

Revision 1.159 / (download) - annotate - [select for diffs], Tue Jul 16 22:08:37 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.158: +0 -63 lines
Diff to previous 1.158 (colored)

remove dead function

Revision 1.158 / (download) - annotate - [select for diffs], Tue Jul 16 21:20:59 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.157: +15 -9 lines
Diff to previous 1.157 (colored)

remove some unaccessed parts of the xfs iocore

Revision 1.157 / (download) - annotate - [select for diffs], Thu Jul 11 15:51:54 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.156: +1 -1 lines
Diff to previous 1.156 (colored)

clean up the check frozen interface

Revision 1.156 / (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.155: +109 -109 lines
Diff to previous 1.155 (colored)

whitespace cleanup

Revision 1.155 / (download) - annotate - [select for diffs], Wed Jul 10 14:26:57 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.154: +1 -1 lines
Diff to previous 1.154 (colored)

do not pass file->f_flags into check frozen

Revision 1.154 / (download) - annotate - [select for diffs], Wed Jul 10 14:25:35 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.153: +1 -1 lines
Diff to previous 1.153 (colored)

use unlock_page instead of UnlockPage

Revision 1.153 / (download) - annotate - [select for diffs], Tue Jul 9 14:29:40 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.152: +7 -7 lines
Diff to previous 1.152 (colored)

rename pagebuf_iozero to xfs_iozero and change error sign to be
positive

Revision 1.152 / (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.151: +1 -21 lines
Diff to previous 1.151 (colored)

replace call to pagebuf_generic_file_write with do_generic_file_write.

Revision 1.151 / (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.150: +102 -29 lines
Diff to previous 1.150 (colored)

move pagebuf_iozero here, relocate xfs stats here, change 
xfs_inval_cached_pages interface

Revision 1.150 / (download) - annotate - [select for diffs], Thu Jun 20 20:31:36 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.149: +0 -13 lines
Diff to previous 1.149 (colored)

unifdef some dmapi calls

Revision 1.149 / (download) - annotate - [select for diffs], Tue Jun 18 14:14:30 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.148: +9 -9 lines
Diff to previous 1.148 (colored)

remove PBMF_NEW it was not doing any good

Revision 1.148 / (download) - annotate - [select for diffs], Fri Jun 14 18:03:36 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.147: +2 -0 lines
Diff to previous 1.147 (colored)

when out of space, flush the log as well as the delalloc buffers

Revision 1.147 / (download) - annotate - [select for diffs], Thu Jun 13 17:31:52 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.146: +4 -5 lines
Diff to previous 1.146 (colored)

remove grio code

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

Turn on sync writes for a filesystem mounted -o sync

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

pass const pointer info down into write path

Revision 1.144 / (download) - annotate - [select for diffs], Tue Jun 11 05:29:57 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.143: +0 -5 lines
Diff to previous 1.143 (colored)

fix debug builds - were still refering to uiop in a couple of places.

Revision 1.143 / (download) - annotate - [select for diffs], Mon Jun 10 19:49:23 2002 UTC (15 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.142: +3 -1 lines
Diff to previous 1.142 (colored)

when sending a dmapi write event from xfs_write(), release the ilock
during the event.

Revision 1.142 / (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.141: +50 -85 lines
Diff to previous 1.141 (colored)

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

Revision 1.141 / (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.140: +2 -4 lines
Diff to previous 1.140 (colored)

remove unused parameter from read/write path

Revision 1.140 / (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.139: +1 -1 lines
Diff to previous 1.139 (colored)

Update copyright dates

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

Pass the pbtarget into the bmap structure rather than the dev_t

Revision 1.138 / (download) - annotate - [select for diffs], Tue May 21 04:42:30 2002 UTC (15 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.137: +2 -10 lines
Diff to previous 1.137 (colored)

fix a compiler warning - unused variable.

Revision 1.137 / (download) - annotate - [select for diffs], Mon May 20 20:33:09 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.136: +5 -90 lines
Diff to previous 1.136 (colored)

remove a large chunk of dead code

Revision 1.136 / (download) - annotate - [select for diffs], Fri May 17 17:20:52 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.135: +6 -1 lines
Diff to previous 1.135 (colored)

Pass info on the expected new file size down to the allocator

Revision 1.135 / (download) - annotate - [select for diffs], Thu May 16 21:44:39 2002 UTC (15 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.134: +0 -3 lines
Diff to previous 1.134 (colored)

remove use of several xs_attr stats variables here - these crept in during
the blocksize code merge, unintentionally.

Revision 1.134 / (download) - annotate - [select for diffs], Thu May 16 16:00:48 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.133: +27 -38 lines
Diff to previous 1.133 (colored)

Some fixups for multiple block size support, and always use the generic
read path.

Revision 1.133 / (download) - annotate - [select for diffs], Sat Apr 27 08:30:41 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.132: +2 -2 lines
Diff to previous 1.132 (colored)

pass the correct offset into bmap, ie. the one used in the original xfs_bmapi
call.  seems to be benign though...

Revision 1.132 / (download) - annotate - [select for diffs], Thu Apr 18 20:45:37 2002 UTC (15 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.131: +2 -3 lines
Diff to previous 1.131 (colored)

In the ENOSPC loop in xfs_bmap, sync the data buffers, so that
the worst-case reserved metadata space for delayed writes
will be freed, and we can truly fill the filesystem.

Revision 1.131 / (download) - annotate - [select for diffs], Sun Apr 14 23:50:21 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.130: +2 -3 lines
Diff to previous 1.130 (colored)

the test in _xfs_imap_to_bmap for setting PBMF_EOF was incorrect and
inconsistent with the same test in xfs_iomap_write_delay.  fixed.
this doesn't affect the current code because nothing uses this yet.

Revision 1.130 / (download) - annotate - [select for diffs], Wed Mar 27 23:50:16 2002 UTC (15 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.129: +17 -11 lines
Diff to previous 1.129 (colored)

merge in a couple more multiple block size support changes, no difference
for blocksize==pagesize case.

Revision 1.129 / (download) - annotate - [select for diffs], Tue Mar 26 16:19:25 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.128: +1 -1 lines
Diff to previous 1.128 (colored)

Add parameter to xfs_inval_cached_pages indicating ilock state

Revision 1.128 / (download) - annotate - [select for diffs], Tue Mar 26 06:35:12 2002 UTC (15 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.127: +13 -13 lines
Diff to previous 1.127 (colored)

fix some compiler warnings on 64 bit platforms.

Revision 1.127 / (download) - annotate - [select for diffs], Mon Mar 25 03:32:38 2002 UTC (15 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.126: +22 -26 lines
Diff to previous 1.126 (colored)

Prepare pagebuf APIs for multiple blocksize support.  In particular,
the IO path needs to get access to blocksize information which currently
is only held in the xfs_mount structure -- this change reorganises a few
things so that the necessary information is available to the code that
needs it.  We also no longer need pbm_dev field (pb_bmap_t) as this is
now available from pb_target_t always.

Revision 1.126 / (download) - annotate - [select for diffs], Wed Mar 6 19:58:25 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.125: +0 -1 lines
Diff to previous 1.125 (colored)

remove internal readahead reset - not used

Revision 1.125 / (download) - annotate - [select for diffs], Wed Feb 27 23:11:09 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.124: +2 -2 lines
Diff to previous 1.124 (colored)

Use the inode_data_buffers functions instead of the inode_buffers
functions.

Revision 1.124 / (download) - annotate - [select for diffs], Tue Feb 26 00:33:20 2002 UTC (15 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.123: +9 -10 lines
Diff to previous 1.123 (colored)

Merge of 2.4.18-xfs:slinx:112528b by nathans.

  remove several no-longer-used fields (iosize) from the xfs_iocore_t.

Revision 1.123 / (download) - annotate - [select for diffs], Wed Feb 20 21:27:57 2002 UTC (15 years, 8 months ago) by sandeen
Branch: MAIN
Changes since 1.122: +11 -40 lines
Diff to previous 1.122 (colored)

Prepare pagebuf bmap to pass to pagebuf_iozero
Don't force writing the pagebuf

Revision 1.122 / (download) - annotate - [select for diffs], Fri Feb 15 22:48:36 2002 UTC (15 years, 8 months ago) by sandeen
Branch: MAIN
Changes since 1.121: +1 -1 lines
Diff to previous 1.121 (colored)

Make osyncisdsync the default, osyncisosync (XFS_MOUNT_OSYNCISOSYNC)
overrides.

Revision 1.121 / (download) - annotate - [select for diffs], Thu Jan 31 11:43:06 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.120: +2 -2 lines
Diff to previous 1.120 (colored)

Merge of 2.5.x-xfs:slinx:110319a by lord.

  vnode/inode layout and allocation changed

Revision 1.120 / (download) - annotate - [select for diffs], Fri Jan 11 23:31:51 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.119: +0 -2 lines
Diff to previous 1.119 (colored)

Merge pagebuf module into XFS

Revision 1.119 / (download) - annotate - [select for diffs], Wed Jan 9 21:18:10 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.118: +1 -3 lines
Diff to previous 1.118 (colored)

Fix parallel direct and buffered I/O on a file, do not allow the page
invalidate which comes out of a direct write to happen at the same time
as a buffered read.

Revision 1.118 / (download) - annotate - [select for diffs], Tue Dec 11 20:29:05 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.117: +5 -5 lines
Diff to previous 1.117 (colored)

Clean up a pile of invisible I/O problems:

- By having an O-flag, non-privileged users could get invisible I/O--bad,bad.
  So toss out the O-flag and use our existing FINVIS in filp->f_mode.  Seems
  to me we really need a new field in struct file for stuff like this, but
  this will do for now.
- Sometimes linvfs_follow_link would get invisible I/O, because of garbage
  in the kmalloc'd memory.
- xfs_open_by_handle is supposed to set invisible I/O, but it wasn't doing
  that on Linux.  This is this function's purpose in life, so, it was kinda
  missing the boat.
No Message Supplied

Revision 1.117 / (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.116: +9 -9 lines
Diff to previous 1.116 (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.116 / (download) - annotate - [select for diffs], Mon Nov 5 19:02:06 2001 UTC (15 years, 11 months ago) by roehrich
Branch: MAIN
Changes since 1.115: +14 -12 lines
Diff to previous 1.115 (colored)

When CONFIG_XFS_DMAPI is set we can get into an infinite loop in xfs_write on
the "goto start".  Once savedsize is determined to be out of date we never
update it for subsequent passes (a porting bug), so we stay in the loop.  This
check shouldn't be performed unless we're calling xfs_dm_send_data_event
anyway, so move it into that if-block.  Now we don't have to update savedsize
because we get into that if-block only once per call to xfs_write, and
savedsize has no other purpose.

Revision 1.115 / (download) - annotate - [select for diffs], Fri Oct 26 19:42:54 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.114: +1 -1 lines
Diff to previous 1.114 (colored)

use i_mapping instead of i_data

Revision 1.114 / (download) - annotate - [select for diffs], Thu Oct 25 19:15:10 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.113: +7 -24 lines
Diff to previous 1.113 (colored)

fixup remount readonly code

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

Deal with ioflags in a cleaner manner

Revision 1.112 / (download) - annotate - [select for diffs], Tue Oct 2 22:23:13 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.111: +8 -4 lines
Diff to previous 1.111 (colored)

Fix the full filesystem delwri flush code to avoid mmap data.

Revision 1.111 / (download) - annotate - [select for diffs], Tue Oct 2 20:19:33 2001 UTC (16 years ago) by sandeen
Branch: MAIN
Changes since 1.110: +1 -4 lines
Diff to previous 1.110 (colored)

yank unused "iunlock" variable (leftovers...)

Revision 1.110 / (download) - annotate - [select for diffs], Tue Sep 18 15:35:01 2001 UTC (16 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.109: +2 -2 lines
Diff to previous 1.109 (colored)

Whoops, no xfs_rw(un)lockf in Linux, just use rw(un)lock.

Revision 1.109 / (download) - annotate - [select for diffs], Tue Sep 18 15:25:44 2001 UTC (16 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.108: +2 -2 lines
Diff to previous 1.108 (colored)

Merge irix6.5f:irix:102838a
Replace VOP_RWUNLOCK() and VOP_RWLOCK() around call to
dm_send_namesp_event() in xfs_write() with xfs_rwunlock()
and xfs_rwlock().  Fix for bug 831289.
Also reorder xfs_rwlockf / error out condition to match irix.

Revision 1.108 / (download) - annotate - [select for diffs], Tue Sep 11 03:12:20 2001 UTC (16 years, 1 month ago) by kaos
Branch: MAIN
Changes since 1.107: +5 -5 lines
Diff to previous 1.107 (colored)

Upgrade to 2.4.10-pre8

Revision 1.107 / (download) - annotate - [select for diffs], Mon Aug 20 07:39:46 2001 UTC (16 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.106: +12 -9 lines
Diff to previous 1.106 (colored)

fix up STATIC functions.

Revision 1.106 / (download) - annotate - [select for diffs], Fri Aug 17 01:51:04 2001 UTC (16 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.105: +6 -6 lines
Diff to previous 1.105 (colored)

merge up to 2.4.9

Revision 1.105 / (download) - annotate - [select for diffs], Thu Aug 16 20:34:51 2001 UTC (16 years, 2 months ago) by eric
Branch: MAIN
Changes since 1.104: +5 -4 lines
Diff to previous 1.104 (colored)

"Merge" of irix6.5f:irix:100627b

Revision 1.104 / (download) - annotate - [select for diffs], Wed Jul 11 20:00:39 2001 UTC (16 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.103: +8 -6 lines
Diff to previous 1.103 (colored)

Pass the final inode size for a write through the zero_eof paths so that
they can pass it onto pagebuf_iozero.

Revision 1.103 / (download) - annotate - [select for diffs], Wed Jul 11 18:23:09 2001 UTC (16 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored)

enable some code that was commented out during the port--probably happened
at a time when some of the pieces weren't available.
This causes a reader of an offline file to give up a lock so invisible I/O
can be done by the HSM to bring that file online.

Revision 1.102 / (download) - annotate - [select for diffs], Mon Jul 9 14:40:09 2001 UTC (16 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.101: +5 -1 lines
Diff to previous 1.101 (colored)

Fix error handling for O_SYNC writes

Revision 1.101 / (download) - annotate - [select for diffs], Sat Jun 9 03:23:46 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.100: +9 -1 lines
Diff to previous 1.100 (colored)

Fill in pb_dev to indicate target device for I/O

Revision 1.100 / (download) - annotate - [select for diffs], Thu May 31 17:20:34 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.99: +16 -20 lines
Diff to previous 1.99 (colored)

Tidy up some write path code to make reuse by CXFS simpler - no
functional change to XFS.

Revision 1.99 / (download) - annotate - [select for diffs], Thu May 17 02:58:46 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.98: +2 -0 lines
Diff to previous 1.98 (colored)

Add freeze syncronization point to write path

Revision 1.98 / (download) - annotate - [select for diffs], Mon May 14 21:41:20 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.97: +0 -61 lines
Diff to previous 1.97 (colored)

Fix build error - wrong code checked in.

Revision 1.97 / (download) - annotate - [select for diffs], Mon May 14 15:01:05 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.96: +6 -4 lines
Diff to previous 1.96 (colored)

Fix some log message formats

Revision 1.96 / (download) - annotate - [select for diffs], Thu May 10 14:44:32 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.95: +65 -48 lines
Diff to previous 1.95 (colored)

remove some wrapper functions which were basically one liners, call the
pagebuf functions directly instead. Also deal with the change to the
target object for metadata no longer being an inode. Use new pagebuf_lookup
function.

Revision 1.95 / (download) - annotate - [select for diffs], Tue Apr 24 18:43:41 2001 UTC (16 years, 6 months ago) by ananth
Branch: MAIN
Changes since 1.94: +0 -66 lines
Diff to previous 1.94 (colored)

Reorganize & cleanup code.

Revision 1.94 / (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.93: +3 -3 lines
Diff to previous 1.93 (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.93 / (download) - annotate - [select for diffs], Thu Apr 12 13:30:45 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
CVS Tags: Release-1_0_0
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored)

fix sparc64 build

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

Get rid of the last compiler warning OFF flags

Revision 1.91 / (download) - annotate - [select for diffs], Tue Apr 10 13:32:32 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.90: +2 -29 lines
Diff to previous 1.90 (colored)

remove some debug checking which we have not hit in about a year.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Apr 9 14:57:51 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.89: +5 -10 lines
Diff to previous 1.89 (colored)

change to api of pagebuf_delwri_flush

Revision 1.89 / (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.88: +96 -56 lines
Diff to previous 1.88 (colored)

fix sign problems with error returns, don't overload xfs_read,xfs_write returns
Also changed logic so we don't go through sync code after a pagebuf error

Revision 1.88 / (download) - annotate - [select for diffs], Thu Apr 5 22:25:46 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.87: +22 -31 lines
Diff to previous 1.87 (colored)

cleanup the eof hole zeroing code to be more straightforward

Revision 1.87 / (download) - annotate - [select for diffs], Tue Apr 3 16:22:18 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.86: +16 -27 lines
Diff to previous 1.86 (colored)

Less locking in the read path, cleanup lock mode calculation in the write
path and remove the PBMF_NEW flag.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Apr 3 02:52:38 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.85: +1 -1 lines
Diff to previous 1.85 (colored)

support group quotas in Linux/XFS.

Revision 1.85 / (download) - annotate - [select for diffs], Tue Mar 27 21:44:21 2001 UTC (16 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.84: +1 -1 lines
Diff to previous 1.84 (colored)

fix a compiler warning in dmapi specific code (unused var).

Revision 1.84 / (download) - annotate - [select for diffs], Wed Mar 14 23:35:05 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
CVS Tags: PreRelease-0_10
Changes since 1.83: +4 -11 lines
Diff to previous 1.83 (colored)

remove some code we do not need

Revision 1.83 / (download) - annotate - [select for diffs], Mon Mar 12 17:10:23 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.82: +2 -0 lines
Diff to previous 1.82 (colored)

Explicitly initialize pb_bn to PAGE_BUF_DADDR_NULL in the zero eof code
before calling pagebuf_iozero. The default initialization to a null
block number is gone now.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Mar 9 23:41:04 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.81: +7 -7 lines
Diff to previous 1.81 (colored)

Fix xfs_write to correctly cleanup after reference cache overflow, fixes
unmount of xfs on nfs server.

Revision 1.81 / (download) - annotate - [select for diffs], Fri Mar 9 15:55:37 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.80: +23 -15 lines
Diff to previous 1.80 (colored)

Buffered read calls generic_file_read, fixes for write path and data
flushing.

Revision 1.80 / (download) - annotate - [select for diffs], Tue Mar 6 19:44:15 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.79: +9 -1 lines
Diff to previous 1.79 (colored)

Insert inodes from nfs writes into the inode reference cache

Revision 1.79 / (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.78: +48 -17 lines
Diff to previous 1.78 (colored)

Add bounds checking for direct I/O, do the cache invalidation for
data coherency on direct I/O.

Revision 1.78 / (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.77: +86 -0 lines
Diff to previous 1.77 (colored)

Real O_SYNC handling, flushes buffers & log on O_SYNC, also handles osyncisdsync mount option

Revision 1.77 / (download) - annotate - [select for diffs], Thu Mar 1 18:26:09 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.76: +25 -31 lines
Diff to previous 1.76 (colored)

Clean up the remount readonly code to do less passes and not to sleep
as long.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Feb 27 02:43:46 2001 UTC (16 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.75: +27 -13 lines
Diff to previous 1.75 (colored)

like recovery, quotacheck needs to run on a ro-mounted root fs with
write access.

Revision 1.75 / (download) - annotate - [select for diffs], Mon Feb 5 19:29:03 2001 UTC (16 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.74: +1 -1 lines
Diff to previous 1.74 (colored)

revert truncate_inode_pages call to its original arguments

Revision 1.74 / (download) - annotate - [select for diffs], Thu Jan 25 21:04:55 2001 UTC (16 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.73: +3 -69 lines
Diff to previous 1.73 (colored)

remove debug code.

Revision 1.73 / (download) - annotate - [select for diffs], Tue Jan 23 19:48:45 2001 UTC (16 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.72: +26 -5 lines
Diff to previous 1.72 (colored)

Change strategy to atomically restrain extent conversions to the current
last block in the extents, avoiding the problem where another thread
truncates the file during the strategy call.

Revision 1.72 / (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.71: +1 -9 lines
Diff to previous 1.71 (colored)

remove PBF_BMAP_TRY_ILOCK from xfs_bmap

Revision 1.71 / (download) - annotate - [select for diffs], Fri Jan 19 17:10:42 2001 UTC (16 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.70: +21 -46 lines
Diff to previous 1.70 (colored)

Fold the xfs_rdwr function into the read and write path, all it was
doing was chewing up a stack frame.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Jan 18 22:31:19 2001 UTC (16 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.69: +215 -268 lines
Diff to previous 1.69 (colored)

Rework the code for converting dealloc to real space, add xfs_strategy
to do this.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Jan 12 03:52:05 2001 UTC (16 years, 9 months ago) by dxm
Branch: MAIN
Changes since 1.68: +1 -1 lines
Diff to previous 1.68 (colored)

change loff_t in bmap to xfs_off_t for cxfs. move vop_release.

Revision 1.68 / (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.67: +44 -12 lines
Diff to previous 1.67 (colored)

put vops back to the same as irix 

Revision 1.67 / (download) - annotate - [select for diffs], Thu Dec 14 02:52:59 2000 UTC (16 years, 10 months ago) by dxm
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

use FILP_DELAY_FLAG not UIO_DELAY_FLAG

Revision 1.66 / (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.65: +1 -1 lines
Diff to previous 1.65 (colored)

add parameter to VOP_TOSS_PAGES VOP_FLUSH_PAGES and VOP_FLUSHINVAL_PAGES for irix compatibility

Revision 1.65 / (download) - annotate - [select for diffs], Fri Dec 1 04:31:22 2000 UTC (16 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.64: +14 -10 lines
Diff to previous 1.64 (colored)

fix some warnings when dmapi not defined.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Nov 22 03:52:40 2000 UTC (16 years, 11 months ago) by eric
Branch: MAIN
Changes since 1.63: +5 -26 lines
Diff to previous 1.63 (colored)

remove/fix unused variables

Revision 1.63 / (download) - annotate - [select for diffs], Sun Nov 19 16:00:38 2000 UTC (16 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.62: +1 -1 lines
Diff to previous 1.62 (colored)

In xfs_iomap_write_convert fix min statement which caused us to return
zero extents sometimes.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Nov 14 22:06:59 2000 UTC (16 years, 11 months ago) by eric
Branch: MAIN
Changes since 1.61: +1 -1 lines
Diff to previous 1.61 (colored)

initialize variable `fsynced' for ENOSPC error condition

Revision 1.61 / (download) - annotate - [select for diffs], Tue Nov 14 16:44:21 2000 UTC (16 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.60: +1 -1 lines
Diff to previous 1.60 (colored)

Use XFS_ERROR return macro

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

Make VOP_BMAP use the PBF_BMAP_TRY_ILOCK call directly.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Oct 9 18:27:01 2000 UTC (17 years ago) by roehrich
Branch: MAIN
Changes since 1.58: +83 -2 lines
Diff to previous 1.58 (colored)

Add dmapi read/write events to the read/write path.  Steve reviewed this,
and it's been bracketed with '#ifdef CONFIG_XFS_DMAPI' at his suggestion.
add dmapi events

Revision 1.58 / (download) - annotate - [select for diffs], Fri Sep 29 19:03:03 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.57: +3 -4 lines
Diff to previous 1.57 (colored)

Merge Irix mod to Back out stripe width alignment

Revision 1.57 / (download) - annotate - [select for diffs], Thu Sep 28 04:14:43 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.56: +0 -1 lines
Diff to previous 1.56 (colored)

remove bogus, unused extern.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Sep 28 00:11:43 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.55: +0 -4 lines
Diff to previous 1.55 (colored)

remove unused headers.

Revision 1.55 / (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.54: +3 -49 lines
Diff to previous 1.54 (colored)

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

Revision 1.54 / (download) - annotate - [select for diffs], Tue Sep 5 18:37:51 2000 UTC (17 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.53: +9 -10 lines
Diff to previous 1.53 (colored)

Make zero_eof I/O requests async instead of sync - we will still probably
end up waiting for one of the pages in here shortly after this, but some
cases will get faster.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Aug 22 01:41:18 2000 UTC (17 years, 2 months ago) by dxm
Branch: MAIN
Changes since 1.52: +1 -0 lines
Diff to previous 1.52 (colored)

add missing include

Revision 1.52 / (download) - annotate - [select for diffs], Fri Aug 18 22:54:04 2000 UTC (17 years, 2 months ago) by cattelan
Branch: MAIN
Changes since 1.51: +56 -1 lines
Diff to previous 1.51 (colored)

Added function to write out superblock and an unmount record,
for a READONLY remount.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Aug 14 19:13:36 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Use UnlockPage rather than just clearing the locked bit - there were
a couple of these.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Aug 10 17:39:26 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.49: +8 -8 lines
Diff to previous 1.49 (colored)

Add some error trap returns in the read/write path

Revision 1.49 / (download) - annotate - [select for diffs], Wed Aug 9 18:17:45 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

Use PAGE_BUF_DADDR_NULL instead of -1 for pbm_bn initialization.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Aug 7 15:12:24 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored)

Make 64 bit divide and modulus operations explicit

Revision 1.47 / (download) - annotate - [select for diffs], Thu Aug 3 19:57:24 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.46: +18 -4 lines
Diff to previous 1.46 (colored)

Add some code to reject access to files which are bigger than XFS_MAX_FILE_OFFSET

Revision 1.46 / (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.45: +3 -3 lines
Diff to previous 1.45 (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.45 / (download) - annotate - [select for diffs], Mon Jul 3 16:46:52 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

Fix bad assert and offset calculations for the case where converting
a delalloc extent takes more than 2 real extents, plus make error return
from linvfs_pb_bmap begative in error cases.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jun 19 15:49:59 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.43: +4 -1 lines
Diff to previous 1.43 (colored)

Change xfs_zero_last_block to do zeroing on delalloc pages

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jun 16 20:57:56 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.42: +4 -7 lines
Diff to previous 1.42 (colored)

In xfs_iomap_write(), roundup the allocation request to a stripe width
  iff the existing file size is already at least one stripe width, and
  we're allocating at the eof. 

Revision 1.42 / (download) - annotate - [select for diffs], Fri Jun 16 14:46:27 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.41: +2 -11 lines
Diff to previous 1.41 (colored)

Fix incore_relse to toss rather than flush pages, this is used for
shuting down a corrupted filesystem, remove some dead code.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Jun 13 17:28:47 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.40: +13 -32 lines
Diff to previous 1.40 (colored)

Simplify interface to pagebuf I/O functions for write

Revision 1.40 / (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.39: +118 -144 lines
Diff to previous 1.39 (colored)

Merge of 2.3.99pre2-xfs:slinx:62680a originally by jtk on 05/24/00
  Add the XFS_pbflush() routine.
  In xfs_trigger_io add a call to 'wake up' the
  pagebuf daemon.

Merge of 2.3.99pre2-xfs:slinx:62933a originally by cattelan on 05/26/00
  implemented the pb_iorequest call out that checks for
  a "shutdown" file system.

Merge of 2.3.99pre2-xfs:slinx:63013a originally by lord on 05/30/00
  remove pagebuf metadata config option

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:63162a originally by lord on 06/01/00
  Change bmapi calls to that conversion is done on the whole delalloc extent
  rather than just the region starting at the specified page.

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

Merge of 2.3.99pre2-xfs:slinx:63306a originally by dxm on 06/04/00
  RT/GRIO checkin

Merge of 2.3.99pre2-xfs:slinx:63345a originally by lord on 06/05/00
  Fixes for invalid bmap calculations in delalloc case.

Merge of 2.3.99pre2-xfs:slinx:63413a originally by jtk on 06/06/00
  Squash a handfull of compiler warnings.

Merge of 2.3.99pre2-xfs:slinx:63584a originally by lord on 06/07/00
  Turn back on xfs_zero_eof for delwri extents - we need to cover delwri
  extents before the end of the file with pages.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jun 9 04:33:30 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

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

  Enhance debug code.

Revision 1.38 / (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.37: +7 -6 lines
Diff to previous 1.37 (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.37 / (download) - annotate - [select for diffs], Fri Jun 9 04:12:53 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.36: +1 -0 lines
Diff to previous 1.36 (colored)

fix includes
Merge of 2.3.99pre2-xfs:slinx:60309a by ananth.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jun 9 04:10:37 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.35: +67 -10 lines
Diff to previous 1.35 (colored)

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

  Changes for XFS delayed allocation and page-cleaner daemon.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jun 9 03:47:51 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.34: +19 -1 lines
Diff to previous 1.34 (colored)

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

  new function xfs_is_read_only 

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

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

  Update times at the start of write and at the end of read
  since we overwrite the linux inode times in revalidate. If
  we ever stop this, these calls to xfs_ichgtime should be deleted.
  In the convert path, drop the lock unless we get into xfs_iomap_convert().
  In the direct case, shring the allocation request to the size of a hole
  if we find a hole. This eliminates the case where we incorrectly
  mark PBMF_NEW when we convert a hole + allocated space into a larger
  allocated space.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jun 9 03:29:24 2000 UTC (17 years, 4 months ago) by mostek
Branch: MAIN
Changes since 1.32: +775 -90 lines
Diff to previous 1.32 (colored)

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

  Add delay alloc iomap routine and convert routine. These are not
  used, yet, but will be turned on soon when pagebuf is ready.

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

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

  Fix VOP_FLUSH_PAGES for interface change.

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

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

  Change xfs_zero_eof to take a vnode rather than an inode
  so that all the callers pass it the same thing!

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jun 9 03:20:46 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.29: +42 -1 lines
Diff to previous 1.29 (colored)

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

  On ENOSPC return from bmap call attempt different heuristics to
  make some space appear, and then return the error.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jun 9 03:01:05 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

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

  Fix compile warnings.

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

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

  Fix assert trip in debug kernels - some isize calculations were
  wrong - reverting to the original code here.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jun 9 02:52:55 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.26: +53 -8 lines
Diff to previous 1.26 (colored)

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

  Changes to get xfs-built kernel to boot.  

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

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

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jun 9 02:36:05 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
CVS Tags: DELETE
Changes since 1.24: +74 -194 lines
Diff to previous 1.24 (colored)

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

  Simplify bmap code, add support for NEW extents.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jun 9 02:29:42 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.23: +20 -10 lines
Diff to previous 1.23 (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.23 / (download) - annotate - [select for diffs], Fri Jun 9 02:26:50 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22 (colored)

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

  Bring XFS upto 2.3.99 (pre2).  

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

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

  Merge of 2.3.42-xfs:slinx:46565a by ananth.
  change buftrace to xfs_buftrace

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

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

  Merge of 2.3.42-xfs:slinx:46380a by ananth.
  Remove excess pagebuf_iowait() calls in the zero_eof path, implement
  clear suid on write and skip the iomap_extra call.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jun 9 01:16:13 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.18: +11 -4 lines
Diff to previous 1.18 (colored)

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

  Merge of 2.3.42-xfs:slinx:46362a by ananth.
  Always look up the bmap on xfs_iomap_write before trying to
  allocate. This greatly enhances performance where
  an extant extent extends beyond EOF.

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

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

  Merge of 2.3.42-xfs:slinx:45664a by ananth.
  comment out asserts about the I/O lock being held in
  the bmap path. Call into pagebuf_delwri_flush when flushing
  a filesystem out during unmount.

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

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

  Merge of 2.3.42-xfs:slinx:44904a by ananth.
  Fixup to work with pagebuf or buf_t meta-data

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jun 9 00:49:25 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.15: +10 -1 lines
Diff to previous 1.15 (colored)

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

  Merge of 2.3.42-xfs:slinx:44563a by ananth.
  Implement XFS_pb_target to return the dev_t from a
  pagebuf

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 9 00:46:36 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.14: +23 -24 lines
Diff to previous 1.14 (colored)

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

  Merge of 2.3.42-xfs:slinx:44267a by ananth.
  Add more pagebuf support functions for meta-data access

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 9 00:02:07 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.13: +2 -0 lines
Diff to previous 1.13 (colored)

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

  Merge of 2.3.42-xfs:slinx:43601a by ananth.
  ifdef out a line of code which did not compile when XFS
  was build using pagebufs for meta-data

Revision 1.13 / (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.12: +24 -28 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Sat Feb 12 01:03:17 2000 UTC (17 years, 8 months ago) by cattelan
Branch: MAIN
Changes since 1.11: +31 -0 lines
Diff to previous 1.11 (colored)

new functions xfs_pb_getr xfs_pb_ngetr

Revision 1.11 / (download) - annotate - [select for diffs], Tue Feb 8 04:47:02 2000 UTC (17 years, 8 months ago) by mostek
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored)

Fix compile error when DEBUG turned on.

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: +11 -16 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], Tue Jan 25 16:11:22 2000 UTC (17 years, 9 months ago) by mostek
Branch: MAIN
Changes since 1.8: +474 -32 lines
Diff to previous 1.8 (colored)

Add locking to xfs_read/xfs_write (iolock) since other
parts of XFS depend on this. We may want to try removing
this later.

Add the zero'ing of the last block/page and zero'ing when
the eof moves without writting data.


Revision 1.8 / (download) - annotate - [select for diffs], Fri Jan 14 19:56:15 2000 UTC (17 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.7: +2 -3 lines
Diff to previous 1.7 (colored)

Turn on more of the non-pagebuf version of the code

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jan 13 21:06:42 2000 UTC (17 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.6: +13 -5 lines
Diff to previous 1.6 (colored)

We need an implementation of xfsbdstrat and xfs_bdstrat_cb for
the non-pagebuf case too!

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 13 00:29:10 2000 UTC (17 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.5: +111 -2 lines
Diff to previous 1.5 (colored)

additional functions from xfs_rw.c... not fully implemented yet.

Revision 1.5 / (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.4: +287 -375 lines
Diff to previous 1.4 (colored)

Lots of work in the write path. Also, get this to work
with page offset boundaries.

No delay allocation, everything is allocate and write
directly.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jan 6 20:24:44 2000 UTC (17 years, 9 months ago) by mostek
Branch: MAIN
Changes since 1.3: +536 -173 lines
Diff to previous 1.3 (colored)

Fix format of xfs_bmap/xfs_iomap_read and start doing xfs_iomap_write.
Also, we need the bsize in the pb_bmap_t to be bytes so shift by block bits.

Revision 1.3 / (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.2: +315 -3 lines
Diff to previous 1.2 (colored)

New functions for pagebuf
xfs_bmap
xfs_iomap_read
works for simple case of generic_file_read

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 21 10:01:54 1999 UTC (17 years, 10 months ago) by kenmcd
Branch: MAIN
Changes since 1.1: +23 -0 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Fri Dec 10 20:44:19 1999 UTC (17 years, 10 months ago) by mostek
Branch: MAIN

This is where XFS' specific read/write path will live and is started.

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>