And on top of those 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. -- Best Regards, Artem Bityutskiy (Артём Битюцкий) -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html