commit | b536f69a3a589113992c32982bf2981c8225c9da | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Sun Apr 28 23:32:34 2013 -0500 |
committer | Sage Weil <sage@inktank.com> | Wed May 01 21:20:07 2013 -0700 |
tree | 389599582a07f0e268a0ad4a755027aa1c8319fa | |
parent | 8ad42cd0c002fa278f6d0135e22fcb188e400a28 [diff] |
rbd: set up devices only for mapped images Stop setting up Linux devices during the image probe operation. Instead, set up the devices as a separate step after the image probe, in rbd_add(). A consequence of this is that only mapped images get devices assigned to them, which is pretty sweet. This resolves: http://tracker.ceph.com/issues/4774 Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>