]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: Correct readahead divide by zero exception 2770/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 21 Oct 2014 07:42:13 +0000 (03:42 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 21 Oct 2014 08:35:00 +0000 (04:35 -0400)
commitfbf89f50dd15d7b5093af72cf3c391c0f525fc55
tree71240325793195898466a6b7ac8bcf2cabde8219
parentd2fe792c91abd12233bdf2b679154bbc9a585813
rbd: Correct readahead divide by zero exception

When readahead is used on old-format RBD images, a divide
by zero signal will be thrown.  This was caused by initializing
the readahead alignments prior to initializing the stripe layout
of old-format RBD images.

Fixes: 9857
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ImageCtx.cc