]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67f23973faa8d6384141224815d50f143cb50f1f
tree0ef214dd76cf9f95aa023021aa2f2c0173a9b41d
parent3b944e9c3baf5e3ca296e6c42c0fa9b3bf62ec76
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