writeback: move over_bground_thresh() to mm/page-writeback.c
authorTejun Heo <tj@kernel.org>
Fri, 22 May 2015 22:23:31 +0000 (18:23 -0400)
committerJens Axboe <axboe@fb.com>
Tue, 2 Jun 2015 14:38:13 +0000 (08:38 -0600)
commitaa661bbe1e61ce80ca4ae98804f673ede94b0827
tree43103c366edc05bb598c042ec7afa31fb9106939
parent9fc3a43e1757ab6de0e8ce83b5d5a83083174e3b
writeback: move over_bground_thresh() to mm/page-writeback.c

and rename it to wb_over_bg_thresh().  The function is closely tied to
the dirty throttling mechanism implemented in page-writeback.c.  This
relocation will allow future updates necessary for cgroup writeback
support.

While at it, add function comment.

This is pure reorganization and doesn't introduce any behavioral
changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Jan Kara <jack@suse.cz>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Cc: Greg Thelen <gthelen@google.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/fs-writeback.c
include/linux/writeback.h
mm/page-writeback.c