Re: [PATCH 3/3] writeback: tracking subsystems causing writeback

From: Andi Kleen
Date: Sat Jun 19 2010 - 04:17:16 EST


Michael Rubin <mrubin@xxxxxxxxxx> writes:
>
> # cat /sys/block/sda/bdi/writeback_stats
> balance dirty pages 0
> balance dirty pages waiting 0
> periodic writeback 92024
> periodic writeback exited 0
> laptop periodic 0
> laptop or bg threshold 0
> free more memory 0
> try to free pages 271
> syc_sync 6
> sync filesystem 0

That exports a lot of kernel internals in /sys, presumably read by some
applications. What happens with the applications if the kernel internals
ever change? Will the application break?

It would be bad to not be able to change the kernel because of
such an interface.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/