commit | 6d292906f80170f4647079dd503df18b737750af | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Mon Jan 14 12:43:31 2013 -0600 |
committer | Sage Weil <sage@inktank.com> | Wed Feb 13 18:29:10 2013 -0800 |
tree | 2fc2b4f1235375cd143ab261540ce19e56d8ab62 | |
parent | 8eb87565306cf40a32f5d0883d008675cd2dd510 [diff] |
rbd: define flags field, use it for exists flag Define a new rbd device flags field, manipulated using bit operations. Replace the use of the current "exists" flag with a bit in this new "flags" field. Add a little commentary about the "exists" flag, which does not need to be manipulated atomically. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>