Skip to content
Commit c4a77a6c authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJens Axboe <jens.axboe@oracle.com>
parent f0fad8a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment