ceph: fix intra strip unit length calculation
authorNoah Watkins <noah@noahdesu.com>
Fri, 30 Oct 2009 19:57:30 +0000 (12:57 -0700)
committerSage Weil <sage@newdream.net>
Fri, 30 Oct 2009 20:56:14 +0000 (13:56 -0700)
commitff1d1f7179363209b7f1493ea39b666f50d05cf4
tree3031029b3cc7d4c45beed61ebc0885192a306bf0
parent645a102581b3639836b17d147c35d574fd6e8267
ceph: fix intra strip unit length calculation

Commit 645a102581b3639836b17d147c35d574fd6e8267 fixes calculation of object
offset for layouts with multiple stripes per object. This updates the
calculation of the length written to take into account multiple stripes per
object.

Signed-off-by: Noah Watkins <noah@noahdesu.com>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/osdmap.c