]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Fix congestion_wait() sync/async vs read/write confusion
authorJens Axboe <jens.axboe@oracle.com>
Thu, 9 Jul 2009 12:52:32 +0000 (14:52 +0200)
committerJens Axboe <axboe@carl.(none)>
Fri, 10 Jul 2009 18:31:53 +0000 (20:31 +0200)
commit8aa7e847d834ed937a9ad37a0f2ad5b8584c1ab0
tree76c8b4f1362a928d426f2201790ab5d128f57724
parentc2cc49a2f8a479dde96a599646d30b6cc9dbed78
Fix congestion_wait() sync/async vs read/write confusion

Commit 1faa16d22877f4839bd433547d770c676d1d964c accidentally broke
the bdi congestion wait queue logic, causing us to wait on congestion
for WRITE (== 1) when we really wanted BLK_RW_ASYNC (== 0) instead.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
16 files changed:
arch/x86/lib/usercopy_32.c
drivers/block/pktcdvd.c
drivers/md/dm-crypt.c
fs/fat/file.c
fs/fuse/dev.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
mm/backing-dev.c
mm/memcontrol.c
mm/page-writeback.c
mm/page_alloc.c
mm/vmscan.c