From: Nikolay Borisov <nborisov@suse.com>
To: linux-btrfs@vger.kernel.org
Cc: Nikolay Borisov <nborisov@suse.com>
Subject: [PATCH 0/3] Misc cleanups to cached extent
Date: Fri, 4 May 2018 10:47:24 +0300 [thread overview]
Message-ID: <1525420047-17397-1-git-send-email-nborisov@suse.com> (raw)
Here are a couple of cleanups I stumbled upon while looking at the freespace
validation code. The first one simplifies btrfs_rmap_block that has an unused
parameter. The next 2 patches cleanup the cache_extent apis since they provide
more than we are actually using (or have ever used).
Nikolay Borisov (3):
btrfs-progs: Remove devid parameter from btrfs_rmap_block
btrfs-progs: Remove add_cache_extent2
btrfs-progs: Remove objectid argument from alloc_cache_extent
check/main.c | 2 +-
extent-cache.c | 21 ++++-----------------
extent-cache.h | 2 --
extent-tree.c | 10 +++++-----
volumes.c | 7 ++-----
volumes.h | 4 ++--
6 files changed, 14 insertions(+), 32 deletions(-)
--
2.7.4
next reply other threads:[~2018-05-04 7:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-04 7:47 Nikolay Borisov [this message]
2018-05-04 7:47 ` [PATCH 1/3] btrfs-progs: Remove devid parameter from btrfs_rmap_block Nikolay Borisov
2018-05-04 7:47 ` [PATCH 2/3] btrfs-progs: Remove add_cache_extent2 Nikolay Borisov
2018-05-04 7:47 ` [PATCH 3/3] btrfs-progs: Remove objectid argument from alloc_cache_extent Nikolay Borisov
2018-05-04 8:54 ` [PATCH 0/3] Misc cleanups to cached extent Qu Wenruo
2018-05-08 17:07 ` 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=1525420047-17397-1-git-send-email-nborisov@suse.com \
--to=nborisov@suse.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 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).