[Drbd-dev] [PATCH] drbdmeta: also show negotiated size in sectors
Lars Ellenberg
lars.ellenberg at linbit.com
Mon Jul 27 13:19:58 CEST 2009
On Sun, Jul 26, 2009 at 04:36:00PM +0200, Iustin Pop wrote:
> Currently drbdmeta shows the last agreed size in "nice" units, e.g.
> 100GB. But this is imprecise, as the shifting of cfg->md.la_sect loses
> the low-order bits.
>
> This small patch adds a new line to the output of drbdmeta that shows
> the exact negotiated size in sectors (for both new and initialized
> devices), such that the output of drbdmeta can be parsed.
> ---
> This is against drbd 8.3 but should apply (and I would be grateful if this is
> applied) to 8.0 too.
May I ask what the use case is?
--
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com
DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
More information about the drbd-dev
mailing list