]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Don't loop forever when reading data from 0 sized segment. 11567/head
authorMarcus Watts <mwatts@redhat.com>
Fri, 14 Oct 2016 01:12:36 +0000 (21:12 -0400)
committerMarcus Watts <mwatts@redhat.com>
Wed, 19 Oct 2016 23:24:46 +0000 (19:24 -0400)
commit46c5f9773246522e66bb2cca49345d0b62a16c42
tree65366d9b6daa843d00d8e2e89d09a3604ff50ab3
parentc701628da25140b9216691192409603331cec5fc
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>
src/rgw/rgw_op.cc