Sage Weil 645a102581 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: Sage Weil <sage@newdream.net>
2009-10-28 17:45:41 -07:00
..
2009-10-09 16:39:30 -07:00
2009-10-19 16:17:31 -07:00
2009-10-06 11:31:14 -07:00
2009-10-06 11:31:13 -07:00
2009-10-06 11:31:08 -07:00
2009-10-06 11:31:14 -07:00
2009-10-06 11:31:14 -07:00
2009-10-06 11:31:15 -07:00
2009-10-06 11:31:15 -07:00
2009-10-06 11:31:09 -07:00
2009-10-06 11:31:09 -07:00
2009-10-06 11:31:13 -07:00
2009-10-06 11:31:11 -07:00
2009-10-06 11:31:10 -07:00
2009-10-06 11:31:10 -07:00
2009-10-06 12:21:17 -07:00
2009-10-06 11:31:12 -07:00

#
# The following files are shared by (and manually synchronized
# between) the Ceph userland and kernel client.
#
# userland                  kernel
src/include/ceph_fs.h	    fs/ceph/ceph_fs.h
src/include/ceph_fs.cc	    fs/ceph/ceph_fs.c
src/include/msgr.h	    fs/ceph/msgr.h
src/include/rados.h	    fs/ceph/rados.h
src/include/ceph_strings.cc fs/ceph/ceph_strings.c
src/include/ceph_frag.h	    fs/ceph/ceph_frag.h
src/include/ceph_frag.cc    fs/ceph/ceph_frag.c
src/crush/crush.c	    fs/ceph/crush/crush.c
src/crush/crush.h	    fs/ceph/crush/crush.h
src/crush/mapper.c	    fs/ceph/crush/mapper.c
src/crush/mapper.h	    fs/ceph/crush/mapper.h
src/crush/hash.h	    fs/ceph/crush/hash.h