splice: adjust balance_dirty_pages_ratelimited() call
authorJens Axboe <jens.axboe@oracle.com>
Fri, 15 Jun 2007 11:10:37 +0000 (13:10 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 15 Jun 2007 11:10:37 +0000 (13:10 +0200)
commit17ee4f49ab2c802c7818fa71c4e7e351a7230b86
tree0ef214dd76cf9f95aa023021aa2f2c0173a9b41d
parent22b1a9203ea634ac0ee5240e021613da3328275f
splice: adjust balance_dirty_pages_ratelimited() call

As we have potentially dirtied more than 1 page, we should indicate as
such to the dirty page balancing. So call
balance_dirty_pages_ratelimited_nr() and pass in the approximate number
of pages we dirtied.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/splice.c