commit | f35a4dee14c31dc00807f3bcd59cc7a6959f63d7 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Mon May 06 09:51:29 2013 -0500 |
committer | Alex Elder <elder@inktank.com> | Wed May 08 17:00:00 2013 -0500 |
tree | f0919e92b27e9e9c556afa66e2ca69cdd601226c | |
parent | 51344a38ba2033be18a4ec23e318845caeccdc04 [diff] |
rbd: set the mapping size and features later Defer setting the size and features fields of a mapped image until after the Linux disk structure is set up. Set the capacity of the disk after that. Rearrange the definition of rbd_image_header, separating the fields that are set only once from those that can be updated. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>