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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.149 / (download) - annotate - [select for diffs], Tue Dec 30 01:31:52 2003 UTC (13 years, 9 months ago) by cattelan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.148: +0 -2558 lines
Diff to previous 1.148 (colored)

Final bit of code moving to unify the tree
rename page_buf.c/h to xfs_buf.c/h and merge in upper level xfs_buf.h
linux-2.4/page_buf.c 1.148 Renamed to linux-2.4/xfs_buf.c
rename

Revision 1.148 / (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.147: +2558 -0 lines
Diff to previous 1.147 (colored)

Move the files around to finalize the 2.4/2.6 merge
pagebuf/page_buf.c 1.146 Renamed to linux-2.4/page_buf.c

Revision 1.147 / (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.146: +0 -2558 lines
Diff to previous 1.146 (colored)

Delete imported files so they can re-named

Revision 1.146 / (download) - annotate - [select for diffs], Tue Dec 9 00:56:37 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.145: +10 -15 lines
Diff to previous 1.145 (colored)

Fix a small pagebuf memory leak and keep track of slab pages ourselves.

Revision 1.145 / (download) - annotate - [select for diffs], Tue Dec 9 00:13:42 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.144: +4 -2 lines
Diff to previous 1.144 (colored)

Fix async pagebuf I/O tracing at the bottom of pagebuf_get.

Revision 1.144 / (download) - annotate - [select for diffs], Tue Nov 25 18:46:47 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.143: +3 -2 lines
Diff to previous 1.143 (colored)

Convert to revised kmem shake interface.

Revision 1.143 / (download) - annotate - [select for diffs], Fri Nov 21 21:31:49 2003 UTC (13 years, 11 months ago) by sandeen
Branch: MAIN
Changes since 1.142: +1 -1 lines
Diff to previous 1.142 (colored)

Fix the pb stats clear handler, value is
int but handler was using ulong
Merge of 2.4.x-xfs-kern:slinx:162287a by sandeen.

  Set up pb clear handler properly for int value

Revision 1.142 / (download) - annotate - [select for diffs], Fri Nov 21 21:26:46 2003 UTC (13 years, 11 months ago) by sandeen
Branch: MAIN
Changes since 1.141: +0 -0 lines
Diff to previous 1.141 (colored)

Fix a few sysctls - values are all ints, but
sysctl table was setting up for longs.
Merge of 2.4.x-xfs-kern:slinx:162285a by sandeen.

  Set up sysctl table properly for int values

Revision 1.141 / (download) - annotate - [select for diffs], Thu Nov 20 03:58:20 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.140: +111 -81 lines
Diff to previous 1.140 (colored)

Change pagebuf to use the same ktrace implementation as XFS, instead of reinventing that wheel.

Revision 1.140 / (download) - annotate - [select for diffs], Thu Nov 20 02:11:31 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.139: +89 -9 lines
Diff to previous 1.139 (colored)

Merge page_buf_locking routines in with the rest of page_buf.

Revision 1.139 / (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.138: +6 -6 lines
Diff to previous 1.138 (colored)

Use buffer head flag set/clear routines as in 2.6
kernel to reduce 2.4/2.6 differences in xfs
Define buffer head flag set/clear routines as in 2.6

Revision 1.138 / (download) - annotate - [select for diffs], Thu Oct 30 04:34:42 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.137: +20 -33 lines
Diff to previous 1.137 (colored)

Fix a supplemental issue introduced by the last small blocksize locking fix; this would manifest itself as a second unlock_page call on an already unlocked page.

Revision 1.137 / (download) - annotate - [select for diffs], Wed Oct 29 02:31:10 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.136: +63 -43 lines
Diff to previous 1.136 (colored)

Fix pagebuf page locking problems for blocksizes smaller than the pagesize.

Revision 1.136 / (download) - annotate - [select for diffs], Mon Oct 27 06:14:00 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.135: +3 -1 lines
Diff to previous 1.135 (colored)

Fix warnings when tracing enabled on 64 bit platforms
Merge of 2.4.x-xfs-kern:slinx:160622a by nathans.

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

Rework how xfs and the linux generic I/O code interoperate
again to deal with deadlock issues between the i_sem and
i_alloc_sem and the xfs IO lock.
If we are waiting for io completion on an unwritten extent pagebuf,
prod the io completion handlers

Revision 1.134 / (download) - annotate - [select for diffs], Wed Sep 24 21:38:30 2003 UTC (14 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.133: +14 -21 lines
Diff to previous 1.133 (colored)

Close some holes in the metadata flush logic used during unmount,
make sure we have no pending I/O completion calls for metadata,
and that we only keep hold of metadata buffers for I/O completion
if we want to. Still not perfect, but better than it was.
Rework metadata flushing logic for unmount

Revision 1.133 / (download) - annotate - [select for diffs], Tue Sep 23 16:05:14 2003 UTC (14 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.132: +3 -6 lines
Diff to previous 1.132 (colored)

Switch pagebuf hashing to be based on the block_device address
rather than the dev_t. Should give better distribution.
change _bhash to use block_device address rather than bd_dev
for hashing.

Revision 1.132 / (download) - annotate - [select for diffs], Fri Sep 19 18:12:29 2003 UTC (14 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.131: +4 -4 lines
Diff to previous 1.131 (colored)

Update sysctls - use ints, not ulongs, and show pagebuf
values in jiffies like everybody else

Revision 1.131 / (download) - annotate - [select for diffs], Fri Sep 19 14:53:32 2003 UTC (14 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.130: +9 -9 lines
Diff to previous 1.130 (colored)

Re-work pagebuf stats macros to help support per-cpu data

Revision 1.130 / (download) - annotate - [select for diffs], Thu Aug 14 05:51:09 2003 UTC (14 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.129: +35 -27 lines
Diff to previous 1.129 (colored)

Fix a race condition in async pagebuf IO completion, by moving blk queue manipulation down into pagebuf.  Fix some busted comments in page_buf.h, use a more descriptive name for __pagebuf_iorequest.

Revision 1.129 / (download) - annotate - [select for diffs], Tue Aug 12 22:38:26 2003 UTC (14 years, 2 months ago) by cattelan
Branch: MAIN
Changes since 1.128: +28 -24 lines
Diff to previous 1.128 (colored)

Rework pagebuf_delwri_flush to be list safe
Rework the global list handling of pbd_delwrite_queue.
We were dropping the list lock while scanning the list    
while starting pagebuf IO, which could lead to an inconsistent list.     
Change the code to scan the list looking for all pagebuf's that can
be flushed placing them on a local temporary list.                        
Then walk the temporary list NOT under the global lock firing off IO 
and subsequently waiting for IO to finish if told to so.

Revision 1.128 / (download) - annotate - [select for diffs], Mon Jul 21 01:08:52 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.127: +1 -1 lines
Diff to previous 1.127 (colored)

Squash a warning with ia64 patches applied, building on ia32

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

Cleanup empty/noaddr pagebuf initialisation; particularly for buffers used for log IO - no longer allocate buffers for data device then reset target, gets it right from the start.

Revision 1.126 / (download) - annotate - [select for diffs], Wed Jul 2 16:04:51 2003 UTC (14 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.125: +5 -5 lines
Diff to previous 1.125 (colored)

Use C99 initializers on sysctl structs

Revision 1.125 / (download) - annotate - [select for diffs], Wed Jul 2 03:58:26 2003 UTC (14 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.124: +1 -1 lines
Diff to previous 1.124 (colored)

Whoops, fix up pagebuf debug sysctl table entry

Revision 1.124 / (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.123: +23 -16 lines
Diff to previous 1.123 (colored)

rework sysctl initialization to avoid confusion

Revision 1.123 / (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.122: +2428 -0 lines
Diff to previous 1.122 (colored)

The Big Move
linux/fs/xfs/pagebuf/page_buf.c 1.121 Renamed to pagebuf/page_buf.c

Revision 1.122 / (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.121: +0 -2428 lines
Diff to previous 1.121 (colored)

Nuke

Revision 1.121 / (download) - annotate - [select for diffs], Thu Jun 12 18:19:25 2003 UTC (14 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.120: +2 -2 lines
Diff to previous 1.120 (colored)

Move the pagebuf_runall_queues out from under a spinlock, if it
sleeps (which it might), this is not the right place for it to
be. There is also no reason for it to be under a spinlock.
move pagebuf_runall_queues out from under the pbd_delwrite_lock
spinlock.

Revision 1.120 / (download) - annotate - [select for diffs], Wed Jun 11 15:58:15 2003 UTC (14 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.119: +1 -1 lines
Diff to previous 1.119 (colored)

Fix O_DIRECT using uninitialized memory, user space is passing in the same
zero page at lots of addresses. The xfs code was locking the user pages
which is unneccessary, end result deadlock on ourselves.
In pagebuf_lookup, create a pagebuf which is lockable so we
do not lock the pages within it during I/O. Only O_DIRECT
does I/O on this type of pagebuf.

Revision 1.119 / (download) - annotate - [select for diffs], Thu May 22 06:17:00 2003 UTC (14 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.118: +8 -3 lines
Diff to previous 1.118 (colored)

Fix last block number calculation issue with large sectors, on blocksize < pagesize path

Revision 1.118 / (download) - annotate - [select for diffs], Mon May 12 06:41:21 2003 UTC (14 years, 5 months ago) by nathans
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.117: +8 -8 lines
Diff to previous 1.117 (colored)

Fix up a pagebuf spelling mistake and a couple of whitespace botches.

Revision 1.117 / (download) - annotate - [select for diffs], Mon May 12 06:34:53 2003 UTC (14 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.116: +13 -11 lines
Diff to previous 1.116 (colored)

Block number calculation fixes, for non-default sector sizes.

Revision 1.116 / (download) - annotate - [select for diffs], Mon May 5 15:43:35 2003 UTC (14 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.115: +2 -1 lines
Diff to previous 1.115 (colored)

use the 2.5.69-style prototype for vmap
pass more arguments to vmap()

Revision 1.115 / (download) - annotate - [select for diffs], Fri Apr 25 10:58:04 2003 UTC (14 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.114: +2 -1 lines
Diff to previous 1.114 (colored)

Add some new debugging commands to XFS. Allow us to list the
delayed write metadata buffers, and vfs and super block basics.
Also update the printing of some list pointers so we print the
address of the data structure rather than the address of the
list entry within it.
make pbd_delwrite_queue global for debugging

Revision 1.114 / (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.113: +20 -0 lines
Diff to previous 1.113 (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.
When flushing metadata for a device, ensure there are no pending
unwritten extent conversions pending for the I/O completion threads.

Revision 1.113 / (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.112: +21 -21 lines
Diff to previous 1.112 (colored)

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

Revision 1.112 / (download) - annotate - [select for diffs], Mon Apr 7 00:42:38 2003 UTC (14 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.111: +1 -1 lines
Diff to previous 1.111 (colored)

Allow pagebuf code to work with patches which increase the size of the
buffer_head b_size field (from short to int, as some ia64 patches do).

Revision 1.111 / (download) - annotate - [select for diffs], Fri Apr 4 02:50:08 2003 UTC (14 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.110: +94 -118 lines
Diff to previous 1.110 (colored)

Undoes mod:     2.4.x-xfs:slinx:143110a
Undo first part of recent pagebuf IO completion thread hangling until
some hard-to-hit hangs are diagnosed a bit more.

Revision 1.110 / (download) - annotate - [select for diffs], Fri Apr 4 02:47:55 2003 UTC (14 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.109: +2 -3 lines
Diff to previous 1.109 (colored)

Undoes mod:     2.4.x-xfs:slinx:143117a
Undo second part of recent pagebuf IO completion thread hangling until
some hard-to-hit hangs are diagnosed a bit more.

Revision 1.109 / (download) - annotate - [select for diffs], Fri Apr 4 02:29:19 2003 UTC (14 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.108: +20 -2 lines
Diff to previous 1.108 (colored)

Allow large CPU count patches to coexist with XFS.

Revision 1.108 / (download) - annotate - [select for diffs], Mon Mar 31 17:57:00 2003 UTC (14 years, 6 months ago) by hch
Branch: MAIN
Changes since 1.107: +3 -2 lines
Diff to previous 1.107 (colored)

fix compilation

Revision 1.107 / (download) - annotate - [select for diffs], Mon Mar 31 17:00:46 2003 UTC (14 years, 6 months ago) by hch
Branch: MAIN
Changes since 1.106: +118 -94 lines
Diff to previous 1.106 (colored)

streamline pagebuf I/O completion thread handling.  Replace the task queue with a simple list_head and wake the threads directly instead of using a semaphore.  Cleanup code a bit in preparation of examining different thread-pool models.
revamp I/O completion thread handling

Revision 1.106 / (download) - annotate - [select for diffs], Thu Mar 20 16:07:06 2003 UTC (14 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.105: +3 -5 lines
Diff to previous 1.105 (colored)

Use mod_timer in place of del/modify/add (can race)
Also use del_timer_sync when we're done.
Merge of 2.4.x-xfs-dev:slinx:142197a by sandeen.

Revision 1.105 / (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.104: +1 -1 lines
Diff to previous 1.104 (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.104 / (download) - annotate - [select for diffs], Wed Mar 12 04:47:15 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.103: +7 -19 lines
Diff to previous 1.103 (colored)

Revert last part of recent IO completion changes - folks at HP have
reported problems on top of LVM devices with this change.

Revision 1.103 / (download) - annotate - [select for diffs], Thu Mar 6 15:56:00 2003 UTC (14 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored)

move back to a thread per cpu for I/O completion, we had second thoughts
about this. Experiments in progress to use a new model here, but in
the mean time, stick to one thread per cpu.
define MAX_IO_DAEMONS as NR_CPUS

Revision 1.102 / (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.101: +4 -4 lines
Diff to previous 1.101 (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.101 / (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.100: +81 -32 lines
Diff to previous 1.100 (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).
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).

Revision 1.100 / (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.99: +21 -11 lines
Diff to previous 1.99 (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.  Ensure we don't mark
a page uptodate in the bsize==pgsize case when we didn't do IO to the
entire page.

Revision 1.99 / (download) - annotate - [select for diffs], Fri Feb 21 05:12:00 2003 UTC (14 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.98: +23 -53 lines
Diff to previous 1.98 (colored)

Revert the recent hashing change, performance seemed to go way down in
certain benchmarks.  This is reverted to how it was, except the number
of hash buckets is larger than previously to attempt to account for the
workload Steve was originally targetting with that change.

Revision 1.98 / (download) - annotate - [select for diffs], Fri Feb 21 04:02:00 2003 UTC (14 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.97: +99 -181 lines
Diff to previous 1.97 (colored)

Rework how IO completion is handled in pagebuf, particularly the case of
blocksizes less than the pagesize.  This makes more of an effort to set
pages uptodate in this case, and removes the page_sync_t structure from
the code entirely (previously we were allocating one of these per-page
for small IOs).  Some of the functions no longer need to return errors
now, and some were doing bytes-written accounting unnecessarily - no more.

Revision 1.97 / (download) - annotate - [select for diffs], Thu Feb 20 22:21:58 2003 UTC (14 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.96: +4 -4 lines
Diff to previous 1.96 (colored)

Remove some off_t abuse in pagebuf_offset and the page_io routine,
after some careful analysis.

Revision 1.96 / (download) - annotate - [select for diffs], Mon Feb 17 15:00:26 2003 UTC (14 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.95: +7 -0 lines
Diff to previous 1.95 (colored)

fix the new hashing code, cap buckets more aggressively, and expand
pb_hash_index to fit the new hash range.
cap hash buckets at 2K

Revision 1.95 / (download) - annotate - [select for diffs], Mon Feb 17 03:23:04 2003 UTC (14 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.94: +1 -1 lines
Diff to previous 1.94 (colored)

Fix compiler warning in call to free_pages.

Revision 1.94 / (download) - annotate - [select for diffs], Fri Feb 14 22:23:40 2003 UTC (14 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.93: +45 -22 lines
Diff to previous 1.93 (colored)

use more hash buckets for holding xfs metadata, and use the same
hash algorithm as the regular buffer cache.
base the number of hash buckets for xfs metadata on the amount of
memory in the system, and use the same hash algorithm as the 
regular buffer cache.

Revision 1.93 / (download) - annotate - [select for diffs], Thu Feb 13 19:03:00 2003 UTC (14 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.92: +4 -2 lines
Diff to previous 1.92 (colored)

fix dirty buffer leak (in error path)
Nathan pointed out that the kmalloc failure handling in _pagebuf_page_io
still isn't correct - we could leak dirty buffer heads in this case.

Revision 1.92 / (download) - annotate - [select for diffs], Mon Feb 10 15:40:50 2003 UTC (14 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.91: +7 -6 lines
Diff to previous 1.91 (colored)

Contributed fix from Andreas Gruenbacher <agruen@suse.de>, handle out of memory
situations in _pagebuf_page_io() properly.
Handle kmalloc failures properly

Revision 1.91 / (download) - annotate - [select for diffs], Thu Feb 6 19:21:59 2003 UTC (14 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.90: +2 -1 lines
Diff to previous 1.90 (colored)

	make pagebuf_delwri_queue static
make pagebuf_delwri_queue static

Revision 1.90 / (download) - annotate - [select for diffs], Thu Jan 2 01:40:40 2003 UTC (14 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored)

Fix up some comments, tidy up some macros - no functional changes.
Fix some comments related to IO completion callbacks.

Revision 1.89 / (download) - annotate - [select for diffs], Fri Dec 20 19:18:03 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.88: +1 -1 lines
Diff to previous 1.88 (colored)

fix too long current->comm for pagebuf worker threads (and use the 2.5 naming)
fix too long current->comm for pagebuf worker threads (and use the 2.5 naming)

Revision 1.88 / (download) - annotate - [select for diffs], Fri Dec 13 20:48:42 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.87: +0 -3 lines
Diff to previous 1.87 (colored)

Undoes mod:     2.4.x-xfs:slinx:133397a
back out the start_aggressive_readahead hack again

Revision 1.87 / (download) - annotate - [select for diffs], Wed Dec 11 17:18:29 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.86: +21 -22 lines
Diff to previous 1.86 (colored)

merge page_buf_private_t into page_buf_t
get rid of PBP() uses

Revision 1.86 / (download) - annotate - [select for diffs], Mon Dec 9 19:51:36 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.85: +44 -65 lines
Diff to previous 1.85 (colored)

get rid of pb_daemon/pagebuf_daemon_t
replace pb_daemon with three individual variables, fix up sleep_on
mess in the module unload path

Revision 1.85 / (download) - annotate - [select for diffs], Mon Dec 9 18:03:59 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.84: +9 -46 lines
Diff to previous 1.84 (colored)

rationalize pagebuf_iomove
merge pagebuf_iomove and pagebuf_segment, get rid of off_t abuse in it

Revision 1.84 / (download) - annotate - [select for diffs], Tue Dec 3 20:34:11 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.83: +1 -8 lines
Diff to previous 1.83 (colored)

remove two dead members from pagebuf_daemon
don't reference write-only io_active and pb_delwri_cnt members of pagebuf_daemon

Revision 1.83 / (download) - annotate - [select for diffs], Tue Dec 3 18:22:17 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.82: +5 -5 lines
Diff to previous 1.82 (colored)

rename pagebuf_run_task_queue to pagebuf_run_queues
rename pagebuf_run_task_queue to pagebuf_run_queues

Revision 1.82 / (download) - annotate - [select for diffs], Mon Dec 2 19:14:50 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.81: +0 -8 lines
Diff to previous 1.81 (colored)

remove unused function pagebuf_queue_task
remove unused function pagebuf_queue_task

Revision 1.81 / (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.80: +1 -50 lines
Diff to previous 1.80 (colored)

Cleanup after initially investigating unwritten extents.
Rationalise tracking debugging, tidy tracing debugging.

Revision 1.80 / (download) - annotate - [select for diffs], Fri Nov 22 16:44:29 2002 UTC (14 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.79: +27 -19 lines
Diff to previous 1.79 (colored)

Undoes mod:     2.4.x-xfs:slinx:133729a
Undo pagebuf off_t changes

Revision 1.79 / (download) - annotate - [select for diffs], Thu Nov 21 16:43:13 2002 UTC (14 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.78: +19 -27 lines
Diff to previous 1.78 (colored)

fix off_t abuse in pagebuf
don't use off_t for pagebuf variables

Revision 1.78 / (download) - annotate - [select for diffs], Mon Nov 18 19:42:49 2002 UTC (14 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.77: +3 -0 lines
Diff to previous 1.77 (colored)

put start_aggressive_readahaead back
put start_aggressive_readahaead back

Revision 1.77 / (download) - annotate - [select for diffs], Fri Nov 15 22:59:22 2002 UTC (14 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.76: +24 -21 lines
Diff to previous 1.76 (colored)

clean up use of run_task_queue in xfs
we had one unneeded run_task_queue in here, kill it, also
wrap run_task_queue in a test to see if there is pending
I/O on the buffer in question. Make it possible to run th
io completion code locally rather than scheduling it,
for the cases where we are not in interrupt context.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Nov 13 07:49:10 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.75: +40 -45 lines
Diff to previous 1.75 (colored)

pagebuf can now take a configurable sector size (512 -> 32K).
Remove the hardcoded sector size of 512 bytes, make it configurable.

Revision 1.75 / (download) - annotate - [select for diffs], Tue Nov 12 19:46:52 2002 UTC (14 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.74: +16 -7 lines
Diff to previous 1.74 (colored)

Fix unchecked kmalloc() in pagebuf
Free virtual mappings directly if we fail to allocate a aentry

Revision 1.74 / (download) - annotate - [select for diffs], Mon Nov 4 18:56:08 2002 UTC (14 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored)

make pagebuf independent of the size of the b_size field,
we were assuming 2 bytes which is not always the case with
some patchsets applied.
do not hard code the field width of bh->b_size

Revision 1.73 / (download) - annotate - [select for diffs], Mon Oct 28 15:23:11 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.72: +1 -2 lines
Diff to previous 1.72 (colored)

Contributed fix from ASANO Masahiro <masano@tnes.nec.co.jp>, for the
case where we are going to get multiple I/O completions from the
driver under pagebuf, set the expected completion count in one go
rather than incrementing it as we submit requests. Otherwise we
can get multiple I/O completions which get treated as the last one.
set psync->remain in one go rather than incrementing it several
times.

Revision 1.72 / (download) - annotate - [select for diffs], Thu Oct 24 16:09:39 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.71: +7 -14 lines
Diff to previous 1.71 (colored)

don't call run_task_queue(&tq_disk) with spinlock held

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

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

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

Replace STATIC with static in xfs code

Revision 1.69 / (download) - annotate - [select for diffs], Wed Oct 23 03:15:25 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.68: +8 -10 lines
Diff to previous 1.68 (colored)

pagebuf flags cleanup
Remove comment references to dead pagebuf flags
Consistently use page_buf_flags_t for flag vars

Revision 1.68 / (download) - annotate - [select for diffs], Tue Oct 22 13:26:19 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.67: +2 -1 lines
Diff to previous 1.67 (colored)

fix NULL pointer dereference in pagebuf
Check for pages beeing non-NULL before unlocking in

Revision 1.67 / (download) - annotate - [select for diffs], Mon Oct 21 17:06:40 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.66: +13 -10 lines
Diff to previous 1.66 (colored)

fix race in _pagebuf_free_bh()
CONTRIBUTED: Mike Ovsiannikov <mikes@av.com>

Revision 1.66 / (download) - annotate - [select for diffs], Mon Oct 7 19:19:59 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.65: +1 -11 lines
Diff to previous 1.65 (colored)

Remove unused pagebuf flags
Remove unused pagebuf flags
Remove code that only checks those flags

Revision 1.65 / (download) - annotate - [select for diffs], Fri Oct 4 22:07:48 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.64: +5 -4 lines
Diff to previous 1.64 (colored)

Fix sysctl values, add PB_CLEAR_OWNER debugging line
Fix sysctl values, add PB_CLEAR_OWNER debugging line

Revision 1.64 / (download) - annotate - [select for diffs], Thu Oct 3 13:42:47 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.63: +2 -0 lines
Diff to previous 1.63 (colored)

fix maintenance of count of delayed write pagebufs, this is
an internal counter for diagnostic purposes.
fix pb_delwri_cnt value from the flush path, it was leaking
badly.

Revision 1.63 / (download) - annotate - [select for diffs], Wed Sep 18 14:26:00 2002 UTC (15 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.62: +6 -4 lines
Diff to previous 1.62 (colored)

Make pagebuf use the generic xfs ASSERT() instead of it's own assert()

Revision 1.62 / (download) - annotate - [select for diffs], Wed Sep 18 14:08:45 2002 UTC (15 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.61: +0 -1 lines
Diff to previous 1.61 (colored)

Don't include <asm/softirq.h>

Revision 1.61 / (download) - annotate - [select for diffs], Fri Sep 13 13:58:21 2002 UTC (15 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

Return -ENOMEM on vmap failure in _pagebuf_lookup_pages

Revision 1.60 / (download) - annotate - [select for diffs], Fri Sep 13 13:34:53 2002 UTC (15 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.59: +18 -18 lines
Diff to previous 1.59 (colored)

Add back missing current->cpus_allowed = 1UL << cpu; in the pagebuf
initialization for the old scheduler.
Tidy up check for new scheduler a little and comment it properly.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Sep 13 12:57:01 2002 UTC (15 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.58: +4 -6 lines
Diff to previous 1.58 (colored)

Fix up comments:  Pagebuf is only used for metadata nowdays

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

Fix migration of pagebuf I/O completion threads with the O(1) scheduler

Revision 1.57 / (download) - annotate - [select for diffs], Tue Sep 10 18:08:50 2002 UTC (15 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.56: +12 -0 lines
Diff to previous 1.56 (colored)

Use yield() if the O(1) scheduler patch has been applied

Revision 1.56 / (download) - annotate - [select for diffs], Wed Aug 28 21:59:06 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.55: +0 -5 lines
Diff to previous 1.55 (colored)

remove unused pagebuf macros

Revision 1.55 / (download) - annotate - [select for diffs], Wed Aug 28 21:54:40 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.54: +2 -3 lines
Diff to previous 1.54 (colored)

move to vmap/vunmap interface in 2.4

Revision 1.54 / (download) - annotate - [select for diffs], Thu Aug 22 14:47:34 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.53: +2 -3 lines
Diff to previous 1.53 (colored)

Remove unused argument from pagebuf_segment

Revision 1.53 / (download) - annotate - [select for diffs], Fri Aug 16 06:16:21 2002 UTC (15 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.52: +323 -314 lines
Diff to previous 1.52 (colored)

Cleanup: remove unneeded #include of xfs_types.h, consistent formatting of
function args & variable declarations, fix incorrect &/ misspelt comments,
consistent use of STATIC throughout.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Aug 16 02:57:47 2002 UTC (15 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.51: +12 -3 lines
Diff to previous 1.51 (colored)

Split IO requests which are too large for a single buffer_head (b_size is
an unsigned short).  This gets XFS working on systems with a 64K pagesize.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Aug 15 18:59:05 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.50: +2 -0 lines
Diff to previous 1.50 (colored)

Add a PBR_SECTOR_ONLY case to the pbr_flags switch in
_pagebuf_page_io to make things a bit more obvious

Revision 1.50 / (download) - annotate - [select for diffs], Fri Aug 9 17:48:42 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.49: +13 -33 lines
Diff to previous 1.49 (colored)

switch pagebuf over to find_or_create_page

Revision 1.49 / (download) - annotate - [select for diffs], Thu Aug 8 21:46:45 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.48: +37 -26 lines
Diff to previous 1.48 (colored)

change xfs readahead implementation

Revision 1.48 / (download) - annotate - [select for diffs], Fri Aug 2 20:09:37 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.47: +2 -1 lines
Diff to previous 1.47 (colored)

Check VMALLOC_END as well as VMALLOC_START when testing
for vmalloc'd memory.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Aug 2 15:50:20 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.46: +220 -66 lines
Diff to previous 1.46 (colored)

pagebuf rationalization

Revision 1.46 / (download) - annotate - [select for diffs], Sat Jul 27 22:16:05 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.45: +12 -2 lines
Diff to previous 1.45 (colored)

Add mem_to_page() so we can get pages from vmalloc'd memory as well
change virt_to_page to use mem_to_page

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jul 25 17:51:14 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

Use correct value for maxlen in sysctl (var is ulong, not int)
This happened to work on 32 bit machines; broke in ia64.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jul 23 22:11:23 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.43: +1 -1 lines
Diff to previous 1.43 (colored)

remove two useless pagebuf macros

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

remove kdev_t abuse from XFS

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jul 18 17:42:52 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

remove support/types.h

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jul 18 17:35:27 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.40: +3 -5 lines
Diff to previous 1.40 (colored)

do not use mem_map_t

Revision 1.40 / (download) - annotate - [select for diffs], Wed Jul 17 02:33:03 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.39: +10 -9 lines
Diff to previous 1.39 (colored)

fix unlock without lock bug in pagebuf, causes a BUG macro to trip
also remove need for xfs_fs.h

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jul 12 21:11:14 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38 (colored)

move xfs_fs.h

Revision 1.38 / (download) - annotate - [select for diffs], Thu Jul 11 17:29:33 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.37: +18 -25 lines
Diff to previous 1.37 (colored)

More cleanup of page locking during read, also rationalize the
code in the I/O path which understands the layour restrictions
of specific device types.

Revision 1.37 / (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.36: +125 -125 lines
Diff to previous 1.36 (colored)

whitespace cleanup

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

use unlock_page instead of UnlockPage

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

leave pages locked when reading it in.

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

remove the REMAPPING_SUPPORT #ifdefs, we need this code

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

small cleanups

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jun 10 16:52:36 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.31: +41 -42 lines
Diff to previous 1.31 (colored)

less use of magic numbers for block sizes

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

Update copyright dates

Revision 1.30 / (download) - annotate - [select for diffs], Fri May 31 03:57:01 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.29: +7 -8 lines
Diff to previous 1.29 (colored)

minor change to keep files the same/similar between 2.4 and 2.5.

Revision 1.29 / (download) - annotate - [select for diffs], Fri May 31 00:44:20 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.28: +9 -17 lines
Diff to previous 1.28 (colored)

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.28 / (download) - annotate - [select for diffs], Thu May 30 20:59:25 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.27: +7 -0 lines
Diff to previous 1.27 (colored)

fix xfsidbg as a module again

Revision 1.27 / (download) - annotate - [select for diffs], Thu May 30 11:10:16 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.26: +0 -8 lines
Diff to previous 1.26 (colored)

No need for a locking terminate call anymore

Revision 1.26 / (download) - annotate - [select for diffs], Fri May 24 14:30:21 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.25: +14 -5 lines
Diff to previous 1.25 (colored)

Add support for drive write cache flushing - should the kernel         
have the infrastructure

Revision 1.25 / (download) - annotate - [select for diffs], Thu May 23 18:57:09 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.24: +129 -41 lines
Diff to previous 1.24 (colored)

We no longer need to use the irq versions of spinlocks in pagebuf,
also add an io completion daemon.

Revision 1.24 / (download) - annotate - [select for diffs], Wed May 22 19:16:43 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.23: +31 -7 lines
Diff to previous 1.23 (colored)

Add proc entry & handler for clearing pagebuf stats
Minor reformatting

Revision 1.23 / (download) - annotate - [select for diffs], Tue May 21 04:27:18 2002 UTC (15 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.22: +4 -1 lines
Diff to previous 1.22 (colored)

changes to fold xfs_support code back into XFS (the other sgi projects
using this will be / have been fixed).  reduces our footprint on the
base kernel.  NB: xfs_support.o as a distinct module no longer exists.

Revision 1.22 / (download) - annotate - [select for diffs], Mon May 20 18:37:50 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.21: +1 -3 lines
Diff to previous 1.21 (colored)

Use lock_page instead of a homebrew alternative

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

Fixes for metadata ops on blocksize less than a pagesize.

Revision 1.20 / (download) - annotate - [select for diffs], Wed May 8 04:19:54 2002 UTC (15 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.19: +5 -1 lines
Diff to previous 1.19 (colored)

boost performance for metadata of small blocksize filesystems by being
smarter about handling cached blocks.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Apr 30 00:48:06 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.18: +35 -87 lines
Diff to previous 1.18 (colored)

tidy up some of the new multiple blocksize code paths, fix an inconsistent
block number calculation along the way causing occasional log corruption.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Apr 29 05:09:04 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.17: +15 -13 lines
Diff to previous 1.17 (colored)

move the block number calculation outside the loop for >pgize blocksizes;
also fix up locking of buffer_heads in here.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Apr 27 08:38:25 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.16: +284 -168 lines
Diff to previous 1.16 (colored)

initial attempt at supporting multiple block sizes on the metadata path.
lots of new code which is only executed for non-pagesized filesystems, so
should be no change for pagesize case.  had to move a few chunks of code
around to allow some bit sharing, but shouldn't be any ill side-effects.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Apr 4 03:47:11 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15 (colored)

fix a compiler warning with tracing enabled.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Mar 28 19:45:15 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.14: +134 -303 lines
Diff to previous 1.14 (colored)

simplify locking of pagebufs

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

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

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

remove pagebuf_wait_unpin no one uses it 

Revision 1.12 / (download) - annotate - [select for diffs], Wed Mar 6 12:40:51 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored)

No longer treat the super block specially in the delayed write queue

Revision 1.11 / (download) - annotate - [select for diffs], Tue Mar 5 04:18:02 2002 UTC (15 years, 7 months ago) by fsgqa
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored)

Fix a typo in an assert.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 4 19:12:38 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.9: +7 -1 lines
Diff to previous 1.9 (colored)

make xfs metadata references bring pages forward in the cache, fix an
assert, and count the number of metadata reads we do.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Feb 27 21:15:13 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.8: +5 -2 lines
Diff to previous 1.8 (colored)

Expand pagebuf_rele for the PBF_FS_MANAGED flag - the filesystem does not
want this buffer to get freed.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Feb 20 20:21:39 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.7: +6 -3 lines
Diff to previous 1.7 (colored)

fix the code to deal with freeing a non-locking pagebuf correctly in
all cases.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Feb 19 21:38:06 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.6: +0 -2 lines
Diff to previous 1.6 (colored)

Remove the rele call from pagebuf_iostart, the only caller who could
get into this was direct I/O which does its own rele.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 11 18:42:29 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.5: +1 -0 lines
Diff to previous 1.5 (colored)

fix pagebuf tracing

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jan 26 04:02:47 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.4: +5 -3 lines
Diff to previous 1.4 (colored)

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

  Fix module build of xfs

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jan 22 16:12:32 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.3: +2 -35 lines
Diff to previous 1.3 (colored)

Simplyfy code for reading in a pagebuf, and remove a deadlock from the
fs blocksize != pagesize case.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jan 16 09:55:00 2002 UTC (15 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.2: +13 -12 lines
Diff to previous 1.2 (colored)

fix for multiple blocksize support only, noop for normal case of bsize
== page size.  allows directory blocks to successfully be vmalloc'd if
they span multiple pages and are not page-aligned.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jan 14 23:45:40 2002 UTC (15 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

renamed linux/include/linux/avl.h => linux/fs/xfs/pagebuf/avl.h.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jan 11 23:31:51 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN

Merge pagebuf module into XFS
linux/fs/pagebuf/page_buf.c 1.106 Renamed to linux/fs/xfs/pagebuf/page_buf.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>