[PATCH] clean up argument passing in writeback paths
authorAndrew Morton <akpm@digeo.com>
Thu, 19 Sep 2002 15:35:46 +0000 (08:35 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 19 Sep 2002 15:35:46 +0000 (08:35 -0700)
commit967e6864e6e171a2c1053fe1d0c55937f71d1665
tree7663c6ba7a99bcf22f881f36e698e524a8b7bffb
parent18cddbe6c6858dd2a1d6bd60798d08da8d367f3e
[PATCH] clean up argument passing in writeback paths

The writeback code paths which walk the superblocks and inodes are
getting an increasing arguments passed to them.

The patch wraps those args into the new `struct writeback_control',
and uses that instead.  There is no functional change.

The new writeback_control structure is passed down through the
writeback paths in the place where the old `nr_to_write' pointer used
to be.

writeback_control will be used to pass new information up and down the
writeback paths.  Such as whether the writeback should be non-blocking,
and whether queue congestion was encountered.
12 files changed:
fs/ext2/inode.c
fs/ext3/inode.c
fs/fs-writeback.c
fs/jfs/inode.c
fs/mpage.c
include/linux/fs.h
include/linux/mpage.h
include/linux/writeback.h
mm/filemap.c
mm/page-writeback.c
mm/page_io.c
mm/vmscan.c