CVS log for xfs-linux/linux-2.4/Attic/xfs_aops.c

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

Request diff between arbitrary revisions


Default branch: MAIN


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

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

Revision 1.105 / (download) - annotate - [select for diffs], Fri Aug 4 13:15:51 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.104: +4 -4 lines
Diff to previous 1.104 (colored)

Fix sparse warning found when page tracing enabled, due to overloaded gfp_t param.
Merge of xfs-linux-melb:xfs-kern:26552a by kenmcd.

Revision 1.104 / (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.103: +0 -2 lines
Diff to previous 1.103 (colored)

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

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

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

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

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

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

Make the pflags test/set wrappers more legible for us mere humans.
Merge of xfs-linux-melb:xfs-kern:26099a by kenmcd.

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

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

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

Make couple names consitent, be more defensive on releasepage (and prep for nobh, someday, maybe).
Merge of xfs-linux-melb:xfs-kern:25481a by kenmcd.

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

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

Revision 1.97 / (download) - annotate - [select for diffs], Mon Mar 6 14:19:18 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.96: +29 -29 lines
Diff to previous 1.96 (colored)

Switch over from linvfs names for address space ops for consistent naming.
Merge of xfs-linux-melb:xfs-kern:25378a by kenmcd.

Revision 1.96 / (download) - annotate - [select for diffs], Mon Dec 19 19:00:32 2005 UTC (11 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.95: +1 -3 lines
Diff to previous 1.95 (colored)

add helper to get xfs_inode from vnode

Revision 1.95 / (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.94: +53 -53 lines
Diff to previous 1.94 (colored)

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

Revision 1.94 / (download) - annotate - [select for diffs], Fri Oct 28 03:53:33 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.93: +3 -2 lines
Diff to previous 1.93 (colored)

Ensure fsync does not incorrectly return EIO for pages beyond EOF.
Merge of xfs-linux-melb:xfs-kern:24236a by kenmcd.

Revision 1.93 / (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.92: +12 -26 lines
Diff to previous 1.92 (colored)

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

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

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

Revision 1.91 / (download) - annotate - [select for diffs], Fri Sep 9 03:48:43 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.90: +1 -1 lines
Diff to previous 1.90 (colored)

Fix unwritten extents oddity for 2.4 kernels as well.
Merge of xfs-linux-melb:xfs-kern:23782a by kenmcd.

Revision 1.90 / (download) - annotate - [select for diffs], Wed Jul 20 19:42:41 2005 UTC (12 years, 3 months ago) by hch
Branch: MAIN
Changes since 1.89: +39 -16 lines
Diff to previous 1.89 (colored)

delay I/O completion for unwritten extents after until we issue
the transaction to convert to an written extent

Revision 1.89 / (download) - annotate - [select for diffs], Thu Jun 23 14:59:12 2005 UTC (12 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.88: +11 -0 lines
Diff to previous 1.88 (colored)

Add a chunk of tracing code to diagnose truncate related issues.
Merge of xfs-linux-melb:xfs-kern:22966a by kenmcd.

Revision 1.88 / (download) - annotate - [select for diffs], Fri Apr 29 15:09:15 2005 UTC (12 years, 5 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.87: +3 -5 lines
Diff to previous 1.87 (colored)

Do not do delalloc conversion on pages beyond EOF ever, not just sometimes.
Merge of xfs-linux-melb:xfs-kern:22376a by kenmcd.

Revision 1.87 / (download) - annotate - [select for diffs], Mon Feb 7 02:42:28 2005 UTC (12 years, 8 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.86: +18 -14 lines
Diff to previous 1.86 (colored)

Prevent releasepage from releasing pages early, while they still have delayed allocate buffers.  Affects filesystem blocksizes smaller than the pagesize only.
Merge of xfs-linux-melb:xfs-kern:21409a by kenmcd.

Revision 1.86 / (download) - annotate - [select for diffs], Thu Jan 13 02:55:53 2005 UTC (12 years, 9 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.85: +1 -1 lines
Diff to previous 1.85 (colored)

Fix page index to byte calculation result truncation in tracing code.
Merge of xfs-linux-melb:xfs-kern:21106a by kenmcd.

Revision 1.85 / (download) - annotate - [select for diffs], Thu Sep 30 03:40:52 2004 UTC (13 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.84: +10 -7 lines
Diff to previous 1.84 (colored)

Simplify page probe/submit code so buffers bayond eof not dirtied/written.
Merge of xfs-linux-melb:xfs-kern:19621a by kenmcd.

Revision 1.84 / (download) - annotate - [select for diffs], Tue Aug 3 04:06:25 2004 UTC (13 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.83: +1 -18 lines
Diff to previous 1.83 (colored)

Fix accidental reverting of sync write preallocations.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Aug 2 17:20:16 2004 UTC (13 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.82: +4 -3 lines
Diff to previous 1.82 (colored)

Code checks to trap access to fsb zero.
Added checks to trap access to block zero.

Revision 1.82 / (download) - annotate - [select for diffs], Tue Jun 15 18:04:55 2004 UTC (13 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.81: +19 -9 lines
Diff to previous 1.81 (colored)

Partial fix for long standing nfs+xfs corruption.

See:
http://oss.sgi.com/bugzilla/show_bug.cgi?id=198
for full details
Masanori TSUDA fix for xfs+xfs corruption
Basically do not flush pages beyond end of file (i_size)
There still needs to be some investigation done to see
if this is just fixing a symptom of i_size != di_size / 
valid page handling.
But for the moment this fixes the problem

Revision 1.81 / (download) - annotate - [select for diffs], Tue Jun 15 02:19:38 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.80: +25 -22 lines
Diff to previous 1.80 (colored)

Remove the one remaining, broken use of XFS_WRITEIO_LOG and sanitize direct IO map blocks call.

Revision 1.80 / (download) - annotate - [select for diffs], Tue Jun 15 01:54:08 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.79: +7 -2 lines
Diff to previous 1.79 (colored)

Ensure buffers that map to unwritten extents are only submitted when properly setup.

Revision 1.79 / (download) - annotate - [select for diffs], Thu May 27 17:28:34 2004 UTC (13 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.78: +1 -1 lines
Diff to previous 1.78 (colored)

Fix overflow in mapping test at offsets of 2^63-1 bytes
When checking whether a mapping matches our offset,
test in such a way that it will not overflow 63 bits - 
calculate last offset in the mapping for comparison

Revision 1.78 / (download) - annotate - [select for diffs], Wed May 12 17:18:11 2004 UTC (13 years, 5 months ago) by felixb
Branch: MAIN
Changes since 1.77: +1 -8 lines
Diff to previous 1.77 (colored)

Remove speculative preallocation from linvfs_get_block_core.
All speculative preallocations should be done from xfs_iomap_write_delay.
Remove speculative preallocation from linvfs_get_block_core.
All speculative preallocations should be done from xfs_iomap_write_delay.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Mar 19 22:46:00 2004 UTC (13 years, 7 months ago) by nstraz
Branch: MAIN
Changes since 1.76: +4 -4 lines
Diff to previous 1.76 (colored)

Use unsigned long long for end_offset so we don't overflow it.

Revision 1.76 / (download) - annotate - [select for diffs], Thu Mar 18 00:38:35 2004 UTC (13 years, 7 months ago) by cattelan
Branch: MAIN
Changes since 1.75: +3 -1 lines
Diff to previous 1.75 (colored)

Add a call to refile_buffer since xfs was not being good buffer citizens
and was leaving clean buffers on the dirty buffer list.

Revision 1.75 / (download) - annotate - [select for diffs], Mon Mar 15 22:10:59 2004 UTC (13 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.74: +16 -14 lines
Diff to previous 1.74 (colored)

Use pgoff_t type for page indices, and remove
some other type confusion

Revision 1.74 / (download) - annotate - [select for diffs], Mon Mar 8 22:45:20 2004 UTC (13 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.73: +2 -3 lines
Diff to previous 1.73 (colored)

Update PFLAGS_SET_NOIO macro, no saved state

Revision 1.73 / (download) - annotate - [select for diffs], Sat Feb 28 12:07:56 2004 UTC (13 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.72: +4 -4 lines
Diff to previous 1.72 (colored)

replace page_buf_t, pb_target_t and page_buf_daddr_t with their xfs_ variants

Revision 1.72 / (download) - annotate - [select for diffs], Tue Feb 17 06:08:30 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.71: +3 -2 lines
Diff to previous 1.71 (colored)

Fix BUG in debug trace code, it was plain wrong for the unmapped page case.

Revision 1.71 / (download) - annotate - [select for diffs], Wed Feb 11 00:57:10 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.70: +61 -63 lines
Diff to previous 1.70 (colored)

Use a naming convention here thats more consistent with everything else.

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

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

Revision 1.69 / (download) - annotate - [select for diffs], Fri Feb 6 04:55:21 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.68: +0 -1 lines
Diff to previous 1.68 (colored)

Remove bogus assert I added during testing of previous unwritten fix.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Feb 6 03:54:01 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.67: +9 -15 lines
Diff to previous 1.67 (colored)

Fix data loss when writing into unwritten extents while memory is being reclaimed.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Jan 14 06:14:39 2004 UTC (13 years, 9 months ago) by sandeen
Branch: MAIN
Changes since 1.66: +19 -5 lines
Diff to previous 1.66 (colored)

Fix for large allocation groups, so that extent
sizes will not overflow pagebuf lengths.
Fix map_unwritten so that we don't map so many blocks
that the size won't fit in a pagebuf.
Fix up linvfs_direct_IO for large mappings

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

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

Revision 1.65 / (download) - annotate - [select for diffs], Tue Jan 13 22:23:40 2004 UTC (13 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.64: +6 -0 lines
Diff to previous 1.64 (colored)

Merge bits from -dev tree.
This change is going in as a separate mod since it it not -dev specfic.
Flag handling

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

Move the files around to finalize the 2.4/2.6 merge
linux/xfs_aops.c 1.62 Renamed to linux-2.4/xfs_aops.c

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

Delete imported files so they can re-named

Revision 1.62 / (download) - annotate - [select for diffs], Fri Dec 12 00:27:16 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.61: +2 -22 lines
Diff to previous 1.61 (colored)

Rework some casts and use of sector_t in some address_space operations.

Revision 1.61 / (download) - annotate - [select for diffs], Tue Dec 9 03:18:33 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.60: +7 -6 lines
Diff to previous 1.60 (colored)

Fix an XFS release_page case where unwritten extents may cause I/O incorrectly.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Nov 23 21:37:44 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.59: +4 -4 lines
Diff to previous 1.59 (colored)

Use iomap abstraction consistently.

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

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

Revision 1.58 / (download) - annotate - [select for diffs], Tue Nov 18 01:26:36 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.57: +6 -10 lines
Diff to previous 1.57 (colored)

Backport some trivial changes from the 2.6 code base - page uptodate flag macro name changes

Revision 1.57 / (download) - annotate - [select for diffs], Tue Nov 18 01:15:47 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.56: +5 -1 lines
Diff to previous 1.56 (colored)

Backport an unmerged bug fix from the 2.6 code base - only submit a convert_page page for IO if startio is set.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Nov 18 01:13:20 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

Backport an unmerged bug fix from the 2.6 code base - if probe_unmapped_page fails while walking down the unmapped page list, do not attempt to probe the last page as well just return.

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

Use buffer head flag set/clear routines as in 2.6
kernel to reduce 2.4/2.6 differences in xfs
use set_buffer_FOO and clear_buffer_FOO macros

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

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

Revision 1.53 / (download) - annotate - [select for diffs], Thu Nov 13 22:04:12 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.52: +5 -6 lines
Diff to previous 1.52 (colored)

Fix an infinite writepage loop under a combination of low free space, and racing write/unlink calls to the same file.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Nov 13 06:26:20 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.51: +1 -1 lines
Diff to previous 1.51 (colored)

Fix sign on a pagebuf error variable, backport from 2.6 tree

Revision 1.51 / (download) - annotate - [select for diffs], Wed Oct 1 14:27:53 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.50: +5 -10 lines
Diff to previous 1.50 (colored)

move unwritten extent conversion for O_DIRECT into the write
thread and out of the I/O completion threads. This scales
better.
do not setup an I/O completion handler for O_DIRECT
writes to unwritten extents, do the conversion in 
place.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Sep 30 14:16:49 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.49: +2 -1 lines
Diff to previous 1.49 (colored)

When calculating the number of pages to probe for an unwritten extent,
use the size of the extent, not the page count of the pagebuf which is
initialized to zero.
calculate the last page to probe from the extent size rather
than the pagebuf page count.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Sep 26 06:29:58 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.48: +2 -0 lines
Diff to previous 1.48 (colored)

Fix a broken interaction between a buffered read into an unwritten extent and a direct write

Revision 1.48 / (download) - annotate - [select for diffs], Mon Sep 22 06:41:26 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.47: +11 -9 lines
Diff to previous 1.47 (colored)

Change writepage code so that we mark a page uptodate if all of its buffers are uptodate, and we are not doing a partial page write

Revision 1.47 / (download) - annotate - [select for diffs], Mon Sep 15 03:40:38 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.46: +12 -12 lines
Diff to previous 1.46 (colored)

Undoes mod:     xfs-linux:slinx:158357a
Undo last mod, checked in against wrong bug number with wrong change message.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Sep 15 03:13:46 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.45: +12 -12 lines
Diff to previous 1.45 (colored)

Separate the big filesystems macro out into separate big inums and blknos macros.  Also fix the check for too-large filesystems in the process.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Aug 20 07:19:20 2003 UTC (14 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.44: +9 -5 lines
Diff to previous 1.44 (colored)

Fix a case where we could issue an unwritten extent buffer for IO without it being locked - an instant BUG trigger in the block layer

Revision 1.44 / (download) - annotate - [select for diffs], Tue Aug 12 06:50:01 2003 UTC (14 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.43: +4 -3 lines
Diff to previous 1.43 (colored)

Use the same name for a function here as in the 2.5/2.6 tree

Revision 1.43 / (download) - annotate - [select for diffs], Fri Aug 1 01:19:50 2003 UTC (14 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.42: +15 -15 lines
Diff to previous 1.42 (colored)

Merge back the unwritten extent probe (incorrect last page) fix from 2.5

Revision 1.42 / (download) - annotate - [select for diffs], Mon Jul 14 04:21:26 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.41: +15 -1 lines
Diff to previous 1.41 (colored)

Ensure the VFS doesn't rip the inode out from beneath us when doing unwritten extent conversion

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jul 10 02:21:36 2003 UTC (14 years, 3 months ago) by dxm
Branch: MAIN
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored)

move process flag manipulations to linux specific code and
save/set/restore instead of set/clear for good form
Merge of 2.4.x-xfs-kern:slinx:152830a by nathans.

  move process flag manipulations to linux specific code and
  save/set/restore instead of set/clear for good form

Revision 1.40 / (download) - annotate - [select for diffs], Wed Jul 9 00:33:24 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.39: +5 -5 lines
Diff to previous 1.39 (colored)

Avoid doing the page->mapping->host dereferences twice on writepage

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

The Big Move
linux/fs/xfs/linux/xfs_aops.c 1.37 Renamed to linux/xfs_aops.c

Revision 1.38 / (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.37: +0 -1237 lines
Diff to previous 1.37 (colored)

Nuke

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

Rework the way xfs includes xfs_<blah>.h headers.
This reduces a lot of the compile dependenciesÂ,
and should reduce some of the "recompile all" situations.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Apr 22 17:56:37 2003 UTC (14 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.35: +4 -7 lines
Diff to previous 1.35 (colored)

Back part of the last change out (again), this time I broke
the module build. We cannot get to balance_dirty directly
from a module.
Do not call balance_dirty directly, it does not work
from modules.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Apr 22 14:46:23 2003 UTC (14 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.34: +9 -10 lines
Diff to previous 1.34 (colored)

fix a double lock of a buffer head which deadlocked us on
small blocksize filesystems. Also relocate a balance dirty
call so that we do it a little less often.
In the unwritten extent case, remove a call to lock_buffer()
added in the last mod, this was incorrect and caused
a deadlock. Also instead of doing balance dirty each
time we dirty a buffer head, do it once for the whole
page_state_convert call.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Apr 18 22:30:35 2003 UTC (14 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.33: +5 -5 lines
Diff to previous 1.33 (colored)

fix some unwise use of refile_buffer in xfs which caused us to
put buffers on the locked list rather than the clean list.
do not refile the buffer before submit_bh, and do not call
refile_buffer with the buffer locked.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Apr 18 14:10:22 2003 UTC (14 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.32: +47 -52 lines
Diff to previous 1.32 (colored)

A number of unwritten extent fixes, fix some reference count
and locking issues, also make allocation interface always
go into core xfs via the same route rather than having a
distinct interface for unwritten extents.
Move all allocation requst flags to a seperate set of defines
instead of abusing the pagebuf flags. Make unwritten extent
conversion go into the allocator the same way all other
requests do. Fix a reference count issue which caused use
after free and one case where we passed an unlocked buffer
into submit_bh.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Apr 17 02:58:09 2003 UTC (14 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.31: +6 -0 lines
Diff to previous 1.31 (colored)

Add a validity check for unwritten extents, trying to trap a problem
on ia64.

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

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

Revision 1.30 / (download) - annotate - [select for diffs], Mon Mar 31 03:17:17 2003 UTC (14 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.29: +8 -2 lines
Diff to previous 1.29 (colored)

Fix a pagebuf leak with the pagebufs used to coordinate IO completion
for unwritten extent writes.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Mar 28 22:53:54 2003 UTC (14 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.28: +4 -1 lines
Diff to previous 1.28 (colored)

Set proper device for realtime files in linvfs_get_block_core

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

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

Revision 1.27 / (download) - annotate - [select for diffs], Thu Mar 13 01:47:51 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.26: +5 -1 lines
Diff to previous 1.26 (colored)

Add back the pagebuf flag for scheduling on the data daemon.  Moving
this into just a pagebuf_iodone parameter was broken as we don't have
sufficient state in all the places we need it to make the decision.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Mar 12 22:50:09 2003 UTC (14 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.25: +3 -0 lines
Diff to previous 1.25 (colored)

remove some unbounded loops from the unwritten and unmapped page
processing code. As files get larger, these code paths have the
potential to hog the cpu for long periods of time. Just cap the
unmapped page case, and the unwritten one is supposed to be
stopping at the end of the extent anyway.
terminate page probing with reasonable limits.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Mar 12 21:16:52 2003 UTC (14 years, 7 months ago) by cattelan
Branch: MAIN
Changes since 1.24: +24 -8 lines
Diff to previous 1.24 (colored)

Make XFS LBD ready
change params to sector_t
Make ready for LBD (Large Block Device) support

Revision 1.24 / (download) - annotate - [select for diffs], Wed Mar 12 04:51:42 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.23: +2 -26 lines
Diff to previous 1.23 (colored)

Christoph suggests some of the unwritten extent defines relating to
buffer_header state should be out in a header somewhere - make it so.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Mar 6 23:03:53 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Trivial aops.c change to keep 2.4 and 2.5 a little more in sync.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Mar 5 04:03:40 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.21: +48 -43 lines
Diff to previous 1.21 (colored)

Hah - knew if I stared at it long enough I'd see a way to do this.
Removes the page array I created to hold pages until we could setup
enough state for the IO completion handlers to do their thing - we
now make more judicious use of the atomic pb_io_remaining field to
ensure the IO completion handlers are never called before the pb is
completely setup.  Also fixed several comments, and renamed several
functions which are no longer specific to delayed allocation (well,
they weren't really anyway...)

Revision 1.21 / (download) - annotate - [select for diffs], Wed Mar 5 01:26:08 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.20: +1 -4 lines
Diff to previous 1.20 (colored)

Implement a suggestion from Christoph - instead of using a new pagebuf flag,
now we pass in an additional parameter to pagebuf_iodone instead.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Mar 4 03:08:37 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.19: +309 -23 lines
Diff to previous 1.19 (colored)

Support for unwritten extents.  Create separate IO completion
thread pools in pagebuf for log/data IO, to prevent deadlocks
when scheduling iclog/unwritten extent IO completion handlers.
We also no longer create as many pagebuf threads as there are
CPUs, but cap this at 8 threads max (or 2 threads per CPU for
machines with <=4 CPUs).
Support for unwritten extents.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Mar 4 02:17:57 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18 (colored)

Remove an unused parameter from pagebuf_lookup.  Ensure we don't mark
a page uptodate in the bsize==pgsize case when we didn't do IO to the
entire page.
Remove an unused parameter from pagebuf_lookup.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Feb 17 03:32:02 2003 UTC (14 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.17: +10 -12 lines
Diff to previous 1.17 (colored)

Fix buffer_head deadlock on the IO path on small blocksize filesystems.
Fixes fsstress hangs on these, observed using QA test 013 and others.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Feb 3 20:10:40 2003 UTC (14 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.16: +158 -75 lines
Diff to previous 1.16 (colored)

cleanup delayed allocate write path a little and fix some
small bugs in there.
Improve documentation, fix the handling of buffer heads on
the dirty list, and the vnode modified state when converting
delalloc space to real space. 

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

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

  some speedups of O_DIRECT and O_SYNC - in terms of allocating
  larger chunks of space. Also some unwritten extent hooks.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Dec 3 18:58:29 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.14: +9 -19 lines
Diff to previous 1.14 (colored)

use find_trylock_page instead of find_get_page + TryLockPage
use find_trylock_page instead of find_get_page + TryLockPage

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

Cleanup after initially investigating unwritten extents.
Remove an incorrect assert relating to mapping unwritten extents.
Fix several typos in comments, make comments & code fit in 80 columns.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Nov 6 20:39:16 2002 UTC (14 years, 11 months ago) by cattelan
Branch: MAIN
Changes since 1.12: +33 -33 lines
Diff to previous 1.12 (colored)

Part 2 of the fsx corruption saga.
Remove BH_uptodate from get block.
Rework the logic a bit in delalloc_convert.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Oct 30 16:58:29 2002 UTC (14 years, 11 months ago) by cattelan
Branch: MAIN
Changes since 1.11: +12 -15 lines
Diff to previous 1.11 (colored)

narrow down comment
got a little carried away with comment width.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Oct 30 00:32:36 2002 UTC (14 years, 11 months ago) by cattelan
Branch: MAIN
Changes since 1.10: +21 -2 lines
Diff to previous 1.10 (colored)

Fix fsx corruption.
fsx (file system exerciser orginally from NeXT)
does all sorts of combinations of buffered reads/write map read/writes and truncates 
This was exposing a problem in our write_page logic on file systems with block size < page size.

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

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

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

Replace STATIC with static in xfs code

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

merge strategy and bmap calls, they are two aspects of the same
operation.
always call VOP_BMAP, make PBF_WRITE and PBF_FILE_ALLOCATE
seperate flags.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 30 14:13:41 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)

fix a couple of compiler warnings which crept in.
make convert_page a void function, and remove unused need_trans
variable.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Sep 27 15:42:03 2002 UTC (15 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.5: +77 -157 lines
Diff to previous 1.5 (colored)

I/O path cleanups
Move some more common code into delalloc_convert.
Remove release_page/write_full_page wrappers.
Merge map_page into convert_page.
Small code tidyups.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Sep 19 17:11:58 2002 UTC (15 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.4: +37 -39 lines
Diff to previous 1.4 (colored)

Sanitize some names in xfs_aops.c, especially a less offending name for linvfs_pb_bmap
Sanitize some names, especially a less offending name for linvfs_pb_bmap

Revision 1.4 / (download) - annotate - [select for diffs], Wed Sep 11 18:55:11 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.3: +12 -4 lines
Diff to previous 1.3 (colored)

add error checks to linvfs_direct_IO

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

move the address_space operations from xfs_iops.c into here, make a bunch of
stuff static now.  remove a few more remnants of the pb/pagebuf naming here.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Sep 4 18:49:59 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.1: +21 -49 lines
Diff to previous 1.1 (colored)

make xfs_aops.c look like XFS source

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 2 12:25:54 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN

move page_buf_io.c to xfs_aops.c
linux/fs/xfs/pagebuf/page_buf_io.c 1.55 Renamed to linux/fs/xfs/linux/xfs_aops.c

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




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