]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
fuse: update backing_dev_info congestion state
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 17 Oct 2007 06:30:59 +0000 (23:30 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:43:03 +0000 (08:43 -0700)
commitf92b99b9dccb61760b345baf40ed37f59b91f8af
tree1460ac391186be79beb79a6d4030cc387239681c
parentfdc1ca8abae72c5829e099fd35626b83ecb12666
fuse: update backing_dev_info congestion state

Set the read and write congestion state if the request queue is close to
blocking, and clear it when it's not.

This prevents unnecessary blocking in readahead and (when writable mmaps are
allowed) writeback.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fuse/dev.c
fs/fuse/fuse_i.h