CVS log for xfs-linux/pagebuf/Attic/page_buf_io.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.57 / (download) - annotate - [select for diffs], Fri Jun 27 17:57:21 2003 UTC (14 years, 4 months ago) by cattelan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.56: +0 -0 lines
Diff to previous 1.56 (colored)

Nuke

Revision 1.56 / (download) - annotate - [select for diffs], Mon Sep 2 12:25:54 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.55: +0 -562 lines
Diff to previous 1.55 (colored)

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

Revision 1.55 / (download) - annotate - [select for diffs], Mon Sep 2 12:17:49 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.54: +30 -12 lines
Diff to previous 1.54 (colored)

cleanup in prep for rename of file

Revision 1.54 / (download) - annotate - [select for diffs], Wed Aug 21 20:29:14 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.53: +23 -2 lines
Diff to previous 1.53 (colored)

make the release_page path aware of end of file and remove delalloc state
on buffer heads in this case.

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

only pass one extent around between pagebuf and xfs

Revision 1.52 / (download) - annotate - [select for diffs], Thu Jul 25 16:19:56 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.51: +0 -1 lines
Diff to previous 1.51 (colored)

remove extra MAX_BUF_PER_PAGE defn

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

remove kdev_t abuse from XFS

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

whitespace cleanup

Revision 1.49 / (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.48: +3 -3 lines
Diff to previous 1.48 (colored)

use unlock_page instead of UnlockPage

Revision 1.48 / (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.47: +0 -295 lines
Diff to previous 1.47 (colored)

remove write path

Revision 1.47 / (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.46: +0 -65 lines
Diff to previous 1.46 (colored)

remove pagebuf_iozero from here

Revision 1.46 / (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.45: +0 -39 lines
Diff to previous 1.45 (colored)

kill  pagebuf_flush, pagebuf_inval and pagebuf_flushinval

Revision 1.45 / (download) - annotate - [select for diffs], Tue Jun 11 16:16:57 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.44: +20 -22 lines
Diff to previous 1.44 (colored)

more minor cleanup

Revision 1.44 / (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.43: +4 -4 lines
Diff to previous 1.43 (colored)

pass const pointer info down into write path

Revision 1.43 / (download) - annotate - [select for diffs], Sat Jun 8 03:30:55 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.42: +7 -13 lines
Diff to previous 1.42 (colored)

Remove PageDelalloc flag

Revision 1.42 / (download) - annotate - [select for diffs], Sat Jun 8 03:27:29 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.41: +1 -1 lines
Diff to previous 1.41 (colored)

When clustering unbuffered pages for writeout - only look at dirty ones

Revision 1.41 / (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.40: +1 -1 lines
Diff to previous 1.40 (colored)

Update copyright dates

Revision 1.40 / (download) - annotate - [select for diffs], Fri May 31 18:31:03 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.39: +1 -1 lines
Diff to previous 1.39 (colored)

fix an mmap flush case

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

Use PBF_FLUSH

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

The bmap structure now contains a pb_target not a dev_t

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

If a buffer is not uptodate, then we are definitely not supposed to
put an extent underneath it.

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

pass file pointer into prepare and commit write so they can get
O_SYNC information.

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

add in several missing uses of STATIC; fix up a few comment typos or now  
out-of-date comments; make 1st 4/5 functions declarations consistent with
the rest of the file.

Revision 1.33 / (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.32: +407 -1182 lines
Diff to previous 1.32 (colored)

major brain surgery, rework delalloc conversion for multiple blocksize
case again. Remove remainder of read path, and basically make the write
path use the generic code for buffered - a copy of it for now.

Revision 1.32 / (download) - annotate - [select for diffs], Wed May 1 23:54:51 2002 UTC (15 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.31: +13 -10 lines
Diff to previous 1.31 (colored)

fix remaining issues in cluster_write for multiple blocksize support.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Apr 30 09:52:40 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.30: +98 -52 lines
Diff to previous 1.30 (colored)

Add support for clustering pages written via mmap write - massive
speedup in the case of heavy mmap write pressure.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Apr 30 03:54:26 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored)

ensure page index -> offset calculation done in 64 bits to prevent
falsely tripping __pb_match_offset_to_mapping BUG test with large
offsets.

Revision 1.29 / (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.28: +38 -29 lines
Diff to previous 1.28 (colored)

add a check to map match routine to ensure we don't attempt to match a
buffer before the map starts; deadlock fixup for multiple blocksizes
only; ensure map_page can propogate bmap errors back out; refined the
submit_page_io test to only skip non-dirty uptodate pages to get some
write performance back at Steve's suggestion.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Apr 25 23:38:11 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.27: +1 -1 lines
Diff to previous 1.27 (colored)

last change dropped initialization of "head", add it back.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Apr 25 21:23:54 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.26: +35 -14 lines
Diff to previous 1.26 (colored)

put back a fix that went missing, and fix a small memory leak in
large (512K+) direct I/O.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Apr 23 04:40:43 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.25: +259 -227 lines
Diff to previous 1.25 (colored)

several changes to support blocksizes smaller than the pagesize on the
write path.  needs the delalloc page bit change still before it becomes
really useful.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Apr 22 19:15:37 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.24: +9 -3 lines
Diff to previous 1.24 (colored)

Fix an error which could lead to less balance_dirty calls than we should
make, plus some missing kunmap calls in error paths.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Apr 16 03:53:52 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.23: +158 -36 lines
Diff to previous 1.23 (colored)

changes for the file read code path to support filesystem blocksizes
smaller than the pagesize.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Apr 8 14:45:04 2002 UTC (15 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.22: +7 -7 lines
Diff to previous 1.22 (colored)

s/DelallocPage/PageDelalloc/ to bring this in line with other page macros

Revision 1.22 / (download) - annotate - [select for diffs], Fri Apr 5 00:32:34 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored)

Undoes mod:     2.4.x-xfs:slinx:115759a

Revision 1.21 / (download) - annotate - [select for diffs], Fri Apr 5 00:25:09 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20 (colored)

don't BUG on bmap failure -- this can give valid failures during a
forced shutdown.

Revision 1.20 / (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.19: +36 -44 lines
Diff to previous 1.19 (colored)

always put buffer heads on pages, really only affects reading holes
and page faults. Reduces memory pressure when flushing mmapped data.

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

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

Revision 1.18 / (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.17: +212 -187 lines
Diff to previous 1.17 (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.17 / (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.16: +76 -83 lines
Diff to previous 1.16 (colored)

Add a release_page method, this converts delalloc pages to real so
that try_to_free_buffers can function on them. Revamp pagebuf_write_full_page,
it now does not unlock the page, that happens in I/O completion.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 11 22:17:53 2002 UTC (15 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Don't try to kmap() a page twice in a row...

Revision 1.15 / (download) - annotate - [select for diffs], Thu Feb 28 12:13:45 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

fix potential use after free on some hardware

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

Use the inode_data_buffers functions instead of the inode_buffers
functions.

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

do a __pb_block_prepare_write_async before pagebuf_commit_write_core

Revision 1.12 / (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.11: +9 -18 lines
Diff to previous 1.11 (colored)

Fix an error path in the direct I/O path and place the contents of a
function inline in the one place it is used.

Revision 1.11 / (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.10: +0 -1 lines
Diff to previous 1.10 (colored)

Remove extra hold added by last direct I/O fix, it was causing a memory
leak.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Feb 18 00:29:12 2002 UTC (15 years, 8 months ago) by sandeen
Branch: MAIN
Changes since 1.9: +0 -1 lines
Diff to previous 1.9 (colored)

Remove unused allocate: label

Revision 1.9 / (download) - annotate - [select for diffs], Fri Feb 15 17:32:13 2002 UTC (15 years, 8 months ago) by sandeen
Branch: MAIN
Changes since 1.8: +1 -6 lines
Diff to previous 1.8 (colored)

Remove unneeded test (bmap now does this ahead of this point)

Revision 1.8 / (download) - annotate - [select for diffs], Thu Feb 14 23:40:24 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.7: +15 -12 lines
Diff to previous 1.7 (colored)

Fix the direct I/O path for writes from uninitialized malloced memory,
basically do not lock the pages around the I/O. We don't need to anyway,
so this is also a direct I/O speed up.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 11 03:34:28 2002 UTC (15 years, 8 months ago) by sandeen
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

fix test at bottom of pagebuf_delalloc_convert

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 4 16:31:54 2002 UTC (15 years, 8 months ago) by sandeen
Branch: MAIN
Changes since 1.5: +10 -2 lines
Diff to previous 1.5 (colored)

Allow block zero in __pb_block_prepare_write_async
Move block zero check into PAGEBUF_DEBUG, make it a bit smarter.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jan 30 20:55:07 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.4: +6 -8 lines
Diff to previous 1.4 (colored)

No longer return a count of pages written in the write full page path,
and ensure that we write out pages passed into writepage from the mmap
path.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jan 26 13:32:00 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

Remove find_get_page_simple, there is an official function for this now.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jan 17 21:43:10 2002 UTC (15 years, 9 months ago) by sandeen
Branch: MAIN
Changes since 1.2: +5 -1 lines
Diff to previous 1.2 (colored)

Don't just clear delay flag on bmap failure, wipe out the buffer

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 -0 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_io.c 1.106 Renamed to linux/fs/xfs/pagebuf/page_buf_io.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>