All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
To: <linux-btrfs@vger.kernel.org>
Subject: [PATCH 0/5] some trivial cleanup about btrfs_delete_subvolume
Date: Sat, 4 Aug 2018 21:10:52 +0800	[thread overview]
Message-ID: <20180804131057.9967-1-lufq.fnst@cn.fujitsu.com> (raw)

During I am working on the online undelete of subvolume, I found something
in the btrfs_delete_subvolume need to be clean or fix. So, the patchset
is mostly about the callee or itself of btrfs_delete_subvolume.

Patch 1,3-5 some trivial cleanup
Patch 2 fix a problem about qgroup_free_meta_prealloc() in
btrfs_subvolume_reserve_metadata()

Lu Fengqi (5):
  btrfs: simplify the send_in_progress check in btrfs_delete_subvolume()
  btrfs: use a separate variable to store the num_bytes of the
    qgroup_reserve
  btrfs: switch update_size to bool in both of btrfs_block_rsv_migrate
    and btrfs_rsv_add_bytes
  btrfs: remove a useless return statement in btrfs_block_rsv_add
  btrfs: Remove root parameter from btrfs_insert_dir_item

 fs/btrfs/ctree.h         |  5 ++---
 fs/btrfs/delayed-inode.c |  4 ++--
 fs/btrfs/dir-item.c      |  8 ++++----
 fs/btrfs/extent-tree.c   | 36 ++++++++++++++++--------------------
 fs/btrfs/file.c          |  4 ++--
 fs/btrfs/inode.c         | 20 +++++++++-----------
 fs/btrfs/ioctl.c         |  3 +--
 fs/btrfs/relocation.c    |  2 +-
 fs/btrfs/transaction.c   |  7 +++----
 9 files changed, 40 insertions(+), 49 deletions(-)

-- 
2.18.0




             reply	other threads:[~2018-08-04 15:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-04 13:10 Lu Fengqi [this message]
2018-08-04 13:10 ` [PATCH 1/5] btrfs: simplify the send_in_progress check in btrfs_delete_subvolume() Lu Fengqi
2018-08-07 16:03   ` David Sterba
2018-08-04 13:10 ` [PATCH 2/5] btrfs: use a separate variable to store the num_bytes of the qgroup_reserve Lu Fengqi
2018-08-04 13:54   ` [PATCH v2 " Lu Fengqi
2018-08-07 16:19   ` [PATCH " David Sterba
2018-08-08  3:04     ` Lu Fengqi
2018-08-08 13:56       ` David Sterba
2018-08-08 14:33         ` Lu Fengqi
2018-08-08  3:48     ` Gu, Jinxiang
2018-08-04 13:10 ` [PATCH 3/5] btrfs: switch update_size to bool in both of btrfs_block_rsv_migrate and btrfs_rsv_add_bytes Lu Fengqi
2018-08-07 16:02   ` David Sterba
2018-08-04 13:10 ` [PATCH 4/5] btrfs: remove a useless return statement in btrfs_block_rsv_add Lu Fengqi
2018-08-17 13:29   ` David Sterba
2018-08-04 13:10 ` [PATCH 5/5] btrfs: Remove root parameter from btrfs_insert_dir_item Lu Fengqi
2018-08-07 16:01   ` David Sterba

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=20180804131057.9967-1-lufq.fnst@cn.fujitsu.com \
    --to=lufq.fnst@cn.fujitsu.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.