CVS log for xfs-linux/xfs_rw.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.401 / (download) - annotate - [select for diffs], Tue Aug 5 16:29:38 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.400: +1 -1 lines
Diff to previous 1.400 (unified)

replace the XFS buf iodone semaphore with a completion

The xfs_buf_t b_iodonesema is really just a semaphore that wants to be a
completion.  Change it to a completion and remove the last user of the sema_t
from XFS.

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

  replace the XFS buf iodone semaphore with a completion

Revision 1.400 / (download) - annotate - [select for diffs], Thu Apr 10 04:34:14 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.399: +4 -4 lines
Diff to previous 1.399 (unified)

Sanitise xfs_log_force error checking.

xfs_log_force() is declared to return an error, but we almost never
check it. We don't need to check it in most cases; if there's a log
I/O error then we'll be shutting down the filesystem anyway and that
means we'll catch the error somewhere else.

However, on certain calls we should be returning an error - sync
transactions, fsync, sync writes, etc. so this isn't a pure black
and white distinction. Hence make xfs_log_force() a void function
that issues a warning to the syslog on error, and call
_xfs_log_force() in all the places where we actually care about the
error status returned.
Merge of xfs-linux-melb:xfs-kern:30832a by kenmcd.

  Sanitise xfs_log_force error checking.

Revision 1.399 / (download) - annotate - [select for diffs], Fri Aug 24 16:13:42 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.398: +1 -4 lines
Diff to previous 1.398 (unified)

decontaminate vfs operations from behavior details

All vfs ops now take struct xfs_mount pointers and the behaviour
related glue is split out into methods of it's own.


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

  convert vfs ops to take xfs_mount pointers and split out
  the behaviour related glue.

