linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Profile mask and calculation cleanups
@ 2022-06-23 14:56 David Sterba
  2022-06-23 14:57 ` [PATCH 1/2] btrfs: use mask for all RAID1* profiles in btrfs_calc_avail_data_space David Sterba
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: David Sterba @ 2022-06-23 14:56 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-06-24 13:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-23 14:56 [PATCH 0/2] Profile mask and calculation cleanups David Sterba
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

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).