]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ObjectCache: fix typo in comment 7055/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 31 Dec 2015 07:45:37 +0000 (15:45 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 4 Jan 2016 04:57:14 +0000 (12:57 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osdc/ObjectCacher.cc

index 745dbe787537a609a0342b0e3a7edc2f82b538c4..f870ef09fb811591b6f4fef1c795468c7defc07d 100644 (file)
@@ -1168,7 +1168,7 @@ int ObjectCacher::_readx(OSDRead *rd, ObjectSet *oset, Context *onfinish,
     if (oset->return_enoent && !o->exists) {
       ldout(cct, 10) << "readx  object !exists, 1 extent..." << dendl;
 
-      // should we worry about COW underneaeth us?
+      // should we worry about COW underneath us?
       if (writeback_handler.may_copy_on_write(soid.oid, ex_it->offset,
                                              ex_it->length, soid.snap)) {
        ldout(cct, 20) << "readx  may copy on write" << dendl;
@@ -1223,7 +1223,7 @@ int ObjectCacher::_readx(OSDRead *rd, ObjectSet *oset, Context *onfinish,
       missing.insert(errors.begin(), errors.end());
     } else {
       // some reads had errors, fail later so completions
-      // are cleaned up up properly
+      // are cleaned up properly
       // TODO: make read path not call _readx for every completion
       hits.insert(errors.begin(), errors.end());
     }