diff options
author | Alex Elder <elder@inktank.com> | 2012-10-26 17:25:23 -0500 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-10-30 08:34:29 -0500 |
commit | daba5fdb4c469838dcee4b8dd4fecf7be69fa218 (patch) | |
tree | 2a1fe7ee7504648007256c8e1298b5a999cb2c7c /lib/crc32defs.h | |
parent | 971f839a7670197366c04e99472943532caeb0dc (diff) | |
download | linux-daba5fdb4c469838dcee4b8dd4fecf7be69fa218.tar.gz |
rbd: rename snap_exists field
A Boolean field "snap_exists" in an rbd mapping is used to indicate
whether a mapped snapshot has been removed from an image's snapshot
context, to stop sending requests for that snapshot as soon as we
know it's gone.
Generalize the interpretation of this field so it applies to
non-snapshot (i.e. "head") mappings. That is, define its value
to be false until the mapping has been set, and then define it to be
true for both snapshot mappings or head mappings.
Rename the field "exists" to reflect the broader interpretation.
The rbd_mapping structure is on its way out, so move the field
back into the rbd_device structure.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'lib/crc32defs.h')
0 files changed, 0 insertions, 0 deletions