From: Lars Ellenberg Date: Tue, 19 Mar 2013 17:16:43 +0000 (+0100) Subject: drbd: cleanup ondisk meta data layout calculations and defines X-Git-Tag: omap-for-v3.10/fixes-for-merge-window-part2~10^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae8bf312e97d554b6aa32e7b2ceb993812ad0835;p=pandora-kernel.git drbd: cleanup ondisk meta data layout calculations and defines Add a comment about our meta data layout variants, and rename a few defines (e.g. MD_RESERVED_SECT -> MD_128MB_SECT) to make it clear that they are short hand for fixed constants, and not arbitrarily to be redefined as one may see fit. Properly pad struct meta_data_on_disk to 4kB, and initialize to zero not only the first 512 Byte, but all of it in drbd_md_sync(). Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg Signed-off-by: Jens Axboe --- Reading git-diff-tree failed