]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ObjectCacher: don't loop the extents of OSDRead in map_read
authorZhiqiang Wang <zhiqiang@xsky.com>
Wed, 24 Feb 2016 13:54:34 +0000 (21:54 +0800)
committerJason Dillaman <dillaman@redhat.com>
Thu, 9 Jun 2016 18:06:07 +0000 (14:06 -0400)
commit6e645985e77bd0597eab6755b6e4071b79967584
treea6363fcedc48a5c95020a9410157b1c45909a702
parentc5f281d64221c62e3736f9630204f85d67328670
ObjectCacher: don't loop the extents of OSDRead in map_read

Looping the extents of OSDRead is done in _readx. The looping in
map_read is not needed.

Signed-off-by: Zhiqiang Wang <zhiqiang@xsky.com>
(cherry picked from commit fae912c3856cab6d03183411eecab90c6e6732d2)
src/osdc/ObjectCacher.cc
src/osdc/ObjectCacher.h