]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: load striping information when opening image
authorSage Weil <sage@inktank.com>
Fri, 5 Oct 2012 23:57:16 +0000 (16:57 -0700)
committerSage Weil <sage@inktank.com>
Mon, 15 Oct 2012 22:34:02 +0000 (15:34 -0700)
commit4ef9a3d2c48ad16d30105060529f6d4fef2f68e9
tree8d27bbae36c997d12f4f5ece7a24a870fa563049
parent2e403ef2c98bb64220060c06b435fb1ffe08294e
librbd: load striping information when opening image

Silently tolerate an -ENOEXEC or -EINVAL (which means striping is not
present or is not supported by the osd class).

Signed-off-by: Sage Weil <sage@inktank.com>
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h