]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore/BlueFS: no lock on read
authorSage Weil <sage@redhat.com>
Mon, 4 Jan 2016 18:49:23 +0000 (13:49 -0500)
committerSage Weil <sage@redhat.com>
Fri, 8 Jan 2016 18:10:18 +0000 (13:10 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueFS.h

index 10d1ce000931ca2c4630c87da97829b26b9451b5..0a489b8f1c6109022e9f814b6198841fae279f95 100644 (file)
@@ -320,7 +320,6 @@ public:
     // no need to hold the global lock here; we only touch h and
     // h->file, and read vs write or delete is already protected (via
     // atomics and asserts).
-    Mutex::Locker l(lock);
     return _read(h, buf, offset, len, outbl, out);
   }
   int read_random(FileReader *h, uint64_t offset, size_t len,