Skip to content

metadata throttling in writeback patches

Josef Bacik linux-btrfs linux-fsdevel linux-mm 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 7 repliesIn review
  2. v23 patches 8 repliesSuperseded
  3. v1 RFC2 patches 8 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4remove mapping from balance_dirty_pages*()drivers/mtd/devices/block2mtd.c fs/btrfs/disk-io.c fs/btrfs/file.c +11 more+71 -340 replies
2/4writeback: allow for dirty metadata accountingarch/tile/mm/pgtable.c drivers/base/node.c fs/fs-writeback.c +9 more+200 -243 replies
3/4writeback: convert WB_WRITTEN/WB_DIRITED counters to bytesfs/fuse/file.c include/linux/backing-dev-defs.h include/linux/backing-dev.h +2 more+25 -192 replies
4/4writeback: introduce super_operations->write_metadatafs/fs-writeback.c fs/super.c include/linux/backing-dev-defs.h +2 more+81 -62 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchJan Kara
1/4R-b
2/4
3/4
4/4R-b

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

Read the v3 thread

Cover letter [PATCH 0/4][V3] metadata throttling in writeback patches

This is the latest set of patches based on my conversations with Jan and Johannes. The biggest change has been changing the metadata accounting counters to be in bytes intead of pages in order to better support varying blocksizes. I've also stopped messing with the other pagecache related counters so we can keep them truly separate. Johannes suggested this change and I simply convert the bytes counter to pages when calculating dirty limits and such.

The other big change is changing WB_WRITTEN/WB_DIRTIED to be in bytes instead of pages as well. This is just a name and accounting change, it doesn't really change the core logic at all.

I'm sending this out ahead of my full battery of tests, but I want to get feedback on this direction as soon as possible. In the meantime I've changed my btrfs specific patches to work with these patches and am running long running tests now to verify everything still works. Thanks,

Josef

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>