commit | c4a77a6c7dcff04a2abc7fe4b6b2ae605be41c5b | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed Sep 16 15:18:25 2009 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Sep 16 15:18:25 2009 +0200 |
tree | 2e0a4097cab5b94249f69fae7ebbcb22d6c8f225 | |
parent | f0fad8a530e7cbad5f686dbca3079d1a626a3882 [diff] |
writeback: make wb_writeback() take an argument structure We need to be able to pass in range_cyclic as well, so instead of growing yet another argument, split the arguments into a struct wb_writeback_args structure that we can use internally. Also makes it easier to just copy all members to an on-stack struct, since we can't access work after clearing the pending bit. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>