]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Don't loop forever when reading data from 0 sized segment. 11628/head
authorMarcus Watts <mwatts@redhat.com>
Fri, 14 Oct 2016 01:12:36 +0000 (21:12 -0400)
committerOrit Wasserman <owasserm@redhat.com>
Thu, 24 Nov 2016 07:36:07 +0000 (08:36 +0100)
commit03af4aae8103b52b19737c951e432efc7135b7ca
tree02bb71d6d6fb836b0d5770458972fb3a99c39b00
parent9bf08ddc9422484f5cf0f05c8ccdb4b440e9b641
Don't loop forever when reading data from 0 sized segment.

The 0 sized segment can arise depending on how
the client uploads the object in the first place.
The cpu loop then happens during a swift `GET'.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
(cherry picked from commit 46c5f9773246522e66bb2cca49345d0b62a16c42)
src/rgw/rgw_op.cc