From: Su Yue <[email protected]> This patchset is a prepare work for further process of check.
patch[1] adds prefn() to task_info and call it before pthread_create(). patch[2] moves time and count initializations into the new init_ctx(), assign it to prefun(). Remove arguments start_time and item_count. Su Yue (2): btrfs-progs: task: add prefn() into struct task_info btrfs-progs: task: add init_ctx and clean up arguments of task_start() check/main.c | 27 +++++++++++++++++++-------- convert/main.c | 6 +++--- task-utils.c | 17 +++++++++-------- task-utils.h | 5 +++-- 4 files changed, 34 insertions(+), 21 deletions(-) -- 2.17.1
