Skip to content
Commit 645a1025 authored by Sage Weil's avatar Sage Weil
Browse files

ceph: fix object striping calculation for non-default striping schemes



We were incorrectly calculationing of object offset.  If we have multiple
stripe units per object, we need to shift to the start of the current
su in addition to the offset within the su.

Also rename bno to ono (object number) to avoid some variable naming
confusion.

Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 5600f5eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment