summaryrefslogtreecommitdiffstats
path: root/drivers/vhost
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-08-31 17:29:51 -0500
committerAlex Elder <elder@inktank.com>2012-10-01 14:30:51 -0500
commitf84344f334df8f1d41eba7cfa7eb1024da25e1fe (patch)
treefa50840800a981c6a5c9b5e52f372dbea4f81088 /drivers/vhost
parentc9aadfe7860f83ee17e55fe17398f3fe948a0a84 (diff)
downloadlinux-stable-f84344f334df8f1d41eba7cfa7eb1024da25e1fe.tar.gz
linux-stable-f84344f334df8f1d41eba7cfa7eb1024da25e1fe.tar.bz2
linux-stable-f84344f334df8f1d41eba7cfa7eb1024da25e1fe.zip
rbd: separate mapping info in rbd_dev
Several fields in a struct rbd_dev are related to what is mapped, as opposed to the actual base rbd image. If the base image is mapped these are almost unneeded, but if a snapshot is mapped they describe information about that snapshot. In some contexts this can be a little bit confusing. So group these mapping-related field into a structure to make it clear what they are describing. This also includes a minor change that rearranges the fields in the in-core image header structure so that invariant fields are at the top, followed by those that change. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions