diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2013-03-19 21:16:43 +0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-03-23 04:13:59 +0400 |
commit | ae8bf312e97d554b6aa32e7b2ceb993812ad0835 (patch) | |
tree | 7ed6d4fcf6385c1dbc694cf4f43f884436ae104a /sound/spi | |
parent | 9114d79569a3fb858a7ecb1f21cb1dec93dc2f21 (diff) | |
download | linux-ae8bf312e97d554b6aa32e7b2ceb993812ad0835.tar.xz |
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 <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'sound/spi')
0 files changed, 0 insertions, 0 deletions