From: Lars Ellenberg Date: Tue, 19 Mar 2013 17:16:47 +0000 (+0100) Subject: drbd: read meta data early, base on-disk offsets on super block X-Git-Tag: omap-for-v3.10/fixes-for-merge-window-part2~10^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c04ccaa669e147ffb66e4e74d82c7dbfc100ec5e;p=pandora-kernel.git drbd: read meta data early, base on-disk offsets on super block We used to calculate all on-disk meta data offsets, and then compare the stored offsets, basically treating them as magic numbers. Now with the activity log striping, the activity log size is no longer fixed. We need to first read the super block, then base the activity log and bitmap offsets on the stored offsets/al stripe settings. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg Signed-off-by: Jens Axboe --- Reading git-diff-tree failed