From: David Sterba <dsterba@suse.com>
To: linux-btrfs@vger.kernel.org
Cc: David Sterba <dsterba@suse.com>
Subject: [PATCH 00/12] Short cleanups
Date: Tue, 6 Jan 2026 17:20:23 +0100 [thread overview]
Message-ID: <cover.1767716314.git.dsterba@suse.com> (raw)
Collection of short clenups that improve code that's somehow performance
sensitive. The improvements are on instruction level or reduce stack
consumption.
David Sterba (12):
btrfs: remove duplicate calculation of eb offset in btrfs_bin_search()
btrfs: unify types for binary search variables
btrfs: rename local variable for offset in folio
btrfs: read eb folio index right before loops
btrfs: use common eb range validation in
read_extent_buffer_to_user_nofault()
btrfs: lzo: inline read/write length helpers
btrfs: zlib: drop redundant folio address variable
btrfs: zlib: don't cache sectorsize in a local variable
btrfs: zlib: remove local variable nr_dest_folios in
zlib_compress_folios()
btrfs: zstd: reuse total in and out parameters for calculations
btrfs: zstd: don't cache sectorsize in a local variable
btrfs: zstd: remove local variable nr_dest_folios in
zstd_compress_folios()
fs/btrfs/ctree.c | 11 +++++------
fs/btrfs/extent_io.c | 23 ++++++++++++-----------
fs/btrfs/lzo.c | 28 ++++++----------------------
fs/btrfs/zlib.c | 25 +++++++++----------------
fs/btrfs/zstd.c | 43 +++++++++++++++++--------------------------
5 files changed, 49 insertions(+), 81 deletions(-)
--
2.51.1
next reply other threads:[~2026-01-06 16:20 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-06 16:20 David Sterba [this message]
2026-01-06 16:20 ` [PATCH 01/12] btrfs: remove duplicate calculation of eb offset in btrfs_bin_search() David Sterba
2026-01-07 19:34 ` Boris Burkov
2026-01-06 16:20 ` [PATCH 02/12] btrfs: unify types for binary search variables David Sterba
2026-01-07 19:33 ` Boris Burkov
2026-01-08 20:45 ` David Sterba
2026-01-06 16:20 ` [PATCH 03/12] btrfs: rename local variable for offset in folio David Sterba
2026-01-07 19:34 ` Boris Burkov
2026-01-06 16:20 ` [PATCH 04/12] btrfs: read eb folio index right before loops David Sterba
2026-01-07 22:01 ` Boris Burkov
2026-01-08 21:04 ` David Sterba
2026-01-06 16:20 ` [PATCH 05/12] btrfs: use common eb range validation in read_extent_buffer_to_user_nofault() David Sterba
2026-01-08 18:32 ` Boris Burkov
2026-01-06 16:20 ` [PATCH 06/12] btrfs: lzo: inline read/write length helpers David Sterba
2026-01-06 16:20 ` [PATCH 07/12] btrfs: zlib: drop redundant folio address variable David Sterba
2026-01-06 16:20 ` [PATCH 08/12] btrfs: zlib: don't cache sectorsize in a local variable David Sterba
2026-01-06 16:20 ` [PATCH 09/12] btrfs: zlib: remove local variable nr_dest_folios in zlib_compress_folios() David Sterba
2026-01-08 18:37 ` Boris Burkov
2026-01-08 21:14 ` David Sterba
2026-01-06 16:20 ` [PATCH 10/12] btrfs: zstd: reuse total in and out parameters for calculations David Sterba
2026-01-08 18:42 ` Boris Burkov
2026-01-06 16:20 ` [PATCH 11/12] btrfs: zstd: don't cache sectorsize in a local variable David Sterba
2026-01-08 18:53 ` Boris Burkov
2026-01-06 16:20 ` [PATCH 12/12] btrfs: zstd: remove local variable nr_dest_folios in zstd_compress_folios() David Sterba
2026-01-08 18:44 ` Boris Burkov
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=cover.1767716314.git.dsterba@suse.com \
--to=dsterba@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