]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rados: obey op_size for 'get'
authorSage Weil <sage@inktank.com>
Thu, 24 Jan 2013 05:31:11 +0000 (21:31 -0800)
committerSage Weil <sage@inktank.com>
Fri, 25 Jan 2013 01:54:57 +0000 (17:54 -0800)
commit234becd3447a679a919af458440bc31c8bd6b84f
tree0c10dde8115fda7418f7ea78c1b815ed7517639c
parent0c1cc687b6a40d3c6a26671f0652e1b51c3fd1af
rados: obey op_size for 'get'

Otherwise we try to read the whole object in one go, which doesn't bode
well for large objects (either non-optimal or simply broken).

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
src/rados.cc