CVS log for xfs-linux/linux-2.4/Attic/xfs_buf.h

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


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

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.118 / (download) - annotate - [select for diffs], Mon Apr 16 06:06:47 2007 UTC (10 years, 6 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.117: +3 -0 lines
Diff to previous 1.117 (unified)

Export via a function xfs_buftarg_list for use by kdb/xfsidbg.
Merge of xfs-linux-melb:xfs-kern:28414a by kenmcd.

  Export via a function xfs_buftarg_list for use by kdb/xfsidbg.

Revision 1.117 / (download) - annotate - [select for diffs], Thu Aug 10 15:31:06 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.116: +0 -2 lines
Diff to previous 1.116 (unified)

Remove several macros that are no longer used anywhere

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

  Remove several macros that are no longer used anywhere

Revision 1.116 / (download) - annotate - [select for diffs], Thu Aug 10 15:29:31 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.115: +0 -5 lines
Diff to previous 1.115 (unified)

Remove a couple of unused BUF macros

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

  Remove a couple of unused BUF macros

Revision 1.115 / (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.114: +309 -440 lines
Diff to previous 1.114 (unified)

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

Revision 1.114 / (download) - annotate - [select for diffs], Fri Dec 16 02:48:24 2005 UTC (11 years, 10 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.113: +11 -0 lines
Diff to previous 1.113 (unified)

Introduce per-filesystem delwri pagebuf flushing to reduce contention
between filesystems and prevent deadlocks between filesystems when a
flush dependency exists between them.
Merge of xfs-linux-melb:xfs-kern:24844a by kenmcd.

  Add delayed write list and thread structures to the buftarg.

Revision 1.113 / (download) - annotate - [select for diffs], Fri Sep 23 03:51:28 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.112: +12 -31 lines
Diff to previous 1.112 (unified)

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

Revision 1.112 / (download) - annotate - [select for diffs], Thu Sep 8 20:25:17 2005 UTC (12 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.111: +4 -4 lines
Diff to previous 1.111 (unified)

Add barrier stubs for 2.4.x

Revision 1.111 / (download) - annotate - [select for diffs], Sun Sep 4 10:09:57 2005 UTC (12 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.110: +1 -1 lines
Diff to previous 1.110 (unified)

replace "extern inline" with "static inline"

Patch from Adrian Bunk <bunk@stusta.de>, thanks a lot!


Revision 1.110 / (download) - annotate - [select for diffs], Wed Aug 24 15:12:31 2005 UTC (12 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.109: +1 -0 lines
Diff to previous 1.109 (unified)

Fix racy access to pb_flags.

pagebuf_rele() modified pb_flags after the pagebuf had been unlocked
if the buffer was delwri. At high load, this could result in a race
when the superblock was being synced that would result the flags
being incorrect and the iodone functions being executed incorrectly.
This then leads to iclog callback failures or AIL list corruptions
resulting in filesystem shutdowns.
Merge of xfs-linux-melb:xfs-kern:23616a by kenmcd.

  Add _PBF_DELWRI_Q flag.

Revision 1.109 / (download) - annotate - [select for diffs], Tue May 31 09:57:12 2005 UTC (12 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.108: +0 -1 lines
Diff to previous 1.108 (unified)

remove xfs_incore_relse


Revision 1.108 / (download) - annotate - [select for diffs], Fri Dec 24 04:53:07 2004 UTC (12 years, 9 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.107: +18 -8 lines
Diff to previous 1.107 (unified)

Move to per-device hash tables (scalability), and use Bill Irwins hash (quicker).
Merge of xfs-linux-melb:xfs-kern:20989a by kenmcd.

Revision 1.107 / (download) - annotate - [select for diffs], Fri Nov 12 03:18:17 2004 UTC (12 years, 11 months ago) by sandeen
Branch: MAIN
Changes since 1.106: +1 -0 lines
Diff to previous 1.106 (unified)

Wait for all async buffers to complete before tearing down
the filesystem at umount time
prototype for xfs_wait_buftarg

Revision 1.106 / (download) - annotate - [select for diffs], Wed Oct 27 11:23:21 2004 UTC (12 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.105: +19 -19 lines
Diff to previous 1.105 (unified)

splitup pagebuf_get
use xfs_buf_get_flags and xfs_buf_read_flags directly

Revision 1.105 / (download) - annotate - [select for diffs], Fri Jun 25 06:15:54 2004 UTC (13 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.104: +1 -1 lines
Diff to previous 1.104 (unified)

Revert to using a separate inode for metadata buffers once more.  Prevents XFS from shutting down due to its view of the world being modified from below.  The BLKFLSBUF ioctl is another cause of this "corruption" and was the last straw.  Also fixes device initialisation failure handling.

Revision 1.104 / (download) - annotate - [select for diffs], Tue Jun 15 07:42:37 2004 UTC (13 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.103: +0 -1 lines
Diff to previous 1.103 (unified)

Fix up memory allocators to try more hard
remove useless macro

Revision 1.103 / (download) - annotate - [select for diffs], Tue Jun 15 03:23:16 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.102: +4 -16 lines
Diff to previous 1.102 (unified)

Fix a race condition in the undo-delayed-write buffer routine.

Revision 1.102 / (download) - annotate - [select for diffs], Thu Apr 22 12:49:48 2004 UTC (13 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.101: +19 -16 lines
Diff to previous 1.101 (unified)

close external blockdevice after final flush
move buftarg handling here

Revision 1.101 / (download) - annotate - [select for diffs], Wed Apr 14 06:39:17 2004 UTC (13 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.100: +1 -1 lines
Diff to previous 1.100 (unified)

Allow xfsbufd flush intervals to take immediate effect after changing the flush sysctl value.  Fix from Bart Samwel.

Revision 1.100 / (download) - annotate - [select for diffs], Mon Mar 29 19:55:10 2004 UTC (13 years, 6 months ago) by hch
Branch: MAIN
Changes since 1.99: +16 -20 lines
Diff to previous 1.99 (unified)

cleanup pagebuf flag usage and simplify pagebuf_free

Revision 1.99 / (download) - annotate - [select for diffs], Thu Mar 25 03:54:00 2004 UTC (13 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.98: +2 -8 lines
Diff to previous 1.98 (unified)

Fix delayed write buffer handling to use the correct list interfaces, add validity checks, remove unused code, and fix comments.

Revision 1.98 / (download) - annotate - [select for diffs], Wed Mar 10 13:07:14 2004 UTC (13 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.97: +0 -1 lines
Diff to previous 1.97 (unified)

clarify pagebuf page lookup logic

Revision 1.97 / (download) - annotate - [select for diffs], Sat Mar 6 03:12:18 2004 UTC (13 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (unified)

Fix a compiler warning from a redefined symbol.

Revision 1.96 / (download) - annotate - [select for diffs], Sat Feb 28 13:41:58 2004 UTC (13 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.95: +37 -37 lines
Diff to previous 1.95 (unified)

really kill the pagebuf vs xfs_buf confusion

Revision 1.95 / (download) - annotate - [select for diffs], Sat Feb 28 12:07:56 2004 UTC (13 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.94: +27 -38 lines
Diff to previous 1.94 (unified)

replace page_buf_t, pb_target_t and page_buf_daddr_t with their xfs_ variants

Revision 1.94 / (download) - annotate - [select for diffs], Wed Feb 25 05:53:35 2004 UTC (13 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.93: +3 -5 lines
Diff to previous 1.93 (unified)

Remove PBF_SYNC buffer flag, unused for some time now.

Revision 1.93 / (download) - annotate - [select for diffs], Thu Feb 19 14:45:48 2004 UTC (13 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.92: +1 -0 lines
Diff to previous 1.92 (unified)

only lock pagecache pages
add a flag for pages from the pagecache

Revision 1.92 / (download) - annotate - [select for diffs], Wed Feb 18 21:48:58 2004 UTC (13 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.91: +10 -0 lines
Diff to previous 1.91 (unified)

Add switches to make xfs compile when the nptl patch is present
Add switches to make xfs compile when the nptl patch is present

Revision 1.91 / (download) - annotate - [select for diffs], Tue Feb 3 16:21:12 2004 UTC (13 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.90: +4 -7 lines
Diff to previous 1.90 (unified)

Remove PBF_MAPPABLE
Remove PBF_MAPPABLE - it was always set for ages.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Feb 2 23:06:23 2004 UTC (13 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.89: +2 -3 lines
Diff to previous 1.89 (unified)

Remove the lockable/not lockable buffer distinction.  All metada buffers
are lockable these days.
remove definition of PBF_LOCKABLE

Revision 1.89 / (download) - annotate - [select for diffs], Fri Jan 30 00:31:35 2004 UTC (13 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.88: +0 -1 lines
Diff to previous 1.88 (unified)

Plug a pagebuf race that got bigger with the recent cleanup
kill PBF_FREED

Revision 1.88 / (download) - annotate - [select for diffs], Wed Jan 21 00:25:22 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.87: +0 -1 lines
Diff to previous 1.87 (unified)

Fix build fallout from removing more kernel-version ifdef goo.

Revision 1.87 / (download) - annotate - [select for diffs], Mon Jan 19 17:33:25 2004 UTC (13 years, 8 months ago) by cattelan
Branch: MAIN
Changes since 1.86: +0 -15 lines
Diff to previous 1.86 (unified)

Remove non 2.4 ifdefs from the linux-2.4 dir

Revision 1.86 / (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.85: +11 -1 lines
Diff to previous 1.85 (unified)

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.85 / (download) - annotate - [select for diffs], Tue Dec 30 01:31:52 2003 UTC (13 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.84: +679 -0 lines
Diff to previous 1.84 (unified)

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.h 1.83 Renamed to linux-2.4/xfs_buf.h
rename

Revision 1.84 / (download) - annotate - [select for diffs], Mon Dec 29 19:34:32 2003 UTC (13 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.83: +0 -406 lines
Diff to previous 1.83 (unified)

Remove more imported files so they can be p_renamed correctly

Revision 1.83 / (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.82: +406 -0 lines
Diff to previous 1.82 (unified)

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

Revision 1.82 / (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.81: +0 -406 lines
Diff to previous 1.81 (unified)

Delete imported files so they can re-named

Revision 1.81 / (download) - annotate - [select for diffs], Fri Dec 12 00:03:12 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.80: +1 -0 lines
Diff to previous 1.80 (unified)

Cleanup bdevname conditional code in xfs_buf headers.

Revision 1.80 / (download) - annotate - [select for diffs], Tue Dec 9 05:03:02 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (unified)

Should not add comments right before checkin - add closing comment delimiter.

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

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

Revision 1.78 / (download) - annotate - [select for diffs], Sun Nov 23 23:28:03 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.77: +4 -0 lines
Diff to previous 1.77 (unified)

Abstract out the current_time interface use from quota to support multiple kernel versions.

Revision 1.77 / (download) - annotate - [select for diffs], Thu Nov 20 03:58:20 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.76: +35 -0 lines
Diff to previous 1.76 (unified)

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

Revision 1.76 / (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.75: +0 -53 lines
Diff to previous 1.75 (unified)

move the iomap data structures out of pagebuf
Remove old definitions

Revision 1.75 / (download) - annotate - [select for diffs], Tue Nov 18 01:02:59 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.74: +3 -1 lines
Diff to previous 1.74 (unified)

Backport minor 2.6 changes to the iomap interface to keep code more in sync.

Revision 1.74 / (download) - annotate - [select for diffs], Tue Nov 18 00:28:45 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.73: +0 -8 lines
Diff to previous 1.73 (unified)

Enable pagebuf lock tracking via debug.
Remove comment about pagebuf lock tracking - this is set via the debug
config option now.  Remove an unused type.

Revision 1.73 / (download) - annotate - [select for diffs], Mon Nov 17 23:05:35 2003 UTC (13 years, 11 months ago) by sandeen
Branch: MAIN
Changes since 1.72: +2 -0 lines
Diff to previous 1.72 (unified)

BH_Sync added in 2.4.22, put an #ifdef in for now so this
still works on older kernels.
Merge of 2.4.x-xfs-kern:slinx:161964a by sandeen.

Revision 1.72 / (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.71: +33 -0 lines
Diff to previous 1.71 (unified)

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.71 / (download) - annotate - [select for diffs], Wed Sep 24 21:38:30 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.70: +0 -1 lines
Diff to previous 1.70 (unified)

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.
remove unused flag

Revision 1.70 / (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.69: +29 -42 lines
Diff to previous 1.69 (unified)

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.69 / (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.68: +1 -0 lines
Diff to previous 1.68 (unified)

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.68 / (download) - annotate - [select for diffs], Fri Jun 27 18:04:26 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
Changes since 1.67: +401 -0 lines
Diff to previous 1.67 (unified)

The Big Move
linux/fs/xfs/pagebuf/page_buf.h 1.66 Renamed to pagebuf/page_buf.h

Revision 1.67 / (download) - annotate - [select for diffs], Fri Jun 27 17:57:21 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
CVS Tags: DENUKE
Changes since 1.66: +0 -401 lines
Diff to previous 1.66 (unified)

Nuke

Revision 1.66 / (download) - annotate - [select for diffs], Fri Apr 18 14:10:22 2003 UTC (14 years, 6 months ago) by lord
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.65: +23 -12 lines
Diff to previous 1.65 (unified)

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.
change flag definitions for the allocator interface.

Revision 1.65 / (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.64: +23 -23 lines
Diff to previous 1.64 (unified)

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

Revision 1.64 / (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.63: +1 -1 lines
Diff to previous 1.63 (unified)

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.63 / (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.62: +1 -1 lines
Diff to previous 1.62 (unified)

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.
replace I/O completion taskqueue with simple list_head

Revision 1.62 / (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.61: +1 -0 lines
Diff to previous 1.61 (unified)

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

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.60 / (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.59: +1 -0 lines
Diff to previous 1.59 (unified)

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.59 / (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.58: +0 -1 lines
Diff to previous 1.58 (unified)

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.58 / (download) - annotate - [select for diffs], Fri Feb 21 05:12:00 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.57: +1 -1 lines
Diff to previous 1.57 (unified)

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.57 / (download) - annotate - [select for diffs], Thu Feb 20 22:21:58 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.56: +1 -1 lines
Diff to previous 1.56 (unified)

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

Revision 1.56 / (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.55: +1 -1 lines
Diff to previous 1.55 (unified)

fix the new hashing code, cap buckets more aggressively, and expand
pb_hash_index to fit the new hash range.
make pb_hash_index and unsigned char

Revision 1.55 / (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.54: +0 -1 lines
Diff to previous 1.54 (unified)

	make pagebuf_delwri_queue static
remove pagebuf_delwri_queue prototype

Revision 1.54 / (download) - annotate - [select for diffs], Mon Dec 16 05:46:35 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.53: +7 -9 lines
Diff to previous 1.53 (unified)

Some cleanup, some more unwritten extent related changes.
Minor cleanup and some unwritten extent related changes.

Revision 1.53 / (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.52: +7 -0 lines
Diff to previous 1.52 (unified)

merge page_buf_private_t into page_buf_t
add fields formerly in page_buf_private_t to page_buf_t

Revision 1.52 / (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.51: +1 -1 lines
Diff to previous 1.51 (unified)

rationalize pagebuf_iomove
pagebuf_iomove doesn't take an off_t anymore

Revision 1.51 / (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.50: +3 -5 lines
Diff to previous 1.50 (unified)

rename pagebuf_run_task_queue to pagebuf_run_queues
rename pagebuf_run_task_queue to pagebuf_run_queues

Revision 1.50 / (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.49: +0 -3 lines
Diff to previous 1.49 (unified)

remove unused function pagebuf_queue_task
remove unused function pagebuf_queue_task

Revision 1.49 / (download) - annotate - [select for diffs], Mon Dec 2 15:15:17 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.48: +0 -2 lines
Diff to previous 1.48 (unified)

move remaining buftarg manpiluation from pagebuf to xfs
remove pagebuf_target_clear

Revision 1.48 / (download) - annotate - [select for diffs], Fri Nov 22 16:44:29 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.47: +2 -4 lines
Diff to previous 1.47 (unified)

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

Revision 1.47 / (download) - annotate - [select for diffs], Thu Nov 21 16:43:13 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.46: +4 -2 lines
Diff to previous 1.46 (unified)

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

Revision 1.46 / (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.45: +12 -1 lines
Diff to previous 1.45 (unified)

clean up use of run_task_queue in xfs
move pb_io_remaining here from the private structure and
create pagebuf_run_task_queue as an inline function.

Revision 1.45 / (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.44: +3 -1 lines
Diff to previous 1.44 (unified)

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

Revision 1.44 / (download) - annotate - [select for diffs], Wed Oct 23 03:15:25 2002 UTC (14 years, 11 months ago) by sandeen
Branch: MAIN
Changes since 1.43: +8 -8 lines
Diff to previous 1.43 (unified)

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

Revision 1.43 / (download) - annotate - [select for diffs], Mon Oct 7 19:19:59 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.42: +9 -17 lines
Diff to previous 1.42 (unified)

Remove unused pagebuf flags
Remove unused pagebuf flags, collapse flag numbers

Revision 1.42 / (download) - annotate - [select for diffs], Tue Oct 1 15:00:51 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.41: +4 -2 lines
Diff to previous 1.41 (unified)

Handle NULL pagebufs gracefully in pagebuf_geterror
Return ENOMEM for NULL pagebufs in pagebuf_geterror.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Sep 27 15:16:21 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.40: +0 -13 lines
Diff to previous 1.40 (unified)

More mount cleanups
Remove functions related to allocation, filling and freeing of butargs.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Sep 19 20:54:05 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.39: +0 -7 lines
Diff to previous 1.39 (unified)

Remove some dead prototypes in pagebuf
Remove some dead prototypes

Revision 1.39 / (download) - annotate - [select for diffs], Wed Aug 21 20:29:14 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38 (unified)

pagebuf_release_page returns a value now

Revision 1.38 / (download) - annotate - [select for diffs], Tue Aug 20 15:51:52 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.37: +0 -1 lines
Diff to previous 1.37 (unified)

Remove unused super_block argument to pagebuf_lock_enable()

Revision 1.37 / (download) - annotate - [select for diffs], Fri Aug 16 16:32:00 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.36: +4 -2 lines
Diff to previous 1.36 (unified)

Add do_blkdev_get/do_blkdev_put arguments to pagebuf_lock_enable
and pagebuf_lock_disable, so that we don't get/put a second time
for the data device - the vfs does this for us.  We still need to
do it ourselves for the logdev and rtdev, though.
This also means that the blkdev_get for the data device is now read-only
for read-only mounts.

Revision 1.36 / (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.35: +2 -6 lines
Diff to previous 1.35 (unified)

Cleanup: remove unused pagebuf_is_locked function, couple of functions no
longer return anything (never did).

Revision 1.35 / (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.34: +4 -4 lines
Diff to previous 1.34 (unified)

Change pb_error, pb_page_count and pb_offset to be unsigned shorts, not
signed.  The pb_offset fix gets XFS working on systems with a 64K pagesize.

Revision 1.34 / (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.33: +1 -0 lines
Diff to previous 1.33 (unified)

rationalize xfs <-> pagebuf interface

Revision 1.33 / (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.32: +1 -0 lines
Diff to previous 1.32 (unified)

change xfs readahead implementation

Revision 1.32 / (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.31: +3 -13 lines
Diff to previous 1.31 (unified)

pagebuf rationalization

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jul 31 14:11:30 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.30: +2 -6 lines
Diff to previous 1.30 (unified)

only pass one extent around between pagebuf and xfs

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jul 26 22:39:53 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.29: +0 -1 lines
Diff to previous 1.29 (unified)

remove unnecessary includes, ensure config.h

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jul 25 16:26:01 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.28: +1 -1 lines
Diff to previous 1.28 (unified)

kill buftarg.bd_targ

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jul 23 22:11:23 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.27: +0 -4 lines
Diff to previous 1.27 (unified)

remove two useless pagebuf macros

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

remove kdev_t abuse from XFS

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

add new flags field to pb_target structure

Revision 1.25 / (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.24: +79 -79 lines
Diff to previous 1.24 (unified)

whitespace cleanup

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jul 10 14:23:21 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.23: +3 -5 lines
Diff to previous 1.23 (unified)

only include iobuf.h where needed

Revision 1.23 / (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.22: +0 -19 lines
Diff to previous 1.22 (unified)

remove prototypes

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

remove pagebuf_iozero from here

Revision 1.21 / (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.20: +1 -21 lines
Diff to previous 1.20 (unified)

kill prototypes for pagebuf_flush, pagebuf_inval and pagebuf_flushinval

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

remove grio code

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

pass const pointer info down into write path

Revision 1.18 / (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.17: +1 -1 lines
Diff to previous 1.17 (unified)

Update copyright dates

Revision 1.17 / (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.16: +42 -42 lines
Diff to previous 1.16 (unified)

structures moved recently, move their associated comments with them.

Revision 1.16 / (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.15: +0 -19 lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Thu May 30 10:02:02 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.14: +4 -18 lines
Diff to previous 1.14 (unified)

clean up pagebuf target handling

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 24 14:30:21 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (unified)

New PBF_FLUSH define

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 23 18:57:09 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.12: +4 -0 lines
Diff to previous 1.12 (unified)

Add prototype for pagebuf_queue_task

Revision 1.12 / (download) - annotate - [select for diffs], Tue May 21 19:46:57 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.11: +12 -11 lines
Diff to previous 1.11 (unified)

make the pb_bmap contain a pb_target

Revision 1.11 / (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.10: +5 -41 lines
Diff to previous 1.10 (unified)

prototype removal for dead code

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 28 19:45:15 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.9: +9 -156 lines
Diff to previous 1.9 (unified)

move pagebuf internal definitions to a new file

Revision 1.9 / (download) - annotate - [select for diffs], Mon Mar 25 03:32:38 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.8: +13 -10 lines
Diff to previous 1.8 (unified)

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.8 / (download) - annotate - [select for diffs], Tue Mar 19 17:30:43 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.7: +4 -0 lines
Diff to previous 1.7 (unified)

definition for pagebuf_release_page

Revision 1.7 / (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.6: +0 -3 lines
Diff to previous 1.6 (unified)

remove pagebuf_wait_unpin no one uses it 

Revision 1.6 / (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.5: +1 -0 lines
Diff to previous 1.5 (unified)

Add read counter to pagebuf stats

Revision 1.5 / (download) - annotate - [select for diffs], Wed Feb 27 21:15:13 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (unified)

Define PBF_FS_MANAGED

Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 20 21:27:57 2002 UTC (15 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (unified)

Add pb_bmap_t to pagebuf_iozero arguments

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

Define PBF_STALE


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: +3 -4 lines
Diff to previous 1.1 (unified)

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/include/linux/page_buf.h 1.104 Renamed to linux/fs/xfs/pagebuf/page_buf.h

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>