Struct to fs_info helpers
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 5 repliesIn review
- v15 patches 11 repliesSuperseded
Changes in v2 from the cover letter
- move helper definitions to fs.h
- add _Generic to the macros for type checking
- reuse helpers to some code duplication
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | btrfs: tests: allocate dummy fs_info and root in test_find_delalloc()fs/ | +24 | 0 replies | |
| 2/5 | btrfs: add helpers to get inode from page/folio pointersfs/ fs/ fs/ +1 more | +12 | 0 replies | |
| 3/5 | btrfs: add helpers to get fs_info from page/folio pointersfs/ fs/ fs/ +3 more | +15 | 0 replies | |
| 4/5 | btrfs: add helper to get fs_info from struct inode pointerfs/ fs/ fs/ +11 more | +71 | 3 replies | |
| 5/5 | btrfs: hoist fs_info out of loops in end_bbio_data_write and end_bbio_data_readfs/ | +4 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Johannes Thumshirn | Anand Jain |
|---|---|---|
| Series | R-b | R-b |
| 1/5 | ||
| 2/5 | ||
| 3/5 | ||
| 4/5 | ||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5 v2] Struct to fs_info helpers
v2:
- move helper definitions to fs.h
- add _Generic to the macros for type checking
- reuse helpers to some code duplication
Add convenience helpers for getting a fs_info from page, bio, inode etc. There's one prep patch where tests use a normal helper that expects valid inode->root->fs_info.
David Sterba (5):
btrfs: tests: allocate dummy fs_info and root in test_find_delalloc()
btrfs: add helpers to get inode from page/folio pointers
btrfs: add helpers to get fs_info from page/folio pointers
btrfs: add helper to get fs_info from struct inode pointer
btrfs: hoist fs_info out of loops in end_bbio_data_write and
end_bbio_data_read
fs/btrfs/compression.c | 8 +++--- fs/btrfs/defrag.c | 4 +-- fs/btrfs/disk-io.c | 11 ++++---- fs/btrfs/export.c | 2 +- fs/btrfs/extent_io.c | 45 ++++++++++++++++---------------- fs/btrfs/file.c | 14 +++++----- fs/btrfs/free-space-cache.c | 2 +- fs/btrfs/fs.h | 11 ++++++++ fs/btrfs/inode.c | 42 ++++++++++++++--------------- fs/btrfs/ioctl.c | 40 ++++++++++++++-------------- fs/btrfs/lzo.c | 4 +-- fs/btrfs/props.c | 2 +- fs/btrfs/reflink.c | 6 ++--- fs/btrfs/relocation.c | 2 +- fs/btrfs/tests/extent-io-tests.c | 28 +++++++++++++++++--- 15 files changed, 126 insertions(+), 95 deletions(-)
Signature · 1 line
2.42.1