Skip to content

Kill the btree inode

Josef Bacik linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Btrfs: replace tree->mapping with tree->private_datafs/btrfs/ctree.h fs/btrfs/disk-io.c fs/btrfs/disk-io.h +6 more+133 -940 replies
2/7btrfs: remove inode argument from repair_io_failurefs/btrfs/extent_io.c fs/btrfs/extent_io.h fs/btrfs/scrub.c+11 -110 replies
3/7Btrfs: add a flags field to btrfs_fs_infofs/btrfs/btrfs_inode.h fs/btrfs/ctree.h fs/btrfs/delayed-inode.c +12 more+98 -1091 reply
4/7Btrfs: kill the start argument to read_extent_buffer_pagesfs/btrfs/disk-io.c fs/btrfs/extent_io.c fs/btrfs/extent_io.h+14 -271 reply
5/7Btrfs: don't pass the inode through clean_io_failurefs/btrfs/extent_io.c fs/btrfs/extent_io.h fs/btrfs/inode.c+52 -310 replies
6/7Btrfs: kill the btree_inodefs/btrfs/btrfs_inode.h fs/btrfs/ctree.c fs/btrfs/ctree.h +11 more+726 -7483 replies
7/7Btrfs: kill BUG_ON()'s in btrfs_mark_extent_writtenfs/btrfs/file.c+33 -81 reply

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchDavid Sterba
1/7
2/7
3/7R-b
4/7R-b
5/7
6/7
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] Kill the btree inode

In order to provide a better way to do subpage blocksizes we need to stop allocating pages from a per fs btree inode and instead allocate our own pages. This work depends on 3 generic patches that I've sent previously

remove mapping from balance_dirty_pages*()
writeback: allow for dirty metadata accounting
writeback: introduce super_operations->write_metadata

This is a pretty big change but ultimately makes extent_buffer reclaim much cleaner and will make the sub-pagesize blocksize work significantly cleaner. I've been hammering on this for a few weeks now and seems to be pretty solid. Thanks,

Josef