Re: [PATCH 10/16] DRBD: proc

From: James Bottomley
Date: Sat May 02 2009 - 11:44:20 EST


On Thu, 2009-04-30 at 13:26 +0200, Philipp Reisner wrote:
> The /proc/drbd interface.
>
> Signed-off-by: Philipp Reisner <philipp.reisner@xxxxxxxxxx>
> Signed-off-by: Lars Ellenberg <lars.ellenberg@xxxxxxxxxx>

/proc is deprecated for device control and printing. I can see why you
want this (because it looks very similar to /proc/mdstat) but might it
not be better to convert it to a proper sysfs view with your own bus and
one device per connection with the stats?

James


--
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/