ceph: fix object striping calculation for non-default striping schemes
authorSage Weil <sage@newdream.net>
Wed, 28 Oct 2009 22:15:05 +0000 (15:15 -0700)
committerSage Weil <sage@newdream.net>
Thu, 29 Oct 2009 00:45:41 +0000 (17:45 -0700)
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: Sage Weil <sage@newdream.net>

No differences found