linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.com>
To: linux-btrfs@vger.kernel.org
Cc: David Sterba <dsterba@suse.com>
Subject: [PATCH 0/2] Profile mask and calculation cleanups
Date: Thu, 23 Jun 2022 16:56:58 +0200	[thread overview]
Message-ID: <cover.1655996117.git.dsterba@suse.com> (raw)

There are still some instances of hardcoded values repeating what we
have in the raid attr table or using a similar expresion to calculate
things that can be simplified.

David Sterba (2):
  btrfs: use mask for all RAID1* profiles in btrfs_calc_avail_data_space
  btrfs: merge calculations for simple striped profiles in
    btrfs_rmap_block

 fs/btrfs/block-group.c | 5 ++---
 fs/btrfs/super.c       | 8 ++------
 2 files changed, 4 insertions(+), 9 deletions(-)

-- 
2.36.1


             reply	other threads:[~2022-06-23 15:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-23 14:56 David Sterba [this message]
2022-06-23 14:57 ` [PATCH 1/2] btrfs: use mask for all RAID1* profiles in btrfs_calc_avail_data_space David Sterba
2022-06-23 14:57 ` [PATCH 2/2] btrfs: merge calculations for simple striped profiles in btrfs_rmap_block David Sterba
2022-06-23 15:31 ` [PATCH 0/2] Profile mask and calculation cleanups Nikolay Borisov
2022-06-24  6:41 ` Johannes Thumshirn
2022-06-24 13:42 ` 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=cover.1655996117.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;
as well as URLs for NNTP newsgroup(s).