CVS log for xfs-linux-nodel/linux/Attic/xfs_syncd.c

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

Request diff between arbitrary revisions


Default branch: MAIN


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

Nuke

Revision 1.4 / (download) - annotate - [select for diffs], Fri May 9 15:06:35 2003 UTC (14 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.3: +0 -93 lines
Diff to previous 1.3 (colored)

Move xfs_syncd code into xfs_super.c which is the only place which uses it
code moved to xfs_super.c

Revision 1.3 / (download) - annotate - [select for diffs], Fri May 9 11:06:38 2003 UTC (14 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.2: +11 -21 lines
Diff to previous 1.2 (colored)

avoid sleep_on in the sync code
use schedule_timeout to sleep in xfs_syncd

Revision 1.2 / (download) - annotate - [select for diffs], Mon May 5 17:44:11 2003 UTC (14 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.1: +20 -20 lines
Diff to previous 1.1 (colored)

small fixes for the sync changes
- use wait_event instead of sleep_on
- use wmb() to protect lockless pointer assignments
- handle kernel_thread() failure in  linvfs_start_syncd
- some cruft is gone

Revision 1.1 / (download) - annotate - [select for diffs], Thu May 1 21:05:53 2003 UTC (14 years, 5 months ago) by lord
Branch: MAIN

Rework of how xfs syncs metadata to disk. This has a number of
benefits: We no longer walk the list of all the inodes in the
filesystem everytime the write_super is called. If you type
sync and then reset the box then everything is definitely
recovered afterwards. We remove a lot of calls to
mark_inode_dirty which did not really do us any good, and
replace them with a single one which does. kupdated does
less work in xfs now, freeing it to do other things.
Finally, get the dummy log record code working, this
means that after a period of inactivity with everything
on disk, we clean the log so that recovery does not
have any work to do.
New syncd thread which does metadata flushing periodically

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>