Revision 1.398 / (download) - annotate - [select for diffs], Fri Mar 2 02:59:33 2007 UTC (10 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.397: +2 -2 lines
Diff to previous 1.397 (unified)

The last argument "lsn" of xfs_trans_commit() is always called with NULL.

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

  The last argument "lsn" of xfs_trans_commit() is always called with NULL.
  Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Revision 1.397 / (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.396: +0 -1 lines
Diff to previous 1.396 (unified)

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.396 / (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.395: +0 -2 lines
Diff to previous 1.395 (unified)

Remove version 1 directory code.  Never functioned on Linux, just pure bloat.
Merge of xfs-linux-melb:xfs-kern:26251a by kenmcd.

Revision 1.395 / (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.394: +85 -1 lines
Diff to previous 1.394 (unified)

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.394 / (download) - annotate - [select for diffs], Tue May 30 15:48:50 2006 UTC (11 years, 5 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.393: +20 -16 lines
Diff to previous 1.393 (unified)

Shutdown the filesystem if all device paths have gone.  Made shutdown vop flags consistent with sync vop flags declarations too.
Merge of xfs-linux-melb:xfs-kern:26096a by kenmcd.

Revision 1.393 / (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.392: +4 -5 lines
Diff to previous 1.392 (unified)

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

Revision 1.392 / (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.391: +12 -26 lines
Diff to previous 1.391 (unified)

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

Revision 1.391 / (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.390: +10 -10 lines
Diff to previous 1.390 (unified)

Remove xfs_macros.c, xfs_macros.h, rework headers a whole lot.
Merge of xfs-linux-melb:xfs-kern:23901a by kenmcd.

Revision 1.390 / (download) - annotate - [select for diffs], Mon Sep 5 12:36:32 2005 UTC (12 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.389: +1 -1 lines
Diff to previous 1.389 (unified)

Add format checking to cmn_err and icmn_err

Revision 1.389 / (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.388: +0 -4 lines
Diff to previous 1.388 (unified)

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.388 / (download) - annotate - [select for diffs], Sat Nov 22 22:22:46 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.387: +2 -2 lines
Diff to previous 1.387 (unified)

Switch from using dev_t to xfs_buftarg_t for representing the devices underneath XFS

Revision 1.387 / (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.386: +0 -353 lines
Diff to previous 1.386 (unified)

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

Revision 1.386 / (download) - annotate - [select for diffs], Thu Oct 30 04:11:45 2003 UTC (14 years ago) by sandeen
Branch: MAIN
Changes since 1.385: +3 -0 lines
Diff to previous 1.385 (unified)

Add a stack trace to _xfs_force_shutdown.

Revision 1.385 / (download) - annotate - [select for diffs], Fri Oct 17 02:22:25 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.384: +1 -52 lines
Diff to previous 1.384 (unified)

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

Revision 1.384 / (download) - annotate - [select for diffs], Tue Oct 7 21:21:22 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.383: +6 -6 lines
Diff to previous 1.383 (unified)

switch xfs to use linux imode flags internally

Revision 1.383 / (download) - annotate - [select for diffs], Tue Sep 30 19:14:28 2003 UTC (14 years, 1 month ago) by lord
Branch: MAIN
CVS Tags: DELETE-570
Changes since 1.382: +4 -0 lines
Diff to previous 1.382 (unified)

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.
fix up the linux i_mode as well as the xfs one when clearing
setuid, lets us bypass clear_setuid 

Revision 1.382 / (download) - annotate - [select for diffs], Mon Sep 8 03:47:34 2003 UTC (14 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.381: +0 -1 lines
Diff to previous 1.381 (unified)

remove doubly-included header files

Revision 1.381 / (download) - annotate - [select for diffs], Wed Jul 2 02:35:27 2003 UTC (14 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.380: +3 -6 lines
Diff to previous 1.380 (unified)

rework sysctl initialization to avoid confusion

Revision 1.380 / (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.379: +761 -0 lines
Diff to previous 1.379 (unified)

The Big Move
linux/fs/xfs/xfs_rw.c 1.378 Renamed to xfs_rw.c

Revision 1.379 / (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.378: +0 -761 lines
Diff to previous 1.378 (unified)

Nuke

Revision 1.378 / (download) - annotate - [select for diffs], Thu May 1 21:05:53 2003 UTC (14 years, 6 months ago) by lord
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.377: +0 -23 lines
Diff to previous 1.377 (unified)

Rework of how xfs syncs metadata to disk. This has a number of
benefits: We no longer walk the list of all the inodes in the
filesystem everytime the write_super is called. If you type
sync and then reset the box then everything is definitely
recovered afterwards. We remove a lot of calls to
mark_inode_dirty which did not really do us any good, and
replace them with a single one which does. kupdated does
less work in xfs now, freeing it to do other things.
Finally, get the dummy log record code working, this
means that after a period of inactivity with everything
on disk, we clean the log so that recovery does not
have any work to do.
remove timer associated with refcache purging

Revision 1.377 / (download) - annotate - [select for diffs], Thu May 1 16:22:06 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.376: +33 -2 lines
Diff to previous 1.376 (unified)

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.376 / (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.375: +6 -6 lines
Diff to previous 1.375 (unified)

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

Revision 1.375 / (download) - annotate - [select for diffs], Wed Mar 5 16:47:58 2003 UTC (14 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.374: +2 -1 lines
Diff to previous 1.374 (unified)

Undoes mod:     2.4.x-xfs:slinx:136462b
back out the last change to this file, it is incorrect, the
merge tools broke on this one before.

Revision 1.374 / (download) - annotate - [select for diffs], Wed Mar 5 16:30:55 2003 UTC (14 years, 7 months ago) by overby
Branch: MAIN
Changes since 1.373: +1 -2 lines
Diff to previous 1.373 (unified)

Eliminate a race condition in xfs_inval_cached_pages
Merge of irix6.5f:irix:136462a by sandeen.

  Merge of grove2-6520stage:irix:136462a by roehrich.
  Merge of grove2:irix:136462a by roehrich.
  Eliminate a race condition in xfs_inval_cached_pages by using
  XFS_ILOCK_DEMOTE instead of unlock / lock.

Revision 1.373 / (download) - annotate - [select for diffs], Tue Mar 4 20:15:43 2003 UTC (14 years, 7 months ago) by overby
Branch: MAIN
Changes since 1.372: +0 -0 lines
Diff to previous 1.372 (unified)

Add error reporting calls in error paths that return EFSCORRUPTED
Merge of irix6.5f:irix:136445a by sandeen.

  Merge of grove2-6520stage:irix:136445a by roehrich.
  Merge of grove2:irix:136445a by roehrich.
  Add error reporting calls in error paths that return EFSCORRUPTED

Revision 1.372 / (download) - annotate - [select for diffs], Thu Jan 16 20:54:29 2003 UTC (14 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.371: +2 -1 lines
Diff to previous 1.371 (unified)

Undoes mod:     2.4.x-xfs:slinx:136462a
back out the silly crap I commited today

Revision 1.371 / (download) - annotate - [select for diffs], Thu Jan 16 16:01:29 2003 UTC (14 years, 9 months ago) by overby
Branch: MAIN
Changes since 1.370: +1 -2 lines
Diff to previous 1.370 (unified)

Eliminate a race condition in xfs_inval_cached_pages by using
XFS_ILOCK_DEMOTE instead of unlock / lock.

Revision 1.370 / (download) - annotate - [select for diffs], Wed Dec 18 05:02:23 2002 UTC (14 years, 10 months ago) by sandeen
Branch: MAIN
Changes since 1.369: +1 -1 lines
Diff to previous 1.369 (unified)

Change some %x formats to %p for pointers

Revision 1.369 / (download) - annotate - [select for diffs], Sat Oct 26 19:27:38 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.368: +1 -1 lines
Diff to previous 1.368 (unified)

Remove tabs from printk's

Revision 1.368 / (download) - annotate - [select for diffs], Thu Oct 24 20:18:15 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.367: +3 -3 lines
Diff to previous 1.367 (unified)

Implement xfs_panic_mask
hook forced shutdown into panic_mask handling

Revision 1.367 / (download) - annotate - [select for diffs], Fri Oct 11 19:22:58 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.366: +1 -1 lines
Diff to previous 1.366 (unified)

Clean up xfs' log message printing
Remove extra newline from end of cmn_error messages

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

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

Revision 1.365 / (download) - annotate - [select for diffs], Mon Sep 2 12:16:48 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.364: +0 -3 lines
Diff to previous 1.364 (unified)

remove panic, rootdev is not necessarily rootdev

Revision 1.364 / (download) - annotate - [select for diffs], Thu Aug 29 15:33:16 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.363: +1 -1 lines
Diff to previous 1.363 (unified)

cleanup stats/sysctl

Revision 1.363 / (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.362: +1 -1 lines
Diff to previous 1.362 (unified)

rationalize xfs <-> pagebuf interface

Revision 1.362 / (download) - annotate - [select for diffs], Fri Aug 9 16:27:40 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.361: +1 -1 lines
Diff to previous 1.361 (unified)

remove unneeded vfs locking code

Revision 1.361 / (download) - annotate - [select for diffs], Sat Jul 27 14:25:06 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.360: +5 -32 lines
Diff to previous 1.360 (unified)

remove cell_capable code from forced shutdown path and change
arguments to make it a work as a vfs function

Revision 1.360 / (download) - annotate - [select for diffs], Mon Jul 22 18:34:31 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.359: +2 -2 lines
Diff to previous 1.359 (unified)

remove kdev_t abuse from XFS

Revision 1.359 / (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.358: +45 -45 lines
Diff to previous 1.358 (unified)

whitespace cleanup

Revision 1.358 / (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.357: +2 -22 lines
Diff to previous 1.357 (unified)

changes xfs_inval_cached_pages interface

Revision 1.357 / (download) - annotate - [select for diffs], Wed Jun 5 15:04:30 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.356: +1 -2 lines
Diff to previous 1.356 (unified)

Use lock demote rather than unlock/relock to move from a write
to a read level of the IO lock. This closes a window where a buffered
write could get in.

Revision 1.356 / (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.355: +1 -1 lines
Diff to previous 1.355 (unified)

Update copyright dates

Revision 1.355 / (download) - annotate - [select for diffs], Fri May 31 00:44:20 2002 UTC (15 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.354: +8 -13 lines
Diff to previous 1.354 (unified)

kdev_t changes to sync up the 2.4 code base with the 2.5 code (incl.
use of the kdev compat macros, removed pb_dev from page_buf_t, made
XFS_BUF_TARGET use match up with current 2.5, removed unused q_dev
field from xfs_dquot).

Revision 1.354 / (download) - annotate - [select for diffs], Sun Apr 7 14:12:07 2002 UTC (15 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.353: +4 -8 lines
Diff to previous 1.353 (unified)

use a per-fs sbdirty timer rather than one global timer

Revision 1.353 / (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.352: +2 -3 lines
Diff to previous 1.352 (unified)

make xfs_inval_cached_pages take a parameter indicating the
lock state of the iolock.

Revision 1.352 / (download) - annotate - [select for diffs], Thu Mar 21 16:53:58 2002 UTC (15 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.351: +1 -1 lines
Diff to previous 1.351 (unified)


Fix an ia64 warning generated by an incorrect cast

Revision 1.351 / (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.350: +0 -8 lines
Diff to previous 1.350 (unified)

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

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

Revision 1.350 / (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.349: +1 -1 lines
Diff to previous 1.349 (unified)

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

  vnode/inode layout and allocation changed

Revision 1.349 / (download) - annotate - [select for diffs], Thu Jan 17 21:43:10 2002 UTC (15 years, 9 months ago) by sandeen
Branch: MAIN
Changes since 1.348: +2 -26 lines
Diff to previous 1.348 (unified)

Don't try to clear out remaining delwri buffers in _xfs_force_shutdown,
we are in an interrupt context and can't sleep, just let the
buffers get caught as they try to get on-disk.

Revision 1.348 / (download) - annotate - [select for diffs], Mon Jan 14 21:13:12 2002 UTC (15 years, 9 months ago) by sandeen
Branch: MAIN
Changes since 1.347: +4 -1 lines
Diff to previous 1.347 (unified)

Change so CXFS clients do not forward a forced shutdown to
other cells

Revision 1.347 / (download) - annotate - [select for diffs], Thu Sep 27 15:32:34 2001 UTC (16 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.346: +5 -3 lines
Diff to previous 1.346 (unified)

Save purge count off into a local variable so it doesn't change
out from under us while we're using it...

Revision 1.346 / (download) - annotate - [select for diffs], Wed Sep 26 19:08:38 2001 UTC (16 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.345: +92 -6 lines
Diff to previous 1.345 (unified)

Make refcache size and purge quantity sysctl tuneable
Add xfs_refcache_resize function to handle resizing

Revision 1.345 / (download) - annotate - [select for diffs], Tue Sep 18 20:56:42 2001 UTC (16 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.344: +28 -1 lines
Diff to previous 1.344 (unified)

Add timer to mark sb dirty even if filesystem is idle.
This ensures we'll keep purging the nfs refcache.
Modify xfs_refcache_purge_some to pass in mount point, so we can get to sb

Revision 1.344 / (download) - annotate - [select for diffs], Tue Aug 21 20:02:30 2001 UTC (16 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.343: +1 -1 lines
Diff to previous 1.343 (unified)

Fix blkno format size in xfs_ioerror_alert message

Revision 1.343 / (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.342: +0 -6 lines
Diff to previous 1.342 (unified)

remove a prototype for a non-existant function.

Revision 1.342 / (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.341: +7 -3 lines
Diff to previous 1.341 (unified)

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

Revision 1.341 / (download) - annotate - [select for diffs], Tue Aug 14 13:35:18 2001 UTC (16 years, 2 months ago) by eric
Branch: MAIN
Changes since 1.340: +33 -12 lines
Diff to previous 1.340 (unified)

Merge of irix6.5f:irix:99901a
Add xfs_ioerror_alert calls on I/O errors
Change and xfs_force_shutdown call flag from I/O Error to In-core corruption.
Change _xfs_force_shutdown to report different error messages for each shutdown flag
Change xfs_ioerror_alert to take a pointer to the buffer with errors.
Various info is printed about the buffer
Protect xfs_ioerror_alert from a mount point that is not completely initialized.

Revision 1.340 / (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.339: +1 -1 lines
Diff to previous 1.339 (unified)

Add inode size to zero_eof call

Revision 1.339 / (download) - annotate - [select for diffs], Mon May 14 15:39:44 2001 UTC (16 years, 5 months ago) by sandeen
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.338: +7 -2 lines
Diff to previous 1.338 (unified)

Add instrumentation for error conditions.
(Irix6.5f:irix:93790c, PV818277)

Revision 1.338 / (download) - annotate - [select for diffs], Fri Apr 20 14:51:29 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.337: +0 -175 lines
Diff to previous 1.337 (unified)

remove all reference to the gap list - we are not using it at all
in linux.

Revision 1.337 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:09 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.336: +3 -1 lines
Diff to previous 1.336 (unified)

Fix debug build

Revision 1.336 / (download) - annotate - [select for diffs], Mon Apr 16 22:49:09 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.335: +2 -145 lines
Diff to previous 1.335 (unified)

remove references to deleted inode fields

Revision 1.335 / (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.334: +3 -4 lines
Diff to previous 1.334 (unified)

Get rid of the last compiler warning OFF flags

Revision 1.334 / (download) - annotate - [select for diffs], Mon Mar 12 19:22:23 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10
Changes since 1.333: +5 -2 lines
Diff to previous 1.333 (unified)

allow better flag passing down from xfs to pagebuf

Revision 1.333 / (download) - annotate - [select for diffs], Tue Mar 6 22:07:31 2001 UTC (16 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.332: +2 -2 lines
Diff to previous 1.332 (unified)

fix a debug build - v_count field of vnode_t no longer exists.

Revision 1.332 / (download) - annotate - [select for diffs], Tue Mar 6 21:05:35 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.331: +6 -2 lines
Diff to previous 1.331 (unified)

Change reference cache to do a VOP_RELEASE on removal from cache,
this will truncate out space allocated beyond end of file.

Revision 1.331 / (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.330: +265 -0 lines
Diff to previous 1.330 (unified)

Reintroduce nfs reference cache

Revision 1.330 / (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.329: +1 -1 lines
Diff to previous 1.329 (unified)

fix xfs_zero_eof in direct I/O case

Revision 1.329 / (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.328: +1 -1 lines
Diff to previous 1.328 (unified)

add parameter to VOP_TOSS_PAGES VOP_FLUSH_PAGES and VOP_FLUSHINVAL_PAGES for irix compatibility

Revision 1.328 / (download) - annotate - [select for diffs], Mon Oct 2 22:22:55 2000 UTC (17 years ago) by ajag
Branch: MAIN
Changes since 1.327: +2 -0 lines
Diff to previous 1.327 (unified)

Call to xfs_buf_read from xfs_read_buf can return NULL.
Pointer was always dereferenced through XFS_BUF_GETERROR (causing kernel
faults) code now checks for this case and returns error on NULL.

Revision 1.327 / (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.326: +2 -59 lines
Diff to previous 1.326 (unified)

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

Revision 1.326 / (download) - annotate - [select for diffs], Thu Sep 14 01:07:30 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.325: +2 -3 lines
Diff to previous 1.325 (unified)

pass the right number of arguments into xfs_zero_eof().

Revision 1.325 / (download) - annotate - [select for diffs], Thu Sep 7 06:52:23 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.324: +2 -589 lines
Diff to previous 1.324 (unified)

cleanse sim remnants, minor tidying, remove dead code/types/#defines.

Revision 1.324 / (download) - annotate - [select for diffs], Thu Aug 31 02:01:00 2000 UTC (17 years, 2 months ago) by dxm
Branch: MAIN
Changes since 1.323: +22 -22 lines
Diff to previous 1.323 (unified)

cosmetic

Revision 1.323 / (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.322: +2 -2 lines
Diff to previous 1.322 (unified)

Fix an assert to be 64 bit friendly

Revision 1.322 / (download) - annotate - [select for diffs], Mon Jul 31 16:16:28 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.321: +1 -1 lines
Diff to previous 1.321 (unified)

Bring tree up to 2.4.0-test5

Revision 1.321 / (download) - annotate - [select for diffs], Tue Jul 25 22:31:44 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.320: +4 -4 lines
Diff to previous 1.320 (unified)

Remove XFS_BUF_UNDELAYWRITE call from before xfs_bawrite, it is now
automatically going to remove the effects of the delay write for us.

Revision 1.320 / (download) - annotate - [select for diffs], Thu Jul 20 17:56:03 2000 UTC (17 years, 3 months ago) by cattelan
Branch: MAIN
Changes since 1.319: +2 -2 lines
Diff to previous 1.319 (unified)

Don't include kdb if kdb isn't installed or config'ed on

Revision 1.319 / (download) - annotate - [select for diffs], Mon Jul 17 20:57:01 2000 UTC (17 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.318: +3 -4 lines
Diff to previous 1.318 (unified)

use dmapi_kern.h instead of dmi_kern.h
use dmapi_kern.h instead of dmi_kern.h

Revision 1.318 / (download) - annotate - [select for diffs], Tue Jul 4 02:02:14 2000 UTC (17 years, 3 months ago) by dxm
Branch: MAIN
Changes since 1.317: +5 -7 lines
Diff to previous 1.317 (unified)

fix broken xfs_ioerror_alert (blkno is 64 bit) & tidy message

Revision 1.317 / (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.316: +1 -1 lines
Diff to previous 1.316 (unified)

*** empty log message ***

Revision 1.316 / (download) - annotate - [select for diffs], Thu Jun 15 21:42:59 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.315: +1 -277 lines
Diff to previous 1.315 (unified)

Pull the IRIX specific "refcache" code.

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

ongoing code cleanup, remove unused headers, dead code.

Revision 1.314 / (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.313: +30 -93 lines
Diff to previous 1.313 (unified)

Merge of 2.3.99pre2-xfs:slinx:62680a originally by jtk on 05/24/00
  Use 'vn_count()' to check the reference count.

Merge of 2.3.99pre2-xfs:slinx:63004a originally by lord on 05/30/00
  Remove page buf metadata as an option - it is always on now

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:63295a originally by nathans on 06/03/00
  remove all references to stuff from ksa.h and psa.h.

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:63413a originally by jtk on 06/06/00
  Squash a handfull of compiler warnings.

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

Merge of 2.3.99pre2-xfs:slinx:63636a originally by nathans on 06/07/00
  more housekeeping - remove unused headers & dead code.

Merge of 2.3.99pre2-xfs:slinx:63664a originally by nathans on 06/08/00
  more housekeeping - remove unused headers & dead code.

Revision 1.313 / (download) - annotate - [select for diffs], Fri Jun 9 03:31:23 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.312: +1 -1 lines
Diff to previous 1.312 (unified)

fix ifdef
Merge of 2.3.99pre2-xfs:slinx:57467a by ananth.

Revision 1.312 / (download) - annotate - [select for diffs], Fri Jun 9 03:29:54 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.311: +9 -1 lines
Diff to previous 1.311 (unified)

dir2 architecture mods
Merge of 2.3.99pre2-xfs:slinx:57286a by ananth.

Revision 1.311 / (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.310: +1 -2 lines
Diff to previous 1.310 (unified)

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

  Change calls to VOP_FLUSH_PAGES VOP_FLUSHINVAL_PAGES and VOP_TOSS_PAGES to
  not take an end offset.

Revision 1.310 / (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.309: +25 -11 lines
Diff to previous 1.309 (unified)

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

Revision 1.309 / (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.308: +2 -4 lines
Diff to previous 1.308 (unified)

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

  Remove include of fcntl.h
  Remove include of flock.h
  Remove xfs_checklock references.
  Change comments to reflect new ioctl command.

Revision 1.308 / (download) - annotate - [select for diffs], Fri Jun 9 02:36:05 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.307: +7 -6953 lines
Diff to previous 1.307 (unified)

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

  Remove dead code.

Revision 1.307 / (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.306: +0 -1 lines
Diff to previous 1.306 (unified)

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.306 / (download) - annotate - [select for diffs], Fri Jun 9 02:10:00 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.305: +1 -1 lines
Diff to previous 1.305 (unified)

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

  Merge of 2.3.42-xfs:slinx:46541a by ananth.
  Header file cleanup
  removed the last of the
  #if defined(__linux__)
  #include <xfs_linux>
  #endif
  All os specific include file switches should now done
  in xfs_os_defs.h

Revision 1.305 / (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.304: +1 -8 lines
Diff to previous 1.304 (unified)

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.304 / (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.303: +0 -1 lines
Diff to previous 1.303 (unified)

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.303 / (download) - annotate - [select for diffs], Fri Jun 9 01:11:55 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.302: +0 -116 lines
Diff to previous 1.302 (unified)

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

  Merge of 2.3.42-xfs:slinx:46048a by ananth.
  removed unused xfs_vop_readbuf() routine.

Revision 1.302 / (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.301: +10 -9 lines
Diff to previous 1.301 (unified)

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

  Merge of 2.3.42-xfs:slinx:44904a by ananth.
  fix debug build with pagebuf meta-data
  remove more unused code

Revision 1.301 / (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.300: +1 -0 lines
Diff to previous 1.300 (unified)

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

  Merge of 2.3.42-xfs:slinx:44267a by ananth.
  add explicit call to set PBF_WRITE

Revision 1.300 / (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.299: +5 -6 lines
Diff to previous 1.299 (unified)

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.299 / (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.298: +4 -2 lines
Diff to previous 1.298 (unified)

Fix compile problems with DEBUG turned on.

Revision 1.298 / (download) - annotate - [select for diffs], Sun Jan 30 09:59:06 2000 UTC (17 years, 9 months ago) by kenmcd
Branch: MAIN
Changes since 1.297: +12 -17 lines
Diff to previous 1.297 (unified)

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.297 / (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.296: +7 -14 lines
Diff to previous 1.296 (unified)

Remove a bunch more code on linux since it is now in xfs_lrw.c
in the linux directory.

Revision 1.296 / (download) - annotate - [select for diffs], Mon Jan 24 21:38:02 2000 UTC (17 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.295: +8 -6 lines
Diff to previous 1.295 (unified)

Merge from irix/irix6.5f to pingu/slinx-xfs
Merge of irix6.5f:irix:32165a created by doucette on 11/02/99
  xfs_dio_write_zero_rtarea doesn't need in+out offset & length parameters
  any more.  It's now only called for filesystems that don't allow unwritten
  extents; otherwise we just split the extent into normal & unwritten.
  xfs_dio_write does the locking for xfs_dio_write_zero_rtarea.
  It also needs to get the iolock exclusive when that routine will
  be called, otherwise there's a race on that extent.
  Also fix the realtime space reservation for realtime files with an
  extent size set.  When the realtime extent is allocated it's marked
  unwritten (if allowed) then the written part is converted to normal.
  Add a trace point for xfs_diordwr.

Merge of irix6.5f:irix:33486a created by doucette on 11/16/99
  In xfs_read() and xfs_write() cast count to ssize_t at the point of its
  comparison with 0, and fix the error value to EINVAL if negative.
  In xfs_write_file() change the type of count to size_t.

Merge of irix6.5f:irix:34672a created by doucette on 12/03/99
  In xfs_bmap assert that the realtime bit in iocore flags matches the
  inode's copy before we use it to control anything.

Revision 1.295 / (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.294: +3 -3 lines
Diff to previous 1.294 (unified)

Removed more functions

Revision 1.294 / (download) - annotate - [select for diffs], Wed Dec 29 21:14:01 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.293: +3 -3 lines
Diff to previous 1.293 (unified)

commented out old xfs_bmap

Revision 1.293 / (download) - annotate - [select for diffs], Tue Dec 14 10:20:10 1999 UTC (17 years, 10 months ago) by kenmcd
Branch: MAIN
Changes since 1.292: +24 -1 lines
Diff to previous 1.292 (unified)

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

Revision 1.292 / (download) - annotate - [select for diffs], Fri Dec 10 20:20:52 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.291: +13 -13 lines
Diff to previous 1.291 (unified)

More macros
bwrite -> XFS_bwrite
bawrite -> XFS_bawrite
biodone -> xfs_biodone
bwait -> xfs_bwait
incore -> xfs_incore
incore_relse -> xfs_incore_relse
incore_match -> xfs_incore_match
baread -> xfs_baread

Revision 1.291 / (download) - annotate - [select for diffs], Sat Dec 4 01:19:15 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.290: +6 -5 lines
Diff to previous 1.290 (unified)

More macros.... <x>SEMA 

Revision 1.290 / (download) - annotate - [select for diffs], Thu Dec 2 21:00:29 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.289: +5 -5 lines
Diff to previous 1.289 (unified)

abstract b_pincount

Revision 1.289 / (download) - annotate - [select for diffs], Thu Dec 2 00:05:09 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.288: +6 -6 lines
Diff to previous 1.288 (unified)

ifdef out more unused functions.

Revision 1.288 / (download) - annotate - [select for diffs], Mon Nov 29 22:56:31 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.287: +2 -2 lines
Diff to previous 1.287 (unified)

Still a reference to b_iodone in the code.

Revision 1.287 / (download) - annotate - [select for diffs], Thu Nov 25 06:29:10 1999 UTC (17 years, 11 months ago) by cattelan
Branch: MAIN
Changes since 1.286: +28 -22 lines
Diff to previous 1.286 (unified)

Last of the b_flags abstraction.

Revision 1.286 / (download) - annotate - [select for diffs], Wed Nov 24 21:48:45 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.285: +1 -1 lines
Diff to previous 1.285 (unified)

hide read_buf and get_buf calls

Revision 1.285 / (download) - annotate - [select for diffs], Tue Nov 23 20:52:36 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.284: +1 -1 lines
Diff to previous 1.284 (unified)

make all xfs buffer access be buftarg_t based

Revision 1.284 / (download) - annotate - [select for diffs], Tue Nov 23 20:09:20 1999 UTC (17 years, 11 months ago) by cattelan
Branch: MAIN
Changes since 1.283: +166 -83 lines
Diff to previous 1.283 (unified)

More b_flags abstractions
starting to ifdef out the unused functions.

Revision 1.283 / (download) - annotate - [select for diffs], Tue Nov 23 16:21:39 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.282: +2 -2 lines
Diff to previous 1.282 (unified)

hide some b_bcount and b_blkno

Revision 1.282 / (download) - annotate - [select for diffs], Mon Nov 22 22:58:48 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.281: +11 -11 lines
Diff to previous 1.281 (unified)

virtualize brelse() call

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

virtualize interface to buffer data

Revision 1.280 / (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.279: +18 -1 lines
Diff to previous 1.279 (unified)

Start of b_flags virtualization 

Revision 1.279 / (download) - annotate - [select for diffs], Fri Nov 19 20:34:54 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.278: +2 -2 lines
Diff to previous 1.278 (unified)

Add b_bdstrat and b_fsprivate3 to virtualization interface

Revision 1.278 / (download) - annotate - [select for diffs], Wed Nov 17 19:22:23 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.277: +85 -85 lines
Diff to previous 1.277 (unified)

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

Revision 1.277 / (download) - annotate - [select for diffs], Mon Nov 15 23:07:16 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.276: +78 -67 lines
Diff to previous 1.276 (unified)

Merge from irix/irix6.5f to pingu/slinx-xfs
Merge of irix6.5f:irix:32165a created by doucette on 11/02/99
  xfs_dio_write_zero_rtarea doesn't need in+out offset & length parameters
  any more.  It's now only called for filesystems that don't allow unwritten
  extents; otherwise we just split the extent into normal & unwritten.
  xfs_dio_write does the locking for xfs_dio_write_zero_rtarea.
  It also needs to get the iolock exclusive when that routine will
  be called, otherwise there's a race on that extent.
  Also fix the realtime space reservation for realtime files with an
  extent size set.  When the realtime extent is allocated it's marked
  unwritten (if allowed) then the written part is converted to normal.
  Add a trace point for xfs_diordwr.

Revision 1.276 / (download) - annotate - [select for diffs], Wed Oct 20 22:05:26 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.275: +5 -2 lines
Diff to previous 1.275 (unified)

Remove some assert checks for the linux build

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

Added prototypes... maybe shouldn't be here?

Revision 1.274 / (download) - annotate - [select for diffs], Wed Sep 29 17:55:19 1999 UTC (18 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.273: +11 -1 lines
Diff to previous 1.273 (unified)

Add linux specific thread setup calls

Revision 1.273 / (download) - annotate - [select for diffs], Tue Aug 31 16:17:54 1999 UTC (18 years, 2 months ago) by cattelan
Branch: MAIN
Changes since 1.272: +0 -0 lines
Diff to previous 1.272 (unified)

First pass at this file... it does compile but alot of stuff will need to 
be stripped out.

Revision 1.272 / (download) - annotate - [select for diffs], Fri Aug 27 22:00:32 1999 UTC (18 years, 2 months ago) by cattelan
Branch: MAIN
Changes since 1.271: +6 -3 lines
Diff to previous 1.271 (unified)

Header file checkpoint... libsim mkfs xfsdb build\n as well as most of the kernel files

Revision 1.271 / (download) - annotate - [select for diffs], Tue May 25 20:01:08 1999 UTC (18 years, 5 months ago) by clk
Branch: MAIN
Changes since 1.270: +3 -3 lines
Diff to previous 1.270 (unified)

Instead of calling fs_checklock2, call the iocore op
XFS_CHECKLOCK2.  This eliminates the need for VOP_FRLOCK2.

Revision 1.270 / (download) - annotate - [select for diffs], Wed May 19 21:00:49 1999 UTC (18 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.269: +0 -10 lines
Diff to previous 1.269 (unified)

Remove incorrectly merged code in xfs_strat_write_iodone
which was supposed to be removed by the cxfs checkin.

Revision 1.269 / (download) - annotate - [select for diffs], Fri May 14 20:13:13 1999 UTC (18 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.268: +996 -861 lines
Diff to previous 1.268 (unified)

Merge from irix/cxfs-f to irix/irix6.5f
Merge of cxfs-f:irix:15011b created by lord on 05/11/99
  Merge from irix/cxfs to irix/cxfs-f
  Merge of cxfs:irix:13423a created by lord on 04/19/99
  CXFS infrastructure checkin
  Merge of cxfs:irix:14779a created by clk on 05/06/99
  Fixing a problem in xfs_strat_write_core, where we could
  get an error from XFS_BMAPI during CXFS forced shutdown.
  This would cause us to try and call xfs_delalloc_cleanup
  in a non-DEBUG kernel.  xfs_delalloc_cleanup would do
  bad things, so only call it "if (is_xfs)".  Change
  the assert to check for is_xfs or XFS_FORCED_SHUTDOWN.

Merge of cxfs-f:irix:15285a created by lord on 05/12/99
  Clean up XFS code so that cxfs can use more of it for
  unwritten extent conversion.
  This is part 1 of 2 so that it can be merged into the
  'pre-merge' tree.
  Change the unwritten extent conversion code used
  to pass off work from the iodone function to xfsc
  so that cxfs can use it too.

Revision 1.268 / (download) - annotate - [select for diffs], Thu May 13 15:53:16 1999 UTC (18 years, 5 months ago) by lhd
Branch: MAIN
Changes since 1.267: +17 -2 lines
Diff to previous 1.267 (unified)

Call xfs_zero_eof from xfs_inval_cached_pages if offset of direct write is beyond EOF.

Revision 1.267 / (download) - annotate - [select for diffs], Tue Apr 27 18:11:47 1999 UTC (18 years, 6 months ago) by ethan
Branch: MAIN
Changes since 1.266: +2 -2 lines
Diff to previous 1.266 (unified)

bring stop offsets into sync between buffer and page caches
bring stop offsets into sync between buffer and page caches

Revision 1.266 / (download) - annotate - [select for diffs], Fri Feb 26 01:27:32 1999 UTC (18 years, 8 months ago) by overby
Branch: MAIN
Changes since 1.265: +52 -55 lines
Diff to previous 1.265 (unified)

Fix the handling of an error case in xfs_write_file.  When there is an
error copying user data to the buffer, the inode was not being
properly cleaned up: the gap list was left with a list on it and the
file size was not updated to represent what data was successfully
written to it.

Revision 1.265 / (download) - annotate - [select for diffs], Thu Feb 4 01:28:30 1999 UTC (18 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.264: +6 -2 lines
Diff to previous 1.264 (unified)

Change includes for v2 directory support.
Fix a compiler warning.

Revision 1.264 / (download) - annotate - [select for diffs], Tue Dec 22 20:11:56 1998 UTC (18 years, 10 months ago) by bdr
Branch: MAIN
Changes since 1.263: +9 -4 lines
Diff to previous 1.263 (unified)

Fix if tests in xfs_xfsd_list_evict() to close a logic hole that can
cause corruption of the xfsd_list.  Also fixed a race condition between
xfsd() and xfs_xfsd_list_evict().  This is the fix for PV 659587.

Revision 1.263 / (download) - annotate - [select for diffs], Fri Dec 4 21:44:23 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.262: +1 -0 lines
Diff to previous 1.262 (unified)

Fix a warning about unused arguments.

Revision 1.262 / (download) - annotate - [select for diffs], Thu Dec 3 23:25:10 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.261: +3 -3 lines
Diff to previous 1.261 (unified)

Fix the total argument to xfs_bmapi so it reflects the block
reservation gotten from xfs_trans_reserve.
pv: 648359

Revision 1.261 / (download) - annotate - [select for diffs], Wed Dec 2 01:19:22 1998 UTC (18 years, 10 months ago) by leedom
Branch: MAIN
Changes since 1.260: +12 -12 lines
Diff to previous 1.260 (unified)

Make vnmaps[] and uaccmap_array[] arrays in xfs_read() and xfs_write() be
constant dimension instead of dynamic arrays.  They were never intended to
be dynamic arrays but because of the use of the use of a local const int
dimension the compiler made those arrays dynamic ...

Revision 1.260 / (download) - annotate - [select for diffs], Wed Sep 23 03:51:44 1998 UTC (19 years, 1 month ago) by bbowen
Branch: MAIN
Changes since 1.259: +5 -3 lines
Diff to previous 1.259 (unified)

Fix some more data corruption woes in 593408

Revision 1.259 / (download) - annotate - [select for diffs], Fri Sep 11 20:52:28 1998 UTC (19 years, 1 month ago) by mduchene
Branch: MAIN
Changes since 1.258: +127 -3 lines
Diff to previous 1.258 (unified)

Fix a realtime problem which created extents of non-realtime
length resulting in a corrupted filesystem.

Revision 1.258 / (download) - annotate - [select for diffs], Thu Sep 10 22:24:51 1998 UTC (19 years, 1 month ago) by nrs
Branch: MAIN
Changes since 1.257: +339 -2 lines
Diff to previous 1.257 (unified)

478652 - Added xfs_xfsd_list_evict to purge xfsd_list of buffers for a file
being removed.  Also, modified xfsd to ignore markers xfs_xfsd_list_evict
puts into xfsd_list, and to not push buffers for xfs_inodes with 0 link
counts whose vnodes are going inactive (being removed).

Revision 1.257 / (download) - annotate - [select for diffs], Tue Jul 21 21:28:05 1998 UTC (19 years, 3 months ago) by bbowen
Branch: MAIN
Changes since 1.256: +1 -1 lines
Diff to previous 1.256 (unified)

621303 - fix xfs_is_nested_locking_enabled to work right for non-uthreads

Revision 1.256 / (download) - annotate - [select for diffs], Sun Jul 12 03:57:42 1998 UTC (19 years, 3 months ago) by bbowen
Branch: MAIN
Changes since 1.255: +975 -96 lines
Diff to previous 1.255 (unified)

566573 - add support for file i/o using recursively
mmapped buffers to the buffered read/write paths.

Revision 1.255 / (download) - annotate - [select for diffs], Thu May 28 20:38:15 1998 UTC (19 years, 5 months ago) by ram
Branch: MAIN
Changes since 1.254: +5 -3 lines
Diff to previous 1.254 (unified)

Add unwritten state changes back to some conditionals
to avoid unexpected transaction activity.

Revision 1.254 / (download) - annotate - [select for diffs], Tue May 26 19:09:54 1998 UTC (19 years, 5 months ago) by kayuri
Branch: MAIN
Changes since 1.253: +7 -2 lines
Diff to previous 1.253 (unified)

Removed buftrace from the error path in xfs_bwrite. It was referencing a buffer
that could have been reused.

Revision 1.253 / (download) - annotate - [select for diffs], Wed Apr 29 12:54:44 1998 UTC (19 years, 6 months ago) by ram
Branch: MAIN
Changes since 1.252: +568 -321 lines
Diff to previous 1.252 (unified)

Use unwritten extent flags when writing to holes w/ direct I/O.
Restructure xfs_diostrat().
pv: 548344
rv: kayuri@engr, lord@cray.com

Revision 1.252 / (download) - annotate - [select for diffs], Thu Apr 23 23:59:26 1998 UTC (19 years, 6 months ago) by kanoj
Branch: MAIN
Changes since 1.251: +48 -31 lines
Diff to previous 1.251 (unified)

pv: 590781, rv: kayuri@engr
Merge B_PRIO_BUF and B_GR_BUF. Implement the FPRIO functionality by
passing down the io priority down to lower layers in the proper
place in the buffer structure.

Revision 1.251 / (download) - annotate - [select for diffs], Fri Apr 10 16:42:38 1998 UTC (19 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.250: +5 -4 lines
Diff to previous 1.250 (unified)

Use cap_able_cred instead of checking against uid 0, also instead of
macro _CAP_CRABLE.
pv: 586451 rv: bitbug@engr

Revision 1.250 / (download) - annotate - [select for diffs], Tue Apr 7 21:45:55 1998 UTC (19 years, 6 months ago) by ram
Branch: MAIN
Changes since 1.249: +6 -4 lines
Diff to previous 1.249 (unified)

Fix locking in xfs_strat_comp and clear of B_HOLD in
xfs_write_file. rv: mostek@cray.com
pv: 583296,584113

Revision 1.249 / (download) - annotate - [select for diffs], Wed Apr 1 18:13:49 1998 UTC (19 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.248: +3 -3 lines
Diff to previous 1.248 (unified)

rv: ram@cray.com
pv: 585904
 Fix clearing of setuid for root writing to setuid files.

Revision 1.248 / (download) - annotate - [select for diffs], Sat Mar 28 13:02:48 1998 UTC (19 years, 7 months ago) by kcm
Branch: MAIN
Changes since 1.247: +2 -2 lines
Diff to previous 1.247 (unified)

Use VENF_LOCKING flag in xfs_vop_readbuf for mandatory lock check.
pv: 584905
rv: lord@sdiv.cray.com

Revision 1.247 / (download) - annotate - [select for diffs], Fri Mar 27 19:53:55 1998 UTC (19 years, 7 months ago) by markc
Branch: MAIN
Changes since 1.246: +19 -19 lines
Diff to previous 1.246 (unified)

rv: jtk@cray.com,ram@cray.com
pv: 583395

Clean up casts and various bugs in xfs_strat_write_*_trace routines
so that tracing information loaded into trace buffer is in sync
with trace printing routines.

Revision 1.246 / (download) - annotate - [select for diffs], Fri Mar 27 15:19:44 1998 UTC (19 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.245: +4 -2 lines
Diff to previous 1.245 (unified)

rv: doucette@engr
pv: 571441
Modify check in write path for setgid bit files so that it does not
 commit a transaction for writes to files using mandatory file locking
which overload the setgid bit.

Revision 1.245 / (download) - annotate - [select for diffs], Tue Mar 24 22:28:53 1998 UTC (19 years, 7 months ago) by kanoj
Branch: MAIN
Changes since 1.244: +39 -24 lines
Diff to previous 1.244 (unified)

pv: 578503, rv: kayuri@engr
Provide some intelligence to xfs_diordwr to figure out whether grio is
config'ed into the kernel or not. If not, and the user is asking for
priority io, pass the prio bit down to the driver in the buffer flags.
If grio is config'ed in, use the same rules as grio uses to set the
buffer flags.

Revision 1.244 / (download) - annotate - [select for diffs], Sat Mar 21 00:15:23 1998 UTC (19 years, 7 months ago) by rcc
Branch: MAIN
Changes since 1.243: +44 -44 lines
Diff to previous 1.243 (unified)

dsync write fixes.  pv: 562589,578505  rv: doucette@engr

Revision 1.243 / (download) - annotate - [select for diffs], Fri Mar 20 21:41:50 1998 UTC (19 years, 7 months ago) by kcm
Branch: MAIN
Changes since 1.242: +6 -4 lines
Diff to previous 1.242 (unified)

Correct DM_EVENT_NOSPACE event type.
pv: 570037
rv: kfr@cray.com

Revision 1.242 / (download) - annotate - [select for diffs], Fri Feb 27 18:12:12 1998 UTC (19 years, 8 months ago) by rm
Branch: MAIN
Changes since 1.241: +86 -75 lines
Diff to previous 1.241 (unified)

Allow xfs_strat_read() to assemble a buffer from chunkread() with
mixed states.

Revision 1.241 / (download) - annotate - [select for diffs], Fri Feb 20 23:09:34 1998 UTC (19 years, 8 months ago) by rm
Branch: MAIN
Changes since 1.240: +470 -72 lines
Diff to previous 1.240 (unified)

Implement unwritten extent flagging.
rv: doucette@engr, rcc@engr, earsh@engr, kayuri@engr
pv: 705217

Revision 1.240 / (download) - annotate - [select for diffs], Wed Jan 28 21:38:34 1998 UTC (19 years, 9 months ago) by pj
Branch: MAIN
Changes since 1.239: +16 -3 lines
Diff to previous 1.239 (unified)

pv 562664 rv kayuri@engr, nar@engr
If read request coming from page fault originating in multithreaded
process do a trylock on the I/O lock instead of just going for it.
return EAGAIN on failure to get lock.

Revision 1.239 / (download) - annotate - [select for diffs], Tue Jan 27 00:26:54 1998 UTC (19 years, 9 months ago) by kayuri
Branch: MAIN
Changes since 1.238: +47 -2 lines
Diff to previous 1.238 (unified)

rv: doucette@engr, lord@cray.com
pv: 559941
This fixes a data corruption bug that occurs using mmapped files on a striped
xlv volume where the stripe unit size is not a multiple of the page size.
The file has been mapped MAP_SHARED|MAP_AUTOGROW. Basically, extended
xfs_zero_eof() to handle the initialization of pages that are partially
allocated and partially sit on a hole in the file when the file is being
extended and a hole is being created between the old end of file and the
new offset that we will start writing from.

Revision 1.238 / (download) - annotate - [select for diffs], Sun Jan 18 09:05:35 1998 UTC (19 years, 9 months ago) by rcc
Branch: MAIN
Changes since 1.237: +84 -16 lines
Diff to previous 1.237 (unified)

speed up IO_DSYNC writes and make IO_DSYNC appends safe.
pv: 555963,562589  rv: lord@cray

Revision 1.237 / (download) - annotate - [select for diffs], Tue Jan 13 19:20:34 1998 UTC (19 years, 9 months ago) by kayuri
Branch: MAIN
Changes since 1.236: +3 -2 lines
Diff to previous 1.236 (unified)

rv: doucette@engr
pv: 555936
In xfs_diordwr(), reset the b_flags after checking if this was a grio or
prio buffer, so as to do the necessary cleanup after the biophysio call.
Also added an assert to ensure that B_MAPPED is not set.

Revision 1.236 / (download) - annotate - [select for diffs], Thu Jan 8 04:54:20 1998 UTC (19 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.235: +3 -3 lines
Diff to previous 1.235 (unified)

Combine former DEBUG routine xfs_check_fsprivate with incore_delwri_relse.
The new routine incore_relse is in fs_bio.c.
It runs on all shutdown unmounts, and kills all buffers associated
with the filesystem device.
pv: 538827
rv: kayuri@engr

Revision 1.235 / (download) - annotate - [select for diffs], Thu Jan 8 04:48:27 1998 UTC (19 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.234: +39 -4 lines
Diff to previous 1.234 (unified)

Add xfs_inval_cached_trace to trace (xrwtrc) calls to
xfs_inval_cached_pages.  In xfs_delalloc_cleanup, in the
case where we are blowing away an extent, make sure the
filesystem is shut down.
pv: 555734
rv: kayuri@engr

Revision 1.234 / (download) - annotate - [select for diffs], Wed Dec 10 03:13:11 1997 UTC (19 years, 10 months ago) by nigel
Branch: MAIN
Changes since 1.233: +3 -2 lines
Diff to previous 1.233 (unified)

Replace hard-code thread priorities with systune variables

Revision 1.233 / (download) - annotate - [select for diffs], Sun Oct 26 08:30:16 1997 UTC (20 years ago) by rcc
Branch: MAIN
Changes since 1.232: +9 -1 lines
Diff to previous 1.232 (unified)

539308 - panic the system if we try and force unmount the root
filesystem.  pv: 539308, rv: lord@cray

Revision 1.232 / (download) - annotate - [select for diffs], Mon Oct 6 14:47:34 1997 UTC (20 years ago) by kcm
Branch: MAIN
Changes since 1.231: +9 -26 lines
Diff to previous 1.231 (unified)

Correct VRWLOCK handling when DMAPI event generated.

Revision 1.231 / (download) - annotate - [select for diffs], Fri Sep 12 17:49:28 1997 UTC (20 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.230: +43 -12 lines
Diff to previous 1.230 (unified)

Add buffer targeting stuff. Make all the strategy calls use VOP_STRATEGY on
the spec vnode in the cellular case.

Revision 1.230 / (download) - annotate - [select for diffs], Tue Sep 9 14:28:45 1997 UTC (20 years, 1 month ago) by kcm
Branch: MAIN
Changes since 1.229: +62 -17 lines
Diff to previous 1.229 (unified)

Changes to reflect DMAPI upgrade to conform to the
X/Open XDSM document.

Revision 1.229 / (download) - annotate - [select for diffs], Thu Sep 4 02:36:36 1997 UTC (20 years, 1 month ago) by yohn
Branch: MAIN
Changes since 1.228: +2 -2 lines
Diff to previous 1.228 (unified)

uio_fp changed to its natural element -- struct file *

Revision 1.228 / (download) - annotate - [select for diffs], Wed Sep 3 22:43:47 1997 UTC (20 years, 1 month ago) by rcc
Branch: MAIN
Changes since 1.227: +20 -25 lines
Diff to previous 1.227 (unified)

521721 - merge b_flags and b_flags2 in buffer structure

Revision 1.227 / (download) - annotate - [select for diffs], Thu Aug 28 23:02:46 1997 UTC (20 years, 2 months ago) by kayuri
Branch: MAIN
Changes since 1.226: +57 -23 lines
Diff to previous 1.226 (unified)

Optimized the read path. We used to grab the i_ilock in exclusive mode to
protect the readahead state. Changed this so that the readahead state is
protected by its own mutex. Consequently, in most cases we just need to hold
the ilock in SHARED mode around the xfs_bmapi call. All routines that call
xfs_iomap_read(), were modified to grab the ilock in SHARED mode also.
(bug 516806).

Revision 1.226 / (download) - annotate - [select for diffs], Wed Aug 20 01:29:41 1997 UTC (20 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.225: +2 -2 lines
Diff to previous 1.225 (unified)

Avoid a division by using a mask instead.

Revision 1.225 / (download) - annotate - [select for diffs], Wed Aug 13 00:17:27 1997 UTC (20 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.224: +3 -2 lines
Diff to previous 1.224 (unified)

Don't clobber real error with EIO in xfs_read_buf.

Revision 1.224 / (download) - annotate - [select for diffs], Tue Aug 12 23:31:13 1997 UTC (20 years, 2 months ago) by rcc
Branch: MAIN
Changes since 1.223: +21 -18 lines
Diff to previous 1.223 (unified)

add XFS_CORRUPT_INCORE handling to force-unmount path and cope with
EFSCORRUPTED error codes returned by xfs_iflush.  fix up some comments.

Revision 1.223 / (download) - annotate - [select for diffs], Tue Aug 12 22:07:43 1997 UTC (20 years, 2 months ago) by rcc
Branch: MAIN
Changes since 1.222: +7 -9 lines
Diff to previous 1.222 (unified)

turn on out-of-order hole-filling for NFS2

Revision 1.222 / (download) - annotate - [select for diffs], Sat Aug 9 01:30:42 1997 UTC (20 years, 2 months ago) by rcc
Branch: MAIN
Changes since 1.221: +5 -3 lines
Diff to previous 1.221 (unified)

turn off readahead for NFSv2 fast-path

Revision 1.221 / (download) - annotate - [select for diffs], Fri Aug 8 22:05:34 1997 UTC (20 years, 2 months ago) by kayuri
Branch: MAIN
Changes since 1.220: +8 -8 lines
Diff to previous 1.220 (unified)

Fixed a bug in the read path where we were not passing the correct type
for the read iosize down to xfs_retrieved(). Reading 4G or larger in
one read system call was failing (bug 512942).

Revision 1.220 / (download) - annotate - [select for diffs], Wed Aug 6 17:33:17 1997 UTC (20 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.219: +6 -7 lines
Diff to previous 1.219 (unified)

Pass device number into getphysbuf call for buffer device hashing

Revision 1.219 / (download) - annotate - [select for diffs], Sat Aug 2 02:16:42 1997 UTC (20 years, 3 months ago) by kostadis
Branch: MAIN
Changes since 1.218: +2 -2 lines
Diff to previous 1.218 (unified)

Removed reference to KT_PRMPT.

Revision 1.218 / (download) - annotate - [select for diffs], Fri Aug 1 22:22:52 1997 UTC (20 years, 3 months ago) by rcc
Branch: MAIN
Changes since 1.217: +2 -2 lines
Diff to previous 1.217 (unified)

513130 - make vop readbuf not crash with imon

Revision 1.217 / (download) - annotate - [select for diffs], Mon Jul 28 21:56:52 1997 UTC (20 years, 3 months ago) by pjr
Branch: MAIN
Changes since 1.216: +16 -1 lines
Diff to previous 1.216 (unified)

a couple comments

Revision 1.216 / (download) - annotate - [select for diffs], Fri Jul 25 08:17:42 1997 UTC (20 years, 3 months ago) by rcc
Branch: MAIN
Changes since 1.215: +125 -8 lines
Diff to previous 1.215 (unified)

412713,498973,508160 - put in XFS VOP_READBUF code to support NFS
read copy-avoidance

Revision 1.215 / (download) - annotate - [select for diffs], Fri Jul 18 13:01:32 1997 UTC (20 years, 3 months ago) by steiner
Branch: MAIN
Changes since 1.214: +2 -2 lines
Diff to previous 1.214 (unified)

Make remapf call optional on VOP_SETHOLE.

Revision 1.214 / (download) - annotate - [select for diffs], Tue Jul 15 18:00:22 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.213: +32 -1 lines
Diff to previous 1.213 (unified)

In xfs_write_file, retry a few times if xfs_iomap_write fails with
ENOSPC.  First flush the file to disk, then try IO_SYNC, then try
syncing the whole filesystem.

Revision 1.213 / (download) - annotate - [select for diffs], Thu Jul 10 17:17:38 1997 UTC (20 years, 3 months ago) by kayuri
Branch: MAIN
Changes since 1.212: +39 -21 lines
Diff to previous 1.212 (unified)

Fixed a deadlock between holding a buffer locked and trying to grab the ilock
in exclusive mode in xfs_write_file() while another process (xfsd) is holding
the ilock in exclusive mode and calling into the buffer cache to grab an agfl
buffer to do a space allocation. The buffer that the xfsd process is trying
to get has been reused by the above write process so we are hopelessly
deadlocked. Fixed this by releasing the buffer in xfs_write_file before getting
the ilock to update the file size. For IO_SYNC writes, the new value of di_size
will be logged in the synchronous transaction in xfs_write(). For B_DELWRI
writes it will either get logged as part of the allocation in the
xfs_strat_write() or when the inode is flushed to disk. (bug 504578).

Revision 1.212 / (download) - annotate - [select for diffs], Tue Jul 1 19:02:28 1997 UTC (20 years, 4 months ago) by kayuri
Branch: MAIN
Changes since 1.211: +13 -6 lines
Diff to previous 1.211 (unified)

There was a bug in xfs_diostrat() where we could return less than the requested
io read size if the file is being accessed concurrently by readers and writers
and the writer is extending the file. Now we hold the ilock in shared mode
before doing the check against di_size. (bug 504222).

Revision 1.211 / (download) - annotate - [select for diffs], Mon Jun 30 23:19:43 1997 UTC (20 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.210: +7 -7 lines
Diff to previous 1.210 (unified)

Get space reservations from xfs_trans_space.h macros.

Revision 1.210 / (download) - annotate - [select for diffs], Wed Jun 11 14:01:19 1997 UTC (20 years, 4 months ago) by steiner
Branch: MAIN
Changes since 1.209: +5 -22 lines
Diff to previous 1.209 (unified)

Add vnode pcache VOPs required for CELLs.

Revision 1.209 / (download) - annotate - [select for diffs], Fri May 23 23:22:57 1997 UTC (20 years, 5 months ago) by rcc
Branch: MAIN
Changes since 1.208: +68 -84 lines
Diff to previous 1.208 (unified)

492719 - NFS/XFS hole-filling code was creating too many bmaps.  Also,
misc. code cleanup.

Revision 1.208 / (download) - annotate - [select for diffs], Sat May 10 00:58:27 1997 UTC (20 years, 5 months ago) by rcc
Branch: MAIN
Changes since 1.207: +173 -48 lines
Diff to previous 1.207 (unified)

480145,478290 - change the I/O path to fill in writes beyond EOF
for nfs3 if the writes are within a certain distance.  maintains
the maximum i/o size for calculating the last possible byte correctly
when the per-inode i/o size changes.  also makes nfs3 use the inode
reference cache.

Revision 1.207 / (download) - annotate - [select for diffs], Sat May 3 02:12:09 1997 UTC (20 years, 5 months ago) by sfc
Branch: MAIN
Changes since 1.206: +4 -2 lines
Diff to previous 1.206 (unified)

Double the size of the pdflush, bdflush and xfsd stacks - I debugged a crash
today where pdflush had gotten a stack overflow and clobbered various data.
Ray Chen and Doug Doucette advise doubling the stack size of all three of
these sthreads, as prior to the extension stack page being implemented
for kernel stacks, overflows were fairly common from these daemons

Revision 1.206 / (download) - annotate - [select for diffs], Sat May 3 00:45:27 1997 UTC (20 years, 5 months ago) by pjr
Branch: MAIN
Changes since 1.205: +4 -3 lines
Diff to previous 1.205 (unified)

fix to reclock() bug #461449: add a  new vrwock_t parameter to VOP_FRLOCK, fs_checklock, fs_cleanlock, and a INOLOCK_READ flag to reclock, telling reclock whether to unlock a read lock or a write lock when going to sleep.  Added a VRWLOCK_NONE define to the vrwlock_t enum which is a way of passing through VOP_FRLOCK, etc. that no lock is currently held.

Revision 1.205 / (download) - annotate - [select for diffs], Wed Apr 30 22:51:19 1997 UTC (20 years, 6 months ago) by sup
Branch: MAIN
Changes since 1.204: +79 -71 lines
Diff to previous 1.204 (unified)

Don't call xfs_b*write for userdata. We don't care about stopping those
writes in most cases, and we can trap them in the strategy routine anyway.
More error handling changes.

Revision 1.204 / (download) - annotate - [select for diffs], Wed Apr 9 22:12:49 1997 UTC (20 years, 6 months ago) by kanoj
Branch: MAIN
Changes since 1.203: +6 -7 lines
Diff to previous 1.203 (unified)

Fix bug whereby the b_edev for RT files was not being set properly for
non p/grio direct io access. Bug 478773.

Revision 1.203 / (download) - annotate - [select for diffs], Sun Apr 6 03:02:23 1997 UTC (20 years, 6 months ago) by sup
Branch: MAIN
Changes since 1.202: +24 -32 lines
Diff to previous 1.202 (unified)

Clear up some xfs_bioerror vs. xfs_bioerror_relse issues.
Also be conservative and don't mark a buffer B_ERROR unless the
caller is biowaiting for possible errors.

Revision 1.202 / (download) - annotate - [select for diffs], Mon Mar 31 23:50:20 1997 UTC (20 years, 7 months ago) by sup
Branch: MAIN
Changes since 1.201: +17 -11 lines
Diff to previous 1.201 (unified)

Some debug code to catch an error handling problem noticed.
Also some minor modification in the way we flag bufs with errors.

Revision 1.201 / (download) - annotate - [select for diffs], Sat Mar 29 03:16:07 1997 UTC (20 years, 7 months ago) by sup
Branch: MAIN
Changes since 1.200: +1 -3 lines
Diff to previous 1.200 (unified)

Call xfs_trans_cancel with correct flags

Revision 1.200 / (download) - annotate - [select for diffs], Fri Mar 28 01:54:52 1997 UTC (20 years, 7 months ago) by sup
Branch: MAIN
Changes since 1.199: +151 -73 lines
Diff to previous 1.199 (unified)

disk error handling changes

Revision 1.199 / (download) - annotate - [select for diffs], Thu Mar 27 01:34:07 1997 UTC (20 years, 7 months ago) by rcc
Branch: MAIN
Changes since 1.198: +153 -23 lines
Diff to previous 1.198 (unified)

474299 - make i/o sizes per-inode values that can be set by callers
of xfs_read/xfs_write through ioflag and fields in the uio struct

Revision 1.198 / (download) - annotate - [select for diffs], Sat Mar 22 01:08:00 1997 UTC (20 years, 7 months ago) by rcc
Branch: MAIN
Changes since 1.197: +4 -1 lines
Diff to previous 1.197 (unified)

341879 - change I/O path to update i_update_size as well as i_update_core
when changing the size outside of a transaction

Revision 1.197 / (download) - annotate - [select for diffs], Thu Mar 20 23:55:03 1997 UTC (20 years, 7 months ago) by singal
Branch: MAIN
Changes since 1.196: +2 -6 lines
Diff to previous 1.196 (unified)

Use xfs_io_is_guaranteed instead of xfs_fp_to_stream.

Revision 1.196 / (download) - annotate - [select for diffs], Fri Mar 14 00:49:55 1997 UTC (20 years, 7 months ago) by singal
Branch: MAIN
Changes since 1.195: +22 -20 lines
Diff to previous 1.195 (unified)

Chnages for 2-level GRIO I/O scheduling.

Revision 1.195 / (download) - annotate - [select for diffs], Sat Mar 8 02:33:59 1997 UTC (20 years, 7 months ago) by singal
Branch: MAIN
Changes since 1.194: +18 -25 lines
Diff to previous 1.194 (unified)

Changes to make GRIO scheduling based on the fp FPRIORITY flag.
Also removed some PRIO debug stuff.

Revision 1.194 / (download) - annotate - [select for diffs], Fri Feb 21 04:31:46 1997 UTC (20 years, 8 months ago) by sup
Branch: MAIN
Changes since 1.193: +19 -16 lines
Diff to previous 1.193 (unified)

Take xfs_rw.c out of the simulator. Sim doesn't care about error
recovery stuff, and it isn't worth it to try to get it to work
right. See also #464071.

Revision 1.193 / (download) - annotate - [select for diffs], Mon Jan 27 22:05:05 1997 UTC (20 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.192: +21 -21 lines
Diff to previous 1.192 (unified)

Add to simulation, with most of it ifdef'ed out, for error recovery work.

Revision 1.192 / (download) - annotate - [select for diffs], Sat Jan 25 02:55:40 1997 UTC (20 years, 9 months ago) by sup
Branch: MAIN
Changes since 1.191: +282 -52 lines
Diff to previous 1.191 (unified)

First cut of XFS I/O error handling changes.

Revision 1.191 / (download) - annotate - [select for diffs], Thu Dec 19 20:17:12 1996 UTC (20 years, 10 months ago) by pjr
Branch: MAIN
Changes since 1.190: +15 -9 lines
Diff to previous 1.190 (unified)

checking for mandatory locks done with VENF_LOCKING and VFRLOCKS vnode
flags instead of MANDLOCK macro

Revision 1.190 / (download) - annotate - [select for diffs], Thu Dec 12 02:32:19 1996 UTC (20 years, 10 months ago) by sup
Branch: MAIN
Changes since 1.189: +18 -30 lines
Diff to previous 1.189 (unified)

441748 : Race between i_queued_bufs and bdstrat.
Fix was to decrement the queued_bufs counter before bdstrat().

Revision 1.189 / (download) - annotate - [select for diffs], Sat Nov 16 05:59:05 1996 UTC (20 years, 11 months ago) by sup
Branch: MAIN
Changes since 1.188: +30 -1 lines
Diff to previous 1.188 (unified)

Merge in VCE_AVOIDANCE fix from ficus:

Revision 1.188 / (download) - annotate - [select for diffs], Tue Nov 12 19:30:56 1996 UTC (20 years, 11 months ago) by pjr
Branch: MAIN
Changes since 1.187: +6 -5 lines
Diff to previous 1.187 (unified)

use fs_checklock instead of chklock

Revision 1.178.1.7 / (download) - annotate - [select for diffs], Thu Oct 31 01:59:14 1996 UTC (21 years ago) by kayuri
CVS Tags: DELETE-1
Changes since 1.178.1.6: +9 -1 lines
Diff to previous 1.178.1.6 (unified) next main 1.179 (unified)

Changed xfs_zero_eof() to call biozero() instead of bp_mapin()/bzero() when
vce_avoidance is set. This fixes the xfsdump coredumps where a word of
mapped data for the arena (usarena code) was getting zeroed out randomly.

Revision 1.187 / (download) - annotate - [select for diffs], Mon Oct 21 22:44:05 1996 UTC (21 years ago) by montep
Branch: MAIN
Changes since 1.186: +8 -10 lines
Diff to previous 1.186 (unified)

merge ficus into kudzu (1.178.1.3 ... 1.178.1.6)
> ----------------------------
> revision 1.178.1.6
> date: 1996/10/18 03:51:36;  author: nawaf;  state: Exp;  lines: +2 -2
> Adjust sthread priorities
> ----------------------------
> revision 1.178.1.5
> date: 1996/10/14 16:55:38;  author: singal;  state: Exp;  lines: +5 -5
> FPRIORITY flag is now file based.
> ----------------------------
> revision 1.178.1.4
> date: 1996/09/23 05:26:44;  author: singal;  state: Exp;  lines: +6 -6
> Misc PRIO cleanup.
> =============================================================================

Revision 1.178.1.6 / (download) - annotate - [select for diffs], Fri Oct 18 03:51:36 1996 UTC (21 years ago) by nawaf
Changes since 1.178.1.5: +2 -2 lines
Diff to previous 1.178.1.5 (unified)

Adjust sthread priorities

Revision 1.186 / (download) - annotate - [select for diffs], Tue Oct 15 02:33:35 1996 UTC (21 years ago) by pjr
Branch: MAIN
Changes since 1.185: +5 -3 lines
Diff to previous 1.185 (unified)

fix EFBIG error case in xfs_write to goto out instead of returning

Revision 1.178.1.5 / (download) - annotate - [select for diffs], Mon Oct 14 16:55:38 1996 UTC (21 years ago) by singal
Changes since 1.178.1.4: +5 -5 lines
Diff to previous 1.178.1.4 (unified)

FPRIORITY flag is now file based.

Revision 1.185 / (download) - annotate - [select for diffs], Sat Oct 12 02:00:28 1996 UTC (21 years ago) by pjr
Branch: MAIN
Changes since 1.184: +53 -21 lines
Diff to previous 1.184 (unified)

Changed xfs_zero_eof() to call biozero() instead of bp_mapin()/bzero() when
vce_avoidance is set. This fixes the xfsdump coredumps where a word of
mapped data for the arena (usarena code) was getting zeroed out randomly.
file system implementations of read and write vops now by default assume they must do locking themselves - i.e., they assume that VOP_RWLOCK/VOP_RWUNLOCK hasn't been done by the layer above.  This is unless the IO_ISLOCKED flag is set in the ioflag arg, in which case it assumes the layer above did call VOP_RWLOCK/VOP_RWUNLOCK.

Revision 1.185 / (download) - annotate - [select for diffs], Sat Oct 12 02:00:28 1996 UTC (21 years ago) by pjr
Branch: MAIN
Changes since 1.184: +53 -21 lines
Diff to previous 1.184 (unified)

Changed xfs_zero_eof() to call biozero() instead of bp_mapin()/bzero() when
vce_avoidance is set. This fixes the xfsdump coredumps where a word of
mapped data for the arena (usarena code) was getting zeroed out randomly.
file system implementations of read and write vops now by default assume they must do locking themselves - i.e., they assume that VOP_RWLOCK/VOP_RWUNLOCK hasn't been done by the layer above.  This is unless the IO_ISLOCKED flag is set in the ioflag arg, in which case it assumes the layer above did call VOP_RWLOCK/VOP_RWUNLOCK.

Revision 1.184 / (download) - annotate - [select for diffs], Mon Sep 30 23:48:48 1996 UTC (21 years, 1 month ago) by kayuri
Branch: MAIN
Changes since 1.183: +21 -1 lines
Diff to previous 1.183 (unified)

If the write request will result in new blocks being allocated at the
allocation end of file, then grow the allocation request upto a stripe
unit boundary for files larger than 512K.

Revision 1.178.1.4 / (download) - annotate - [select for diffs], Mon Sep 23 05:26:44 1996 UTC (21 years, 1 month ago) by singal
Changes since 1.178.1.3: +6 -6 lines
Diff to previous 1.178.1.3 (unified)

Misc PRIO cleanup.

Revision 1.183 / (download) - annotate - [select for diffs], Mon Sep 23 02:46:40 1996 UTC (21 years, 1 month ago) by montep
Branch: MAIN
Changes since 1.182: +89 -5 lines
Diff to previous 1.182 (unified)

merge ficus into kudzu (1.178.1.1 ... 1.178.1.3)
> ----------------------------
> revision 1.178.1.3
> date: 1996/09/14 00:47:27;  author: singal;  state: Exp;  lines: +33 -1
> Added priority I/O scheduling support.
> ----------------------------
> revision 1.178.1.2
> date: 1996/09/10 23:24:05;  author: ajs;  state: Exp;  lines: +57 -5
> 414919 Go back and set the P_HOLE bit in xfs_zero_last_block()
> on the page containing the eof if there is a hole after the eof.
> This way we catch future stores to the page.
> =============================================================================

Revision 1.182 / (download) - annotate - [select for diffs], Tue Sep 17 16:00:22 1996 UTC (21 years, 1 month ago) by henseler
Branch: MAIN
Changes since 1.181: +2 -2 lines
Diff to previous 1.181 (unified)

vfile restructure

Revision 1.178.1.3 / (download) - annotate - [select for diffs], Sat Sep 14 00:47:27 1996 UTC (21 years, 1 month ago) by singal
Changes since 1.178.1.2: +33 -1 lines
Diff to previous 1.178.1.2 (unified)

Added priority I/O scheduling support.

Revision 1.178.1.2 / (download) - annotate - [select for diffs], Tue Sep 10 23:24:05 1996 UTC (21 years, 1 month ago) by ajs
Changes since 1.178.1.1: +57 -5 lines
Diff to previous 1.178.1.1 (unified)

414919 Go back and set the P_HOLE bit in xfs_zero_last_block()
on the page containing the eof if there is a hole after the eof.
This way we catch future stores to the page.

Revision 1.181 / (download) - annotate - [select for diffs], Mon Sep 9 04:34:02 1996 UTC (21 years, 1 month ago) by montep
Branch: MAIN
Changes since 1.180: +11 -11 lines
Diff to previous 1.180 (unified)

merge ficus into kudzu (1.178 ... 1.178.1.1)
> ----------------------------
> revision 1.178.1.1
> date: 1996/08/29 18:13:35;  author: doucette;  state: Exp;  lines: +11 -11
> In xfs_zero_eof, deal with a 0 current size, since xfs_igrow_start can
> now cause this (for preallocated blocks).
> Change name of xfs_dio_cache_inval to xfs_inval_cached_pages, and make
> global, so it can be called by preallocation routines.
> =============================================================================

Revision 1.178.1.1 / (download) - annotate - [select for diffs], Thu Aug 29 18:13:35 1996 UTC (21 years, 2 months ago) by doucette
Changes since 1.178: +11 -11 lines
Diff to previous 1.178 (unified)

In xfs_zero_eof, deal with a 0 current size, since xfs_igrow_start can
now cause this (for preallocated blocks).
Change name of xfs_dio_cache_inval to xfs_inval_cached_pages, and make
global, so it can be called by preallocation routines.

Revision 1.180 / (download) - annotate - [select for diffs], Fri Aug 16 04:06:31 1996 UTC (21 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.179: +1 -2 lines
Diff to previous 1.179 (unified)

408935 b_pid is gone

Revision 1.179 / (download) - annotate - [select for diffs], Fri Jul 19 20:42:04 1996 UTC (21 years, 3 months ago) by sfc
Branch: MAIN
Changes since 1.178: +2 -2 lines
Diff to previous 1.178 (unified)

Change buf struct b_proc to a pid_t.

Revision 1.178 / (download) - annotate - [select for diffs], Tue Jul 2 22:09:35 1996 UTC (21 years, 3 months ago) by ajs
Branch: MAIN
Changes since 1.177: +8 -1 lines
Diff to previous 1.177 (unified)

Use new VREMAPPING flag around calls to remapf/pflushinvalvp.

Revision 1.177 / (download) - annotate - [select for diffs], Tue Jun 25 16:50:50 1996 UTC (21 years, 4 months ago) by sup
Branch: MAIN
Changes since 1.176: +2 -1 lines
Diff to previous 1.176 (unified)

use the correct flag to trans_cancel in diostrat.

Revision 1.176 / (download) - annotate - [select for diffs], Mon Jun 24 08:44:53 1996 UTC (21 years, 4 months ago) by sup
Branch: MAIN
Changes since 1.175: +15 -16 lines
Diff to previous 1.175 (unified)

xfs_qm_dqattach should return error.

Revision 1.175 / (download) - annotate - [select for diffs], Sun Jun 23 11:39:13 1996 UTC (21 years, 4 months ago) by sup
Branch: MAIN
Changes since 1.174: +6 -9 lines
Diff to previous 1.174 (unified)

We return error (ie. abort operation) when we encounter
an error in the quota system (eg. disk corruption) now.

Revision 1.174 / (download) - annotate - [select for diffs], Tue May 21 22:50:53 1996 UTC (21 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.173: +2 -2 lines
Diff to previous 1.173 (unified)

372806 Don't drop iolock in the RSYNC case of xfs_read().

Revision 1.173 / (download) - annotate - [select for diffs], Wed May 15 22:09:40 1996 UTC (21 years, 5 months ago) by sup
Branch: MAIN
Changes since 1.172: +80 -15 lines
Diff to previous 1.172 (unified)

disk quota changes.

Revision 1.172 / (download) - annotate - [select for diffs], Tue May 14 23:49:20 1996 UTC (21 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.171: +28 -14 lines
Diff to previous 1.171 (unified)

380202 Pass new pm pointer through from the incoming uio
to the bmapvals passed to the chunk interfaces.

Revision 1.171 / (download) - annotate - [select for diffs], Wed May 8 23:50:59 1996 UTC (21 years, 5 months ago) by olson
Branch: MAIN
Changes since 1.170: +2 -2 lines
Diff to previous 1.170 (unified)

change all #if _K64U64 => #if _MIPS_SIM == _ABI64 and equivalent.
The original meaning/intent of the _K64* and _K32* stuff has been getting more
and more ignored, and now it is just confusing.  #if _K32U32 and equivalent
is just gone, we have no machines like that since 5.3.  #if _K32U64||_K64U64
have the ifdefs removed, and code remaining, since it is always true.
#if _K32U64||_K32U32 usually changed to != _ABI64.  Some files have the
older longer _MIPS_SIM_ABI64 and similar shorted to _ABI64 and equivalent;
the compiler folks tell me this is preferred now and in the future, and
is what cc -show prints, so it is less confusing.

Revision 1.170 / (download) - annotate - [select for diffs], Mon Apr 29 23:04:05 1996 UTC (21 years, 6 months ago) by nawaf
Branch: MAIN
Changes since 1.169: +2 -2 lines
Diff to previous 1.169 (unified)

Invert the priority space, bigger numbers are better

Revision 1.169 / (download) - annotate - [select for diffs], Sun Apr 28 06:57:27 1996 UTC (21 years, 6 months ago) by benf
Branch: MAIN
Changes since 1.168: +1 -10 lines
Diff to previous 1.168 (unified)

remove all references to KLEGO_USE_JUNK_BUS and KLEGO_USE_JUNK_BUS_SCSI

Revision 1.168 / (download) - annotate - [select for diffs], Thu Apr 18 23:13:17 1996 UTC (21 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.167: +26 -4 lines
Diff to previous 1.167 (unified)

170982 Add code to xfs_strat_write() to handle non-block
aligned buffers.  These can occur when the buffer cache
pushes out individual pages and the block size is larger
than the page size.

Revision 1.167 / (download) - annotate - [select for diffs], Wed Apr 17 05:21:10 1996 UTC (21 years, 6 months ago) by nigel
Branch: MAIN
Changes since 1.166: +1 -2 lines
Diff to previous 1.166 (unified)

Turn kernel preemption on unconditionally, removing p_kpreempting,
preemptchk, PREEMPT and chkpreempt.

Revision 1.166 / (download) - annotate - [select for diffs], Mon Apr 1 22:49:40 1996 UTC (21 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.165: +190 -171 lines
Diff to previous 1.165 (unified)

Changes for vnodes with behaviors.

Revision 1.165 / (download) - annotate - [select for diffs], Sun Mar 24 02:25:31 1996 UTC (21 years, 7 months ago) by cheeser
Branch: MAIN
Changes since 1.164: +7 -1 lines
Diff to previous 1.164 (unified)

Changes needed to boot Lego kernel to single user mode using the junk bus SCSI and UART

Revision 1.164 / (download) - annotate - [select for diffs], Sat Mar 9 00:15:23 1996 UTC (21 years, 7 months ago) by pjr
Branch: MAIN
Changes since 1.163: +9 -9 lines
Diff to previous 1.163 (unified)

remove pvnode_t and related

Revision 1.163 / (download) - annotate - [select for diffs], Tue Mar 5 07:58:59 1996 UTC (21 years, 7 months ago) by limes
Branch: MAIN
Changes since 1.162: +3 -1 lines
Diff to previous 1.162 (unified)

fix some compiler messages

Revision 1.162 / (download) - annotate - [select for diffs], Wed Feb 21 05:00:36 1996 UTC (21 years, 8 months ago) by ack
Branch: MAIN
Changes since 1.161: +14 -6 lines
Diff to previous 1.161 (unified)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_rw.c,v
> ----------------------------
> revision 1.158
> date: 1996/02/14 23:54:09;  author: ajs;  state: Exp;  lines: +14 -6
> 348261 - Round end offset up to a page boundary in
> the call to pflushinvalvp() when invalidating cached
> data for direct I/O.
> =============================================================================

Revision 1.161 / (download) - annotate - [select for diffs], Fri Feb 16 21:37:36 1996 UTC (21 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.160: +3 -3 lines
Diff to previous 1.160 (unified)

Use XFS_ERROR macro where it was missing in several places.

Revision 1.160 / (download) - annotate - [select for diffs], Tue Jan 23 09:19:32 1996 UTC (21 years, 9 months ago) by ack
Branch: MAIN
Changes since 1.159: +9 -28 lines
Diff to previous 1.159 (unified)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_rw.c,v
> ----------------------------
> revision 1.157
> date: 1996/01/20 00:51:41;  author: doucette;  state: Exp;  lines: +9 -28
> Remove unused zone structures (xfs_strat_write_zone, xfs_bmap_zone,
> xfs_irec_zone).  Change the names of the XFS_ZONE_NBMAPS uses to
> something more reasonable since we're not using zones for this anymore.
> Don't start readahead when we see a read at offset 0.
> Cut the number of readaheads (in xfs_read_file) in small memory systems
> (bug 318607).
> =============================================================================

Revision 1.159 / (download) - annotate - [select for diffs], Fri Jan 5 03:57:07 1996 UTC (21 years, 9 months ago) by huy
Branch: MAIN
Changes since 1.158: +4 -4 lines
Diff to previous 1.158 (unified)

tidy up previous changes a bit.

Revision 1.158 / (download) - annotate - [select for diffs], Thu Dec 21 02:11:03 1995 UTC (21 years, 10 months ago) by huy
Branch: MAIN
Changes since 1.157: +9 -5 lines
Diff to previous 1.157 (unified)

convert xfs VOP calls to new syntax.

Revision 1.157 / (download) - annotate - [select for diffs], Mon Dec 4 02:10:10 1995 UTC (21 years, 10 months ago) by jwag
Branch: MAIN
Changes since 1.156: +4 -25 lines
Diff to previous 1.156 (unified)

xfsd's are now sthreads, initialized from xfs_init.

Revision 1.156 / (download) - annotate - [select for diffs], Thu Nov 9 04:16:15 1995 UTC (21 years, 11 months ago) by jwag
Branch: MAIN
Changes since 1.155: +10 -5 lines
Diff to previous 1.155 (unified)

changes for new VOP_READ/VOP_WRITE interface.

Revision 1.155 / (download) - annotate - [select for diffs], Tue Oct 24 07:44:34 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.154: +0 -0 lines
Diff to previous 1.154 (unified)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_rw.c,v
> ----------------------------
> revision 1.156
> date: 1995/10/13 16:11:33;  author: ajs;  state: Exp;  lines: +30 -20
> Put XFS tracing under ifdefs separate from DEBUG
> ----------------------------
> revision 1.155
> date: 1995/10/13 00:28:39;  author: doucette;  state: Exp;  lines: +1 -0
> Include sys/uuid.h since the uuid_t definition has been moved out
> of sys/types.h for DCE.
> =============================================================================

Revision 1.154 / (download) - annotate - [select for diffs], Tue Oct 17 08:20:20 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.153: +30 -19 lines
Diff to previous 1.153 (unified)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_rw.c,v
> ----------------------------
> revision 1.156
> date: 1995/10/13 16:11:33;  author: ajs;  state: Exp;  lines: +30 -20
> Put XFS tracing under ifdefs separate from DEBUG
> ----------------------------
> revision 1.155
> date: 1995/10/13 00:28:39;  author: doucette;  state: Exp;  lines: +1 -0
> Include sys/uuid.h since the uuid_t definition has been moved out
> of sys/types.h for DCE.
> =============================================================================

Revision 1.153 / (download) - annotate - [select for diffs], Tue Oct 3 04:19:41 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.152: +6 -4 lines
Diff to previous 1.152 (unified)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_rw.c,v
> ----------------------------
> revision 1.154
> date: 1995/09/27 18:02:27;  author: doucette;  state: Exp;  lines: +7 -5
> Fix asserts in xfs_read and xfs_write that check for iolock being held.
> Now that xfs_rwlock is a nop for directories we have to deal with
> that case in the asserts.
> =============================================================================

Revision 1.152 / (download) - annotate - [select for diffs], Thu Sep 7 07:30:09 1995 UTC (22 years, 1 month ago) by ack
Branch: MAIN
Changes since 1.151: +2 -2 lines
Diff to previous 1.151 (unified)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_rw.c,v
> ----------------------------
> revision 1.153
> date: 1995/09/05 00:45:56;  author: doucette;  state: Exp;  lines: +2 -2
> Use curprocp instead of u.u_procp, curprocp->p_cred instead of
> u.u_cred, since kthreads don't have a u.
> =============================================================================

Revision 1.151 / (download) - annotate - [select for diffs], Sat Sep 2 00:22:05 1995 UTC (22 years, 2 months ago) by jwag
Branch: MAIN
Changes since 1.150: +1 -2 lines
Diff to previous 1.150 (unified)

remove inclusion of region.h

Revision 1.150 / (download) - annotate - [select for diffs], Mon Aug 28 06:50:32 1995 UTC (22 years, 2 months ago) by ack
Branch: MAIN
Changes since 1.149: +11 -6 lines
Diff to previous 1.149 (unified)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_rw.c,v
> ----------------------------
> revision 1.152
> date: 1995/08/25 21:53:17;  author: yohn;  state: Exp;  lines: +4 -4
> converted mutex_t to lock_t
> ----------------------------
> revision 1.151
> date: 1995/08/16 23:49:20;  author: doucette;  state: Exp;  lines: +8 -3
> Ifdef out some global data used only in DEBUG kernels but defined
> in all kernels.
> =============================================================================

Revision 1.149 / (download) - annotate - [select for diffs], Wed Aug 16 23:21:19 1995 UTC (22 years, 2 months ago) by nawaf
Branch: MAIN
Changes since 1.148: +82 -16 lines
Diff to previous 1.148 (unified)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_rw.c,v
> ----------------------------
> revision 1.150
> date: 1995/08/16 05:46:35;  author: doucette;  state: Exp;  lines: +13 -15
> Add includes of xfs_macros.h, xfs_bit.h.
> Change XFS_FSB_TO_DB by removing the mp argument, get that value out
> of the inode instead.
> ----------------------------
> revision 1.149
> date: 1995/08/11 20:09:44;  author: ajs;  state: Exp;  lines: +70 -2
> 280514 Adding page cache flusing calls to make direct
> I/O coherent with buffered I/O.
> =============================================================================

Revision 1.148 / (download) - annotate - [select for diffs], Wed Aug 2 08:16:15 1995 UTC (22 years, 3 months ago) by sshong
Branch: MAIN
Changes since 1.147: +0 -0 lines
Diff to previous 1.147 (unified)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_rw.c,v
> ----------------------------
> revision 1.148
> date: 1995/07/26 02:25:51;  author: ajs;  state: Exp;  lines: +1 -2
> 291741 - back out the last change
> ----------------------------
> revision 1.147
> date: 1995/07/25 17:18:54;  author: alexp;  state: Exp;  lines: +3 -2
> Fix to allow swap to avoid the maxdmasz limit (291741).
> =============================================================================

Revision 1.147 / (download) - annotate - [select for diffs], Tue Jul 25 06:22:48 1995 UTC (22 years, 3 months ago) by sshong
Branch: MAIN
Changes since 1.146: +13 -0 lines
Diff to previous 1.146 (unified)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_rw.c,v
> ----------------------------
> revision 1.146
> date: 1995/07/18 21:28:43;  author: ajs;  state: Exp;  lines: +14 -1
> 277646 Change xfs to use fewer xfsds on small
> memory systems.
> =============================================================================

Revision 1.146 / (download) - annotate - [select for diffs], Tue Jul 11 18:09:20 1995 UTC (22 years, 3 months ago) by sshong
Branch: MAIN
Changes since 1.145: +14 -8 lines
Diff to previous 1.145 (unified)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_rw.c,v
> ----------------------------
> revision 1.145
> date: 1995/07/07 22:31:30;  author: tap;  state: Exp;  lines: +14 -8
> fix bug in xfs_write - if xfs_diordwr() or xfs_write_file() return an error
> and the IO_SYNC flag is set, do not lose track of the error.
> fix bug in xfs_diostrat - if a direct I/O write operation is issued to the
> addresses of a file that have a currently pending delayed write, do not
> return ENOSPC.
> =============================================================================

Revision 1.145 / (download) - annotate - [select for diffs], Mon Jul 10 17:13:26 1995 UTC (22 years, 3 months ago) by len
Branch: MAIN
Changes since 1.144: +20 -6 lines
Diff to previous 1.144 (unified)

Reflect changes in [bc]devsw handling.

Revision 1.144 / (download) - annotate - [select for diffs], Sat Jun 17 04:10:02 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.143: +13 -5 lines
Diff to previous 1.143 (unified)

Allow callers using the IO_TRUSTEDDIO flag to do direct
I/O operations which are not aligned on filesystem block
boundaries.  This is for clients of XFS like Cachefs that
will ensure that they do not read back uninitialized data.

Revision 1.143 / (download) - annotate - [select for diffs], Mon Jun 12 15:42:05 1995 UTC (22 years, 4 months ago) by tap
Branch: MAIN
Changes since 1.142: +36 -15 lines
Diff to previous 1.142 (unified)

cleaned up the code in the XFS DIRECT I/O path. Added calls to the
CHECK_GRIO_TIMESTAMP() and INIT_GRIO_TIMESTAMP() macros to measure the
timing of GRIO requests.

Revision 1.142 / (download) - annotate - [select for diffs], Wed May 31 00:31:31 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.141: +6 -5 lines
Diff to previous 1.141 (unified)

280242 - Go back to requiring secondary cache line size memory
alignment for direct I/O.  Limit the maximum size to
ctob(maxdmasz - 1) for the case where the I/O sits across
maxdmasz pages.

Revision 1.141 / (download) - annotate - [select for diffs], Fri May 26 21:18:38 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.140: +33 -8 lines
Diff to previous 1.140 (unified)

268182 - Fix bug in the last fix for small sync
write performance.  I hadn't handled the case where
even the small write was split across multiple extents.

Revision 1.140 / (download) - annotate - [select for diffs], Mon May 22 23:49:28 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.139: +14 -5 lines
Diff to previous 1.139 (unified)

261926 - Allow multiple writers when doing direct I/O.

Revision 1.139 / (download) - annotate - [select for diffs], Wed May 17 02:54:57 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.138: +5 -1 lines
Diff to previous 1.138 (unified)

Fix compile warning from last checkin.

Revision 1.138 / (download) - annotate - [select for diffs], Wed May 17 02:48:41 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.137: +47 -1 lines
Diff to previous 1.137 (unified)

268729 - Clear the setuid and setgid
bits when a file is overwritten.

Revision 1.137 / (download) - annotate - [select for diffs], Thu May 11 20:00:08 1995 UTC (22 years, 5 months ago) by tap
Branch: MAIN
Changes since 1.136: +3 -2 lines
Diff to previous 1.136 (unified)

add code to support monitoring of more than 1 grio stream.

Revision 1.136 / (download) - annotate - [select for diffs], Thu May 11 01:23:20 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.135: +3 -3 lines
Diff to previous 1.135 (unified)

272139 - Change xFS to XFS

Revision 1.135 / (download) - annotate - [select for diffs], Tue May 9 23:59:14 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.134: +6 -3 lines
Diff to previous 1.134 (unified)

277203 Don't do a transaction to sync out the timestamp
for writes to swap files.

Revision 1.134 / (download) - annotate - [select for diffs], Tue May 9 21:21:51 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.133: +3 -3 lines
Diff to previous 1.133 (unified)

Add support for in-core and on-disk inodes with both data and
attribute forks, or just a data fork.  Change all the data structures
and macros used to manipulate the variable portion of the inode, to
support this feature.

Revision 1.133 / (download) - annotate - [select for diffs], Mon May 8 19:59:30 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.132: +3 -2 lines
Diff to previous 1.132 (unified)

Change include sequence as a result of directory/attribute code restructuring.

Revision 1.132 / (download) - annotate - [select for diffs], Mon May 8 16:31:29 1995 UTC (22 years, 5 months ago) by tap
Branch: MAIN
Changes since 1.131: +17 -2 lines
Diff to previous 1.131 (unified)

add calls in the xfs direct I/O path to allow monitoring of grio stream
performance.

Revision 1.131 / (download) - annotate - [select for diffs], Tue May 2 00:34:24 1995 UTC (22 years, 6 months ago) by yohn
Branch: MAIN
Changes since 1.130: +10 -10 lines
Diff to previous 1.130 (unified)

changed various lock_t and sema_t locks to mutex_t; changed bli_refcount
management to use atomicAddInt so xfs_bli_reflock spinlock could be
removed entirely

Revision 1.130 / (download) - annotate - [select for diffs], Mon May 1 17:54:51 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.129: +285 -2 lines
Diff to previous 1.129 (unified)

Add code for the write reference cache.  This is used
to accelerate NFS write performance.

Revision 1.129 / (download) - annotate - [select for diffs], Sat Apr 29 17:27:40 1995 UTC (22 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.128: +59 -53 lines
Diff to previous 1.128 (unified)

restructure code to work with the new version of grio.

Revision 1.128 / (download) - annotate - [select for diffs], Wed Apr 26 22:49:52 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.127: +119 -20 lines
Diff to previous 1.127 (unified)

Fixing up recovery from disk errors.

Revision 1.127 / (download) - annotate - [select for diffs], Mon Apr 24 22:30:38 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.126: +3 -2 lines
Diff to previous 1.126 (unified)

Fix a bug in the new code in xfs_iomap_write().  I
needed to back up one more block for the check I
was doing.

Revision 1.126 / (download) - annotate - [select for diffs], Mon Apr 24 21:30:43 1995 UTC (22 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.125: +37 -6 lines
Diff to previous 1.125 (unified)

fix for 274423. Change xfs_diostrat() to handle eof conditions where file
size is not a multiple of 512. Change xfs_diordwr() to return 0 rather
than EINVAL when trying to read from with file pointer at end-of-file.
Unlock the inode lock when calling xfs_trans_reserve() in xfs_diostrat()
so deadlock will not occur.

Revision 1.125 / (download) - annotate - [select for diffs], Sat Apr 22 04:28:48 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.124: +40 -24 lines
Diff to previous 1.124 (unified)

Fix xfs_iomap_write() so that it is sure to not create
delalloc blocks beyond the EOF that it will not cover
with a buffer.

Revision 1.124 / (download) - annotate - [select for diffs], Thu Apr 13 03:15:23 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.123: +229 -93 lines
Diff to previous 1.123 (unified)

First cut at disk error handling

Revision 1.123 / (download) - annotate - [select for diffs], Mon Apr 10 18:15:28 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (unified)

Change ctob back to ctob64 as it was supposed to be.

Revision 1.122 / (download) - annotate - [select for diffs], Mon Apr 10 03:53:22 1995 UTC (22 years, 6 months ago) by nawaf
Branch: MAIN
Changes since 1.121: +2 -2 lines
Diff to previous 1.121 (unified)

Change call of ctob64 to ctob

Revision 1.121 / (download) - annotate - [select for diffs], Sat Apr 8 03:24:16 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.120: +37 -8 lines
Diff to previous 1.120 (unified)

Improve the performance of small, sync writes by
doing far less I/O.

Revision 1.120 / (download) - annotate - [select for diffs], Sat Apr 1 06:04:59 1995 UTC (22 years, 7 months ago) by yohn
Branch: MAIN
Changes since 1.119: +11 -12 lines
Diff to previous 1.119 (unified)

xfsd_lock changed to a (spinning) mutex; xfsd_wait changed to sync-variable

Revision 1.119 / (download) - annotate - [select for diffs], Sat Apr 1 01:02:20 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.118: +2 -1 lines
Diff to previous 1.118 (unified)

Include sys/dmi.h and sys/dmi_kern.h instead of io/dmi/dmi_kern.h.

Revision 1.118 / (download) - annotate - [select for diffs], Fri Mar 31 20:05:48 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.117: +3 -0 lines
Diff to previous 1.117 (unified)

Add an #ident line.
Include xfs_dir.h before xfs_dinode.h since it now has a dependency.

Revision 1.117 / (download) - annotate - [select for diffs], Wed Mar 22 22:56:43 1995 UTC (22 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.116: +1 -1 lines
Diff to previous 1.116 (unified)

268327 - fix brain dead limit determination in xfs_write().

Revision 1.116 / (download) - annotate - [select for diffs], Wed Mar 22 00:11:46 1995 UTC (22 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.115: +9 -2 lines
Diff to previous 1.115 (unified)

fix for bug 267936. large writes to the realtime partition will fail if
where is a very small data partition.

Revision 1.115 / (download) - annotate - [select for diffs], Tue Mar 14 20:48:32 1995 UTC (22 years, 7 months ago) by jeffreyh
Branch: MAIN
Changes since 1.114: +29 -3 lines
Diff to previous 1.114 (unified)

add support for daya sync.

Revision 1.114 / (download) - annotate - [select for diffs], Thu Mar 9 04:04:49 1995 UTC (22 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.113: +169 -142 lines
Diff to previous 1.113 (unified)

Put the xfs_strat_write() locals back on the stack.
Also fast path xfs_write() to avoid the grio code when it
is unnecessary.

Revision 1.113 / (download) - annotate - [select for diffs], Thu Mar 2 02:02:27 1995 UTC (22 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.112: +44 -14 lines
Diff to previous 1.112 (unified)

Fix 64 bit file overflow problems.

Revision 1.112 / (download) - annotate - [select for diffs], Wed Feb 22 20:47:39 1995 UTC (22 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.111: +16 -16 lines
Diff to previous 1.111 (unified)

Fix bugs 263156, 263632 - enable 64-bit file sizes in 64-bit kernels.

Revision 1.111 / (download) - annotate - [select for diffs], Thu Feb 2 19:24:25 1995 UTC (22 years, 8 months ago) by tap
Branch: MAIN
Changes since 1.110: +11 -2 lines
Diff to previous 1.110 (unified)

fix for incident 260200. The xfs_diostrat() routine now checks if the
currect file offset is greater than the size of the file, and sets the
bytes_this_req value to 0.

Revision 1.110 / (download) - annotate - [select for diffs], Tue Jan 31 18:59:41 1995 UTC (22 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.109: +5 -6 lines
Diff to previous 1.109 (unified)

Warning elimination: remove unused variables, tag some routines ARGSUSED,
add return statements, ifdef out some code.

Revision 1.109 / (download) - annotate - [select for diffs], Fri Dec 23 23:43:29 1994 UTC (22 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.108: +2 -2 lines
Diff to previous 1.108 (unified)

~D
Add some casts to eliminate warnings.

Revision 1.108 / (download) - annotate - [select for diffs], Thu Dec 22 00:41:50 1994 UTC (22 years, 10 months ago) by tap
Branch: MAIN
Changes since 1.107: +50 -68 lines
Diff to previous 1.107 (unified)

add type casts and cleanup code so file will compile without warnings.

Revision 1.107 / (download) - annotate - [select for diffs], Wed Dec 7 01:24:37 1994 UTC (22 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.106: +8 -19 lines
Diff to previous 1.106 (unified)

Fix bug 252460 - don't update timestamps in readonly xfs filesystems.

Revision 1.106 / (download) - annotate - [select for diffs], Tue Nov 29 19:21:37 1994 UTC (22 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.105: +7 -2 lines
Diff to previous 1.105 (unified)

Allow non-block aligned direct I/O for swap files.

Revision 1.105 / (download) - annotate - [select for diffs], Thu Nov 24 00:03:25 1994 UTC (22 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.104: +27 -26 lines
Diff to previous 1.104 (unified)

Fix the handling of mapping pages beyond the end of the file.
The problems addressed occur with large block sizes.

Revision 1.104 / (download) - annotate - [select for diffs], Fri Nov 18 00:31:58 1994 UTC (22 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.103: +30 -16 lines
Diff to previous 1.103 (unified)

Log the inode modify time synchronously for sync writes
when the mount has the 'wsync' option specified.

Revision 1.103 / (download) - annotate - [select for diffs], Tue Nov 15 22:17:11 1994 UTC (22 years, 11 months ago) by tap
Branch: MAIN
Changes since 1.102: +1 -0 lines
Diff to previous 1.102 (unified)

add include of xfs_itable.h to get define of XFS_DIFLAG_REALTIME.

Revision 1.102 / (download) - annotate - [select for diffs], Tue Nov 15 18:03:16 1994 UTC (22 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.101: +167 -91 lines
Diff to previous 1.101 (unified)

Modify the write path to overallocate blocks and buffer
space at the end of the file.  This reduces the amount of
work involved in small write processing in the file system
and the buffer cache.  Also get rid of the zone allocated
structures which belong on the stack.  Now that we have a
larger stack we can do this.

Revision 1.101 / (download) - annotate - [select for diffs], Tue Nov 8 22:54:13 1994 UTC (22 years, 11 months ago) by tap
Branch: MAIN
Changes since 1.100: +14 -0 lines
Diff to previous 1.100 (unified)

add code to print a message to the console when a write fails with
ENOSPC.

Revision 1.100 / (download) - annotate - [select for diffs], Tue Nov 8 03:00:51 1994 UTC (22 years, 11 months ago) by orosz
Branch: MAIN
Changes since 1.99: +1 -1 lines
Diff to previous 1.99 (unified)

Put the kernel-only content of sys/dmi.h into io/dmi/dmi_kern.h.

Revision 1.99 / (download) - annotate - [select for diffs], Mon Nov 7 04:19:13 1994 UTC (22 years, 11 months ago) by orosz
Branch: MAIN
Changes since 1.98: +5 -8 lines
Diff to previous 1.98 (unified)

Add check of VFS_DMI flag to DM_EVENT_ENABLED macro;
remove the postwrite event callout.

Revision 1.98 / (download) - annotate - [select for diffs], Thu Nov 3 19:18:13 1994 UTC (22 years, 11 months ago) by tap
Branch: MAIN
Changes since 1.97: +8 -7 lines
Diff to previous 1.97 (unified)

fix bug in xfs_diostrat(). file size was not being set correctly.

Revision 1.97 / (download) - annotate - [select for diffs], Thu Nov 3 02:28:22 1994 UTC (22 years, 11 months ago) by orosz
Branch: MAIN
Changes since 1.96: +27 -7 lines
Diff to previous 1.96 (unified)

Remove POSTREAD event; recheck di_size after sending the WRITE event
since the iolock is now dropped when the event is sent; add NOSPACE
event callout (only for writes that fail with ENOSPC).

Revision 1.96 / (download) - annotate - [select for diffs], Wed Nov 2 18:26:09 1994 UTC (22 years, 11 months ago) by tap
Branch: MAIN
Changes since 1.95: +10 -5 lines
Diff to previous 1.95 (unified)

in xfs_diordwr(), check the user request structure for the correct alignments.
the user address should be aligned to BBMASK while the offset and resid should
be aligned to m_blockmask.

Revision 1.95 / (download) - annotate - [select for diffs], Thu Oct 27 00:21:14 1994 UTC (23 years ago) by ajs
Branch: MAIN
Changes since 1.94: +12 -2 lines
Diff to previous 1.94 (unified)

Add osview stats for read and write.

Revision 1.94 / (download) - annotate - [select for diffs], Tue Oct 25 18:37:21 1994 UTC (23 years ago) by tap
Branch: MAIN
Changes since 1.93: +5 -3 lines
Diff to previous 1.93 (unified)

add check in xfs_write_file() to prevent buffered writes to realtime
files.

Revision 1.93 / (download) - annotate - [select for diffs], Fri Oct 21 17:20:54 1994 UTC (23 years ago) by ajs
Branch: MAIN
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (unified)

Fix broken change to use of XFS_FSB_TO_DB in xfs_strat_read
in the last checkin.  I moved some parentheses around
improperly.

Revision 1.92 / (download) - annotate - [select for diffs], Thu Oct 20 03:26:30 1994 UTC (23 years ago) by ajs
Branch: MAIN
Changes since 1.91: +15 -14 lines
Diff to previous 1.91 (unified)

Use the new macro XFS_FSB_TO_DB to conver fsblocks
to disk blocks.  This properly deals with the
difference in the encoding of fs blocks for regular
and real time files.

Revision 1.91 / (download) - annotate - [select for diffs], Tue Oct 18 00:42:10 1994 UTC (23 years ago) by ajs
Branch: MAIN
Changes since 1.90: +35 -16 lines
Diff to previous 1.90 (unified)

Fix xfs_strat_read() to deal properly with block
sizes greater than the page size.  The original
code was a bit overzealous in trimming back the
overlapping space.

Revision 1.90 / (download) - annotate - [select for diffs], Tue Oct 18 00:18:09 1994 UTC (23 years ago) by tap
Branch: MAIN
Changes since 1.89: +6 -6 lines
Diff to previous 1.89 (unified)

fix type casting in xfs_diostrat() so that direct i/o works on files
larger than 2 GB.

Revision 1.89 / (download) - annotate - [select for diffs], Fri Oct 7 21:54:13 1994 UTC (23 years ago) by ajs
Branch: MAIN
Changes since 1.88: +405 -14 lines
Diff to previous 1.88 (unified)

241835 Define the xfs_gap_t structure.

Revision 1.88 / (download) - annotate - [select for diffs], Fri Oct 7 21:14:43 1994 UTC (23 years ago) by miken
Branch: MAIN
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (unified)

Implement transaction types

Revision 1.87 / (download) - annotate - [select for diffs], Sun Oct 2 00:48:45 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.86: +4 -1 lines
Diff to previous 1.86 (unified)

In xfs_read_file(), if we get an error on a buffer make sure
to release it before breaking from the loop.

Revision 1.86 / (download) - annotate - [select for diffs], Mon Sep 26 23:03:09 1994 UTC (23 years, 1 month ago) by tap
Branch: MAIN
Changes since 1.85: +10 -0 lines
Diff to previous 1.85 (unified)

add check to xfs_write_file() to prevent buffered writes to a file with
a fixed extent size.

Revision 1.85 / (download) - annotate - [select for diffs], Fri Sep 23 20:06:45 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.84: +64 -21 lines
Diff to previous 1.84 (unified)

Fix up the handling of what to zero in xfs_strat_read() using
the new i_write_offset field.  Also fix xfs_zero_last_block()
to always zero the page containing isize regardless of the
underlying blocks.

Revision 1.84 / (download) - annotate - [select for diffs], Fri Sep 23 16:45:35 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.83: +71 -48 lines
Diff to previous 1.83 (unified)

Change xfs_strat_write() to allocate at most 2 extents at
a time.  Also changed it to cope with xfs_bmapi() not returning
any extents when the extents it allocates are before the range
we're interested in.  Use new log reservation counts as well.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Sep 22 22:12:50 1994 UTC (23 years, 1 month ago) by tap
Branch: MAIN
Changes since 1.82: +2 -3 lines
Diff to previous 1.82 (unified)

the tp variable was uninitialized on the read path in xfs_diostrat().

Revision 1.82 / (download) - annotate - [select for diffs], Wed Sep 21 15:46:51 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.81: +110 -32 lines
Diff to previous 1.81 (unified)

Fix xfs_strat_read() to handle buffers smaller than
the block size when the page size is smaller than
the block size.  This is needed because of the behavior
of chunk_patch() where it reads individual pages
regardless of what the file system wants.

Revision 1.81 / (download) - annotate - [select for diffs], Fri Sep 16 17:06:45 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.80: +20 -0 lines
Diff to previous 1.80 (unified)

In xfs_zero_last_block(), make sure to zero to the end of
the page containing the last byte in the file when the
file system block size is < the page size.  We delayed
initializing those bytes before since they were beyond
the EOF, but now they are becoming accessible and must
be initialized.

Revision 1.80 / (download) - annotate - [select for diffs], Thu Sep 15 21:55:28 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.79: +85 -4 lines
Diff to previous 1.79 (unified)

Add lots more checking code in the I/O path.

Revision 1.79 / (download) - annotate - [select for diffs], Fri Sep 9 22:04:42 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.78: +73 -11 lines
Diff to previous 1.78 (unified)

Implement the proper handling of errors in xfs_write_file().
We now handle both disk errors and user errors (EFAULT on
a bad copyin() source).

Revision 1.78 / (download) - annotate - [select for diffs], Wed Sep 7 15:40:51 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.77: +1 -1 lines
Diff to previous 1.77 (unified)

Fix typo in ASSERT in xfs_check_rbp().

Revision 1.77 / (download) - annotate - [select for diffs], Sat Sep 3 21:55:49 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.76: +315 -10 lines
Diff to previous 1.76 (unified)

Add lots of ASSERTs, checking code, and tracing in an
effort to track down file corruption bugs.

Revision 1.76 / (download) - annotate - [select for diffs], Fri Sep 2 15:40:31 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.75: +9 -0 lines
Diff to previous 1.75 (unified)

Limit the size of buffers created in the read path to 512 KB.
This helps to prevent memory deadlocks.

Revision 1.75 / (download) - annotate - [select for diffs], Thu Sep 1 15:54:28 1994 UTC (23 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.74: +0 -5 lines
Diff to previous 1.74 (unified)

Remove the call to xfs_isize_check() in xfs_strat_write(),
because it is no longer valid.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Aug 31 22:34:48 1994 UTC (23 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.73: +226 -48 lines
Diff to previous 1.73 (unified)

Break the assumption that there are never blocks beyond
the EOF and fix everything that depended on that.  Also
don't bother to artificially set the inode size in
xfs_strat_write() since we can deal with blocks beyond
the EOF now.  Also maintain a count of bufs queued for
the xfsds on a per inode basis.

Revision 1.73 / (download) - annotate - [select for diffs], Wed Aug 31 21:20:16 1994 UTC (23 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.72: +6 -0 lines
Diff to previous 1.72 (unified)

Make read() and write() on xfs directories return EISDIR instead of
EINVAL.  This makes write() the same as for efs.

Revision 1.72 / (download) - annotate - [select for diffs], Sat Aug 27 02:27:01 1994 UTC (23 years, 2 months ago) by miken
Branch: MAIN
Changes since 1.71: +5 -1 lines
Diff to previous 1.71 (unified)

Add more debugging code for inodes

Revision 1.71 / (download) - annotate - [select for diffs], Thu Aug 11 19:53:39 1994 UTC (23 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.70: +16 -10 lines
Diff to previous 1.70 (unified)

Fix the locking around the ip->i_new_size field.

Revision 1.70 / (download) - annotate - [select for diffs], Tue Aug 9 17:19:02 1994 UTC (23 years, 2 months ago) by tap
Branch: MAIN
Changes since 1.69: +1 -0 lines
Diff to previous 1.69 (unified)

clear the B_GR_BUF flag from the b_flags2 field of the direct i/o buffer
structure as soon as the i/o operation completes.

Revision 1.69 / (download) - annotate - [select for diffs], Sat Aug 6 03:59:43 1994 UTC (23 years, 2 months ago) by orosz
Branch: MAIN
Changes since 1.68: +38 -9 lines
Diff to previous 1.68 (unified)

Added dmi support.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Aug 6 01:17:01 1994 UTC (23 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.67: +6 -0 lines
Diff to previous 1.67 (unified)

Add ASSERTs and debugging code to catch iunlink
and itruncate bugs.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Aug 1 17:52:19 1994 UTC (23 years, 3 months ago) by ajs
Branch: MAIN
Changes since 1.66: +30 -12 lines
Diff to previous 1.66 (unified)

Change callers of xfs_iomap_read() to acquire the inode lock
exclusively before calling.  This is necessary for protecting
the read-ahead counters in the inode which are updated even
on reads.  I've also added some more ASSERTS.

Revision 1.66 / (download) - annotate - [select for diffs], Fri Jul 29 02:51:57 1994 UTC (23 years, 3 months ago) by miken
Branch: MAIN
Changes since 1.65: +2 -22 lines
Diff to previous 1.65 (unified)

Backout RID 1.64.  The real bug was in the log recovery code.
See RID 1.22 of xfs_log_recover.c

Revision 1.65 / (download) - annotate - [select for diffs], Fri Jul 22 01:14:11 1994 UTC (23 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.64: +1 -0 lines
Diff to previous 1.64 (unified)

Reorder include files with xfs_alloc.h before xfs_bmap.h since
xfs_bmap.h now mentions xfs_alloctype_t.

Revision 1.64 / (download) - annotate - [select for diffs], Tue Jul 19 18:01:17 1994 UTC (23 years, 3 months ago) by tap
Branch: MAIN
Changes since 1.63: +20 -0 lines
Diff to previous 1.63 (unified)

on a direct I/O write operation, flush the new size of the file to disk.

Revision 1.63 / (download) - annotate - [select for diffs], Thu Jul 14 17:11:55 1994 UTC (23 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.62: +1 -1 lines
Diff to previous 1.62 (unified)

Reorder includes to make simulation (mfks) build again.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Jul 14 01:37:38 1994 UTC (23 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.61: +4 -5 lines
Diff to previous 1.61 (unified)

Change a % to a & (with blocksize) to eliminate a long-long rem.
Fix include file order to get rid of a long-long divide.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Jul 6 20:19:14 1994 UTC (23 years, 3 months ago) by ajs
Branch: MAIN
Changes since 1.60: +4 -0 lines
Diff to previous 1.60 (unified)

Make sure to free the memory we zone allocate for local variables
in all cases.

Revision 1.60 / (download) - annotate - [select for diffs], Mon Jul 4 17:22:02 1994 UTC (23 years, 3 months ago) by ajs
Branch: MAIN
Changes since 1.59: +14 -0 lines
Diff to previous 1.59 (unified)

Add a call to xfs_log_force() in the write code when we've done
a synchronous write.  This ensures that any changes to the inode
are permanent.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Jun 30 22:34:18 1994 UTC (23 years, 4 months ago) by tap
Branch: MAIN
Changes since 1.58: +6 -0 lines
Diff to previous 1.58 (unified)

fix end-of-file handling in xfs_diostrat().

Revision 1.58 / (download) - annotate - [select for diffs], Tue Jun 28 03:31:42 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.57: +1 -1 lines
Diff to previous 1.57 (unified)

Change references to XFS_BTOD to XFS_FSB_TO_BB.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Jun 27 23:53:38 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.56: +3 -1 lines
Diff to previous 1.56 (unified)

Fix a recently introduced bug involving calling bp_mapout()
on non-page aligned buffers in xfs_strat_read().

Revision 1.56 / (download) - annotate - [select for diffs], Wed Jun 22 01:52:02 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.55: +1 -0 lines
Diff to previous 1.55 (unified)

Make sure to call bp_mapout() on a buffer after having called
bp_mapin() in xfs_strat_read().

Revision 1.55 / (download) - annotate - [select for diffs], Tue Jun 14 15:38:27 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.54: +20 -1 lines
Diff to previous 1.54 (unified)

In xfs_strat_write() temporarily set the inode size to
the inode's i_new_size if this is larger.  This ensures
that after a crash we'll never have blocks allocated
beyond the end of the file.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Jun 13 07:33:49 1994 UTC (23 years, 4 months ago) by miken
Branch: MAIN
Changes since 1.53: +0 -0 lines
Diff to previous 1.53 (unified)

no diffs; oops.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Jun 12 01:19:50 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.52: +22 -17 lines
Diff to previous 1.52 (unified)

Fix problems with files greater than 32 bits in size.
Specifically watch out for overflows in block to offset
conversions and use the new offtoc and OFFTOBB macros.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Jun 9 19:39:00 1994 UTC (23 years, 4 months ago) by wei_hu
Branch: MAIN
Changes since 1.51: +0 -2 lines
Diff to previous 1.51 (unified)

Eliminate include of <sys/uuid.h>.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Jun 9 01:38:54 1994 UTC (23 years, 4 months ago) by miken
Branch: MAIN
Changes since 1.50: +10 -7 lines
Diff to previous 1.50 (unified)

Use new log reservation scheme

Revision 1.50 / (download) - annotate - [select for diffs], Tue Jun 7 20:16:18 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.49: +15 -5 lines
Diff to previous 1.49 (unified)

Properly return error on out of space in xfs_write() and xfs_bmap().
Change xfs_iomap_write() to return ENOSPC when we run out of space.

Revision 1.49 / (download) - annotate - [select for diffs], Mon May 23 21:51:20 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.48: +126 -93 lines
Diff to previous 1.48 (unified)

Use zone allocators for bmapval arrays, bmbt_irec arrays,
and xfs_strat_write local variables.

Revision 1.48 / (download) - annotate - [select for diffs], Mon May 23 15:34:03 1994 UTC (23 years, 5 months ago) by tap
Branch: MAIN
Changes since 1.47: +9 -4 lines
Diff to previous 1.47 (unified)

add additional parameter to xfs_grio_req() call. This allows the rate
scheduler to use the file offset when deciding rate guarantees.

Revision 1.47 / (download) - annotate - [select for diffs], Wed May 18 22:29:50 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.46: +13 -0 lines
Diff to previous 1.46 (unified)

Clear the read-ahead state when we write the file.
This ensures that the read-ahead state is never inconsistent
with the files extent list.

Revision 1.46 / (download) - annotate - [select for diffs], Tue May 17 21:26:06 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.45: +14 -7 lines
Diff to previous 1.45 (unified)

Use xfs_ilock_map_share() and xfs_iunlock_map_shared().

Revision 1.45 / (download) - annotate - [select for diffs], Thu May 5 17:19:17 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.44: +6 -7 lines
Diff to previous 1.44 (unified)

Fix stupid infinite loop in xfs_start_daemons()
that occurs on systems with greater than 128 MB
of memory.

Revision 1.44 / (download) - annotate - [select for diffs], Thu May 5 01:32:41 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.43: +1 -0 lines
Diff to previous 1.43 (unified)

Set the B_ASYNC in subordinate buffers from xfs_strat_write()
so that their release functions are called when they
complete.

Revision 1.43 / (download) - annotate - [select for diffs], Wed May 4 00:21:10 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.42: +4 -3 lines
Diff to previous 1.42 (unified)

Add new include file xfs_ialloc_btree.h.  Caused some include reordering.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Apr 27 02:27:20 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.41: +15 -1 lines
Diff to previous 1.41 (unified)

Add more ASSERTs and comments.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Apr 26 21:04:13 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40 (unified)

Fix backwards assert in xfs_iomap_extra().

Revision 1.40 / (download) - annotate - [select for diffs], Tue Apr 26 18:35:16 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (unified)

Properly initialize the blkno of rbp in
xfs_strat_read() because xfs_overlap_bp
doesn't know the proper value.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Apr 26 01:56:52 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.38: +16 -15 lines
Diff to previous 1.38 (unified)

Use XFS_ERROR to return error values, to trap some of them.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Apr 26 01:07:56 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.37: +91 -85 lines
Diff to previous 1.37 (unified)

Fix some bugs involving pages at the EOF (they
shouldn't occur any more) and move xfsd completely
into the kernel.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Apr 25 17:51:05 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.36: +6 -1 lines
Diff to previous 1.36 (unified)

Fix assert in xfs_iomap_extra().  Use new_size
rather than size.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Apr 23 00:57:13 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.35: +32 -78 lines
Diff to previous 1.35 (unified)

Change the write path to not create buffers which extend
beyond the EOF.  This eliminates some complications
involving dirty pages over holes in the file.  Also
change the rest of the code which expected to deal with
such pages.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Apr 22 00:22:08 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.34: +128 -106 lines
Diff to previous 1.34 (unified)

Just syntactic cleanup.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Apr 19 21:42:01 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.33: +4 -0 lines
Diff to previous 1.33 (unified)

Add ASSERTs to catch read/write mapping errors.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Apr 19 16:27:31 1994 UTC (23 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.32: +7 -3 lines
Diff to previous 1.32 (unified)

clear the B_GR_BUF flag from the b_flags2 field if the request is not
rate guaranteed. Also, when computing how many extents to reserve, use
the file system extent size rather than the file extent size.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Apr 17 23:34:29 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.31: +67 -67 lines
Diff to previous 1.31 (unified)

Change "functional" macros' names from lower to uppercase, for consistency
with everything else.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Apr 16 00:36:41 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.30: +11 -9 lines
Diff to previous 1.30 (unified)

Fix xfs_iomap_read() to do the right thing when
the underlying extents don't match up well with
our desired I/O size.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Apr 15 20:24:27 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.29: +0 -6 lines
Diff to previous 1.29 (unified)

Remove the reservation of disk space from xfs_strat_write, don't need it
now that ag freelist accounting is changed to ignore the freelist blocks.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Apr 15 15:03:53 1994 UTC (23 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.28: +1 -0 lines
Diff to previous 1.28 (unified)

add "sys/uuid.h" include file

Revision 1.28 / (download) - annotate - [select for diffs], Fri Apr 15 01:58:19 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.27: +33 -14 lines
Diff to previous 1.27 (unified)

Change to use BMAP_DELAY as well as BMAP_HOLE.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Apr 12 01:16:48 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.26: +108 -129 lines
Diff to previous 1.26 (unified)

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

Revision 1.26 / (download) - annotate - [select for diffs], Fri Apr 8 20:15:22 1994 UTC (23 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.25: +15 -5 lines
Diff to previous 1.25 (unified)

fix bug in xfs_diostrat() when computing the disk block number for the
real time extent fs block number.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Apr 8 04:28:47 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.24: +2 -0 lines
Diff to previous 1.24 (unified)

Fix compilation error for simulation (just a patch).

Revision 1.24 / (download) - annotate - [select for diffs], Fri Apr 8 00:42:29 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.23: +121 -11 lines
Diff to previous 1.23 (unified)

Add in support for xfsd.  Also fix a little
bug in xfs_strat_write_relse() that set B_DONE
too early.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Apr 1 16:10:25 1994 UTC (23 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.22: +52 -28 lines
Diff to previous 1.22 (unified)

fix end-of-file bug and out of space error handling in xfs_diostrat().

Revision 1.22 / (download) - annotate - [select for diffs], Thu Mar 31 18:28:58 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.21: +5 -19 lines
Diff to previous 1.21 (unified)

Fix xfs_zero_eof() to properly fill in bmap->pbdev before
calling chunkread().

Revision 1.21 / (download) - annotate - [select for diffs], Thu Mar 31 01:10:00 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.20: +28 -9 lines
Diff to previous 1.20 (unified)

Just some cleanup and some debugging code which I'll remove
shortly.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Mar 29 01:44:33 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19 (unified)

Change xfs_strategy to recognize that 0 is a valid block number.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Mar 26 01:46:58 1994 UTC (23 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (unified)

fix assert in xfs_read_strat().

Revision 1.18 / (download) - annotate - [select for diffs], Sat Mar 26 01:08:25 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.17: +74 -6 lines
Diff to previous 1.17 (unified)

Fix some paths in the read/write/strategy code to deal with
the pages we create beyond the EOF being flushed out.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Mar 25 00:11:14 1994 UTC (23 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.16: +7 -1 lines
Diff to previous 1.16 (unified)

fix xfs_diordwr to use the correct device when doing real time i/o.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Mar 24 22:47:19 1994 UTC (23 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.15: +22 -2 lines
Diff to previous 1.15 (unified)

add code to xfs_diostrat() to reserve transaction space for extents when
writing to the real time partition.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Mar 22 17:58:48 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.14: +10 -0 lines
Diff to previous 1.14 (unified)

Fill in bmapp->pbdev so that strategy doesn't explode.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 16 16:15:57 1994 UTC (23 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.13: +63 -47 lines
Diff to previous 1.13 (unified)

added code to xfs_diostrategy() to handle non file system block aligned
requests. Also, added some ifdefs to support guaranteed rate I/O requests in
the XFS simulator.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Mar 14 01:10:07 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.12: +59 -3 lines
Diff to previous 1.12 (unified)

Fixing xfs_zero_eof() to zero the disk block under isize
when we seek and write.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 12 00:07:01 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.11: +5 -3 lines
Diff to previous 1.11 (unified)

Change xfs_trans_reserve() calls to use proper log res values.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Mar 10 18:51:49 1994 UTC (23 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.10: +11 -8 lines
Diff to previous 1.10 (unified)

changed code to handle new reservation id structure.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 10 00:03:21 1994 UTC (23 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.9: +0 -2 lines
Diff to previous 1.9 (unified)

remove debug printf.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Mar 9 23:54:51 1994 UTC (23 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.8: +419 -14 lines
Diff to previous 1.8 (unified)

Add routines xfs_diordwr() and xfs_diostrat() to support direct I/O. Integrate
regular file I/O, direct I/O, and guaranteed rate I/O.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Mar 9 20:44:51 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.7: +67 -34 lines
Diff to previous 1.7 (unified)

Fix xfs_strat_write() to handle parts of the space
underlying the outgoing buffer already being allocated.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 7 21:41:03 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.6: +9 -16 lines
Diff to previous 1.6 (unified)

Just a little cleanup and removing a bogus assertion
in xfs_iomap_read().

Revision 1.6 / (download) - annotate - [select for diffs], Mon Mar 7 00:54:08 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.5: +200 -171 lines
Diff to previous 1.5 (unified)

More fixes and re-works.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Mar 4 18:16:08 1994 UTC (23 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.4: +1 -0 lines
Diff to previous 1.4 (unified)

rearranged order of include files: grio.h needs to be before xfs_inode.h

Revision 1.4 / (download) - annotate - [select for diffs], Tue Mar 1 01:32:58 1994 UTC (23 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.3: +20 -23 lines
Diff to previous 1.3 (unified)

More fixes and cleanup for the read/write/bmap path.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Feb 25 02:01:05 1994 UTC (23 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.2: +82 -11 lines
Diff to previous 1.2 (unified)

Implemented xfs_bmap() to be called from VOP_BMAP(),
getting more of the read/write path to work.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 18 21:11:56 1994 UTC (23 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.1: +26 -2 lines
Diff to previous 1.1 (unified)

Fix the off by one error in the calculation
of the number of read-ahead buffers in xfs_iomap_read().
Modify xfs_strat_read() to never read blocks beyond the
EOF, even if the buffer extends there.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 16 23:26:16 1994 UTC (23 years, 8 months ago) by ajs
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>