Sectorsize, csum_size lifted to fs_info
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 21 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | btrfs: use precalculated sectorsize_bits from fs_infofs/ fs/ fs/ +5 more | +26 | 7 replies | |
| 2/10 | btrfs: replace div_u64 by shift in free_space_bitmap_sizefs/ | +8 | 1 reply | |
| 3/10 | btrfs: replace s_blocksize_bits with fs_info::sectorsize_bitsfs/ fs/ fs/ +4 more | +25 | 2 replies | |
| 4/10 | btrfs: store precalculated csum_size in fs_infofs/ fs/ | +2 | 0 replies | |
| 5/10 | btrfs: precalculate checksums per leaf oncefs/ fs/ fs/ | +3 | 3 replies | |
| 6/10 | btrfs: use cached value of fs_info::csum_size everywherefs/ fs/ fs/ +8 more | +23 | 1 reply | |
| 7/10 | btrfs: switch cached fs_info::csum_size from u16 to u32fs/ fs/ fs/ +6 more | +18 | 0 replies | |
| 8/10 | btrfs: remove unnecessary local variables for checksum sizefs/ fs/ fs/ +1 more | +5 | 1 reply | |
| 9/10 | btrfs: check integrity: remove local copy of csum_sizefs/ | +1 | 1 reply | |
| 10/10 | btrfs: scrub: remove local copy of csum_size from contextfs/ | +9 | 3 replies |
Reviews trailers per patch
4 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Johannes Thumshirn | Qu Wenruo |
|---|---|---|
| 1/10 | ||
| 2/10 | R-b | |
| 3/10 | R-b | |
| 4/10 | ||
| 5/10 | ||
| 6/10 | R-b | |
| 7/10 | ||
| 8/10 | ||
| 9/10 | ||
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10] Sectorsize, csum_size lifted to fs_info
Clean up usage of multiplication or division by sectorsize by shifts, checksums per leaf are calculated once and csum_size has a copy in fs_info so we don't have to read it from raw superblocks.
David Sterba (10):
btrfs: use precalculated sectorsize_bits from fs_info
btrfs: replace div_u64 by shift in free_space_bitmap_size
btrfs: replace s_blocksize_bits with fs_info::sectorsize_bits
btrfs: store precalculated csum_size in fs_info
btrfs: precalculate checksums per leaf once
btrfs: use cached value of fs_info::csum_size everywhere
btrfs: switch cached fs_info::csum_size from u16 to u32
btrfs: remove unnecessary local variables for checksum size
btrfs: check integrity: remove local copy of csum_size
btrfs: scrub: remove local copy of csum_size from context
fs/btrfs/btrfs_inode.h | 3 +- fs/btrfs/check-integrity.c | 6 +--- fs/btrfs/compression.c | 9 ++---- fs/btrfs/ctree.h | 5 +++- fs/btrfs/disk-io.c | 11 ++++--- fs/btrfs/extent-tree.c | 11 ++----- fs/btrfs/extent_io.c | 4 +-- fs/btrfs/file-item.c | 60 ++++++++++++++++++-------------------- fs/btrfs/file.c | 3 +- fs/btrfs/free-space-tree.c | 30 +++++++++---------- fs/btrfs/inode.c | 13 ++++----- fs/btrfs/ordered-data.c | 11 ++++--- fs/btrfs/ordered-data.h | 3 +- fs/btrfs/scrub.c | 31 ++++++++++---------- fs/btrfs/super.c | 2 +- fs/btrfs/tree-checker.c | 5 ++-- 16 files changed, 95 insertions(+), 112 deletions(-)
Signature · 1 line
2.25.0