writeback: propagate the various reasons for writeback
authorJens Axboe <axboe@fb.com>
Mon, 28 Mar 2016 15:12:17 +0000 (09:12 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 28 Mar 2016 15:12:17 +0000 (09:12 -0600)
commit2f8149ed2bafac6a50b05397e3902c854428c5da
treea9cdaa37ca16a74fd4cc8dc557de66b599e33e70
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
writeback: propagate the various reasons for writeback

Avoid losing context by propagating the various reason why we
initiate writeback. If we are doing more important reclaim or
synchronous writeback, the lower levels should know about it.

Signed-off-by: Jens Axboe <axboe@fb.com>
fs/fs-writeback.c