]> www.infradead.org Git - users/jedix/linux-maple.git/commit
loop: loop_thread needs to set the PF_LESS_THROTTLE flag
authorDave Kleikamp <dave.kleikamp@oracle.com>
Tue, 24 Apr 2012 22:43:47 +0000 (17:43 -0500)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Tue, 24 Apr 2012 22:43:47 +0000 (17:43 -0500)
commitb67ffdd0b198da23a53ffb5a2f58b673cd9159eb
tree2770f64f25869d158c82ad6bb8560beeb91d1294
parent4ec6cbbd5c530f02f6a8d2b74389fa874a714e18
loop: loop_thread needs to set the PF_LESS_THROTTLE flag

The underlying file system may call balance_dirty_pages. We don't want
it to throttle there since we may be in the process of writing dirty
pages. This patch addresses the problem in the same manner as a local
nfs mount, as nfsd does the same.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
drivers/block/loop.c