Skip to content

writeback: Dirty list handling changes

Jan Kara linux-fsdevel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/24 patches 6 repliesIn review
  2. v1 RFC posting 1/24 patches 0 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4writeback: Get rid of superblock pinningfs/fs-writeback.c include/trace/events/writeback.h+17 -890 replies
2/4writeback: Move removal from writeback list in evict()fs/inode.c+2 -30 replies
3/4writeback: Replace several writeback lists with inode taggingfs/fs-writeback.c include/linux/backing-dev.h include/linux/fs.h +2 more+116 -2100 replies
4/4writeback: Remove pages_skipped from writeback_controlfs/btrfs/extent_io.c fs/ceph/addr.c fs/f2fs/checkpoint.c +8 more+10 -341 reply

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 RESEND] writeback: Dirty list handling changes

Hello,

so I was recently thinking about how writeback code shuffles inodes between
lists and also how redirty_tail() clobbers dirtied_when timestamp (which broke my sync(2) optimization). This patch series came out of that. Patch 1 is a clear win and just needs an independent review that I didn't forget about something. Patch 3 changes writeback list handling - IMHO it makes the logic somewhat more straightforward as we don't have to bother shuffling inodes between lists and we also don't need to clobber dirtied_when timestamp. But opinions may differ...

Patches passed xfstests run and I did some basic writeback tests using tiobench and some artifical sync livelock tests to verify nothing regressed. So I'd be happy if people could have a look.

Honza