summaryrefslogtreecommitdiff
path: root/fs/ceph/osd_client.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-10-28 15:15:05 -0700
committerSage Weil <sage@newdream.net>2009-10-28 17:45:41 -0700
commit645a102581b3639836b17d147c35d574fd6e8267 (patch)
treef7117157b3f4eb4803189eccd7a5d6464d4fb255 /fs/ceph/osd_client.c
parent5600f5ebd318f7af6f4b19a29f08d18bb85264e5 (diff)
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>
Diffstat (limited to 'fs/ceph/osd_client.c')
0 files changed, 0 insertions, 0 deletions