Skip to content

Remove indirect iterators for inode references

David Sterba linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs: call inode_to_path directly and drop indirectionfs/btrfs/backref.c+20 -300 replies
2/4btrfs: simplify parameters of backref iteratorsfs/btrfs/backref.c+12 -110 replies
3/4btrfs: sink iterator parameter to btrfs_ioctl_logical_to_inofs/btrfs/backref.c fs/btrfs/backref.h fs/btrfs/ioctl.c+24 -260 replies
4/4btrfs: remove unused typedefs get_extent_t and btrfs_work_func_tfs/btrfs/async-thread.h fs/btrfs/extent_io.h+0 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Remove indirect iterators for inode references

There's support for a generic iterator over inode references that is for example used to resolve inode number to all paths but there's only one such iterator implementation so it's not necessary, unless somebody has an idea for more such iterators. There is a similar pattern used for extent iterator utilizing the indirection, but I think we can remove it for the inode refs.

David Sterba (4):
btrfs: call inode_to_path directly and drop indirection
btrfs: simplify parameters of backref iterators
btrfs: sink iterator parameter to btrfs_ioctl_logical_to_ino
btrfs: remove unused typedefs get_extent_t and btrfs_work_func_t

 fs/btrfs/async-thread.h |  1 -
 fs/btrfs/backref.c      | 88 +++++++++++++++++++++++------------------
 fs/btrfs/backref.h      |  3 +-
 fs/btrfs/extent_io.h    |  4 --
 fs/btrfs/ioctl.c        | 22 +----------
 5 files changed, 51 insertions(+), 67 deletions(-)
Signature · 1 line
2.36.1