]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Only normalize extent if op uses extent
authorAdam Crume <adamcrume@gmail.com>
Tue, 17 Jun 2014 20:24:45 +0000 (13:24 -0700)
committerAdam Crume <adamcrume@gmail.com>
Mon, 23 Jun 2014 22:06:50 +0000 (15:06 -0700)
commit58212b1245373b6f015cbff11844d33a900bf3cb
tree3da62409367cf337a287ea254f181b086a30f422
parent235f4ca6dc5f4c5b148b05b1ebbfb09e2454c878
osd: Only normalize extent if op uses extent

Code in ReplicatedPG was reading and modifying ceph_osd_op.extent,
even though that is a member of a union and only valid for some ops.

Signed-off-by: Adam Crume <adamcrume@gmail.com>
src/include/rados.h
src/osd/ReplicatedPG.cc