linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: damenly.su@gmail.com
To: linux-btrfs@vger.kernel.org
Cc: Su Yue <suy.fnst@cn.fujitsu.com>
Subject: [PATCH 0/2] btrfs-progs: task: add prefn() to task_info and simplify task_start()
Date: Tue, 21 Aug 2018 18:23:09 +0000	[thread overview]
Message-ID: <20180821182311.13997-1-suy.fnst@cn.fujitsu.com> (raw)

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

             reply	other threads:[~2018-08-21 13:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-21 18:23 damenly.su [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180821182311.13997-1-suy.fnst@cn.fujitsu.com \
    --to=damenly.su@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=suy.fnst@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).