On Thu, 22 April 2010 14:08:37 +0200, Jens Axboe wrote:
One way would be to either add a flag to all safe filesystems or create
a noop_bdi for them. It adds a line of code and some bytes[*] per
instance to most filesystems, but that's the only catchall I can think
of.
I guess if noone comes up with a better plan I'll look into that.
[*] Maybe we can steal a bit somewhere to make it less expensive.
Jörn
--
You can't tell where a program is going to spend its time. Bottlenecks
occur in surprising places, so don't try to second guess and put in a
speed hack until you've proven that's where the bottleneck is.
-- Rob Pike
--