[PATCH] separate bdi congestion functions from queue congestion functions
authorAndrew Morton <akpm@osdl.org>
Fri, 20 Oct 2006 06:28:16 +0000 (23:28 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 20 Oct 2006 17:26:35 +0000 (10:26 -0700)
commit3fcfab16c5b86eaa3db3a9a31adba550c5b67141
treebd348fa081b8fbec2c79fbf8f173a306d70b2b2c
parent79e2de4bc53d7ca2a8eedee49e4a92479b4b530e
[PATCH] separate bdi congestion functions from queue congestion functions

Separate out the concept of "queue congestion" from "backing-dev congestion".
Congestion is a backing-dev concept, not a queue concept.

The blk_* congestion functions are retained, as wrappers around the core
backing-dev congestion functions.

This proper layering is needed so that NFS can cleanly use the congestion
functions, and so that CONFIG_BLOCK=n actually links.

Cc: "Thomas Maier" <balagi@justmail.de>
Cc: "Jens Axboe" <jens.axboe@oracle.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: David Howells <dhowells@redhat.com>
Cc: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
17 files changed:
arch/i386/lib/usercopy.c
block/ll_rw_blk.c
drivers/md/dm-crypt.c
fs/fat/file.c
fs/nfs/write.c
fs/reiserfs/journal.c
fs/xfs/linux-2.6/kmem.c
fs/xfs/linux-2.6/xfs_buf.c
include/linux/backing-dev.h
include/linux/blkdev.h
include/linux/writeback.h
mm/Makefile
mm/backing-dev.c [new file with mode: 0644]
mm/page-writeback.c
mm/page_alloc.c
mm/shmem.c
mm/vmscan.c