Skip to content

writeback: more clean-ups and fixes

Artem Bityutskiy linux-fsdevel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3writeback: remove redundant list initializationmm/backing-dev.c+0 -10 replies
2/3writeback: simplify bdi code a littleinclude/linux/backing-dev.h mm/backing-dev.c+23 -630 replies
3/3writeback: fix possible race when shutting down bdimm/backing-dev.c+28 -130 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/3] writeback: more clean-ups and fixes

[Sorry for a duplicating mail, I tried to make this series to be
an In-Reply-To to the previous clean-up series, but failed, so just re-sending with git send-email ]

And on top of those 4 clean-up patches I've implemented the following 3 patches which do further clean-up and fix one of the races I see. There is more work, but I am sending this early to get an early feedback.

Note, I only gave few test to my patches - booted Fedora, made sure bdi writeback threads are created/deleted/doing writeback, hotplugged external USB drive, saw writeback thread created, unplugged and saw it be removed. Did some work while running a kernel with these patches.

The patches are against your for-2.6.36 branch.

My long-term plan is to get rid of unneeded wake-ups, but I'm still just reading your code and learning, and clean-up / fix things I spot.

Artem.