CVS log for xfs-linux-nodel/pagebuf/Attic/page_buf_locking.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.40 / (download) - annotate - [select for diffs], Thu Nov 20 02:11:31 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
CVS Tags: HEAD
Changes since 1.39: +0 -139 lines
Diff to previous 1.39 (colored)

Merge page_buf_locking routines in with the rest of page_buf.

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

The Big Move
linux/fs/xfs/pagebuf/page_buf_locking.c 1.36 Renamed to pagebuf/page_buf_locking.c

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

Nuke

Revision 1.36 / (download) - annotate - [select for diffs], Tue Apr 15 23:16:46 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

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

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

merge page_buf_private_t into page_buf_t
get rid of PBP() uses

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

rename pagebuf_run_task_queue to pagebuf_run_queues
rename pagebuf_run_task_queue to pagebuf_run_queues

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

move remaining buftarg manpiluation from pagebuf to xfs
remove pagebuf_target_clear

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

clean up use of run_task_queue in xfs
call pagebuf_run_task_queue

Revision 1.31 / (download) - annotate - [select for diffs], Fri Sep 27 15:16:21 2002 UTC (15 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.30: +0 -82 lines
Diff to previous 1.30 (colored)

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

Revision 1.30 / (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.29: +6 -4 lines
Diff to previous 1.29 (colored)

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

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

Fix up comments:  Pagebuf is only used for metadata nowdays

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

Remove unused super_block argument to pagebuf_lock_enable()

Revision 1.27 / (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.26: +16 -6 lines
Diff to previous 1.26 (colored)

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.26 / (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.25: +17 -47 lines
Diff to previous 1.25 (colored)

Cleanup: remove unused pagebuf_is_locked function, consistent formatting of
function args & variable declarations.

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

Return an ERR_PTR if pagebuf_lock_enable encounters an error.

Revision 1.24 / (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.23: +5 -3 lines
Diff to previous 1.23 (colored)

rationalize xfs <-> pagebuf interface

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

pagebuf rationalization

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jul 25 16:26:01 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.21: +28 -19 lines
Diff to previous 1.21 (colored)

kill buftarg.bd_targ

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

remove two useless pagebuf macros

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

remove kdev_t abuse from XFS

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jul 18 22:43:46 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Use major() instead of MAJOR() to keep in sync with 2.5

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

Do determination of allowed request layouts at mount time
rather than at request time. Probably about a million less
tests this way.

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

whitespace cleanup

Revision 1.16 / (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.15: +1 -1 lines
Diff to previous 1.15 (colored)

Update copyright dates

Revision 1.15 / (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.14: +3 -3 lines
Diff to previous 1.14 (colored)

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

Revision 1.14 / (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.13: +1 -1 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Thu May 30 17:05:48 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.12: +1 -0 lines
Diff to previous 1.12 (colored)

Missing copyright

Revision 1.12 / (download) - annotate - [select for diffs], Thu May 30 11:10:16 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.11: +3 -20 lines
Diff to previous 1.11 (colored)

get rid of the zone for pagebuf target structures, just kmalloc it

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

clean up pagebuf target handling, get rid of backwards compatibility code

Revision 1.10 / (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.9: +4 -5 lines
Diff to previous 1.9 (colored)

no need for disabling irq anymore in here

Revision 1.9 / (download) - annotate - [select for diffs], Fri Apr 26 01:35:51 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

page size is a better choice for initial blocksize than minimum blocksize,
given the current thoughts on how to implement multiple blocksizes.

Revision 1.8 / (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.7: +2 -2 lines
Diff to previous 1.7 (colored)

initialise the blocksize information in a new pb_target_t to 512 for
that small time window between start of mount and where we know what
the blocksize is (there's a read of the superblock in that window, of
course).

Revision 1.7 / (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.6: +118 -316 lines
Diff to previous 1.6 (colored)

rewrite pagebuf locking. The avl tree is gone and is replaced by hash
buckets. Code is simpler, smaller and faster.

Revision 1.6 / (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.5: +3 -4 lines
Diff to previous 1.5 (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.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: +7 -17 lines
Diff to previous 1.4 (colored)

Fold some code together, we were doing everything pagebuf_lock does,
but not calling it.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Feb 22 00:16:14 2002 UTC (15 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.3: +1 -0 lines
Diff to previous 1.3 (colored)

add explicit include of linux/bitops.h - some architectures don't seem to
pick this up though the existing set of includes.

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: +16 -0 lines
Diff to previous 1.2 (colored)

Deal with finding stale buffers in the cache

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_locking.c 1.17 Renamed to linux/fs/xfs/pagebuf/page_buf_locking.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>