]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc: For trust_enoent is true, there is only one extent.
authorJianpeng Ma <jianpeng.ma@intel.com>
Fri, 6 Feb 2015 01:53:36 +0000 (09:53 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Mon, 9 Mar 2015 05:43:32 +0000 (13:43 +0800)
commit2449fddc13b5ce8bbf1bb4ecaa5d6937f54e54d1
treedfc0603ae0ec41c319cd5a705467ee3d9e61d08f
parent0bedae366ca8eaca5a42007c264271199f77cdae
osdc: For trust_enoent is true, there is only one extent.

Now the judgement only in conditon which will return -ENOENT.
But o->exists don't depend on the extent size. It only depend on
trust_enoent. So move this judgement at the first of _readx().
Make this bug ASAP occur.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
src/osdc/ObjectCacher.cc