[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>
Showing
- arch/i386/lib/usercopy.c 2 additions, 1 deletionarch/i386/lib/usercopy.c
- block/ll_rw_blk.c 0 additions, 71 deletionsblock/ll_rw_blk.c
- drivers/md/dm-crypt.c 2 additions, 1 deletiondrivers/md/dm-crypt.c
- fs/fat/file.c 2 additions, 1 deletionfs/fat/file.c
- fs/nfs/write.c 3 additions, 1 deletionfs/nfs/write.c
- fs/reiserfs/journal.c 2 additions, 1 deletionfs/reiserfs/journal.c
- fs/xfs/linux-2.6/kmem.c 3 additions, 2 deletionsfs/xfs/linux-2.6/kmem.c
- fs/xfs/linux-2.6/xfs_buf.c 2 additions, 1 deletionfs/xfs/linux-2.6/xfs_buf.c
- include/linux/backing-dev.h 7 additions, 0 deletionsinclude/linux/backing-dev.h
- include/linux/blkdev.h 20 additions, 4 deletionsinclude/linux/blkdev.h
- include/linux/writeback.h 0 additions, 1 deletioninclude/linux/writeback.h
- mm/Makefile 2 additions, 1 deletionmm/Makefile
- mm/backing-dev.c 69 additions, 0 deletionsmm/backing-dev.c
- mm/page-writeback.c 4 additions, 13 deletionsmm/page-writeback.c
- mm/page_alloc.c 3 additions, 2 deletionsmm/page_alloc.c
- mm/shmem.c 2 additions, 1 deletionmm/shmem.c
- mm/vmscan.c 3 additions, 3 deletionsmm/vmscan.c
Loading
Please register or sign in to comment