linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs-progs: task: add prefn() to task_info and simplify task_start()
@ 2018-08-21 18:23 damenly.su
  2018-08-21 18:23 ` [PATCH 1/2] btrfs-progs: task: add prefn() into struct task_info damenly.su
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: damenly.su @ 2018-08-21 18:23 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Su Yue

From: Su Yue <suy.fnst@cn.fujitsu.com>

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-08-22  4:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-21 18:23 [PATCH 0/2] btrfs-progs: task: add prefn() to task_info and simplify task_start() damenly.su
2018-08-21 18:23 ` [PATCH 1/2] btrfs-progs: task: add prefn() into struct task_info damenly.su
2018-08-21 18:23 ` [PATCH 2/2] btrfs-progs: task: add init_ctx and clean up arguments of task_start() damenly.su
2018-08-21 19:38 ` [PATCH 0/2] btrfs-progs: task: add prefn() to task_info and simplify task_start() Nikolay Borisov
2018-08-22  0:45   ` Su Yue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).