rbd: document rbd_spec structure
authorAlex Elder <elder@dreamhost.com>
Thu, 1 Nov 2012 13:39:26 +0000 (08:39 -0500)
committerAlex Elder <elder@inktank.com>
Thu, 17 Jan 2013 20:07:50 +0000 (14:07 -0600)
commitc66c6e0c0b04ce4a152fe02c562dd0752665d580
treea7a5ffc949c95738f035757dcd774c50c383c111
parentc3acb18196cf3d7d3db6a5121c1bc674c3fba31f
rbd: document rbd_spec structure

I promised Josh I would document whether there were any restrictions
needed for accessing fields of an rbd_spec structure.  This adds a
big block of comments that documents the structure and how it is
used--including the fact that we don't attempt to synchronize access
to it.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c