From: Sage Weil Date: Mon, 4 Jan 2016 18:49:23 +0000 (-0500) Subject: os/bluestore/BlueFS: no lock on read X-Git-Tag: v10.0.3~88^2~21 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0ee47470f402133f4650dfaa8983458cdd6dcdfb;p=ceph.git os/bluestore/BlueFS: no lock on read Signed-off-by: Sage Weil --- diff --git a/src/os/bluestore/BlueFS.h b/src/os/bluestore/BlueFS.h index 10d1ce00093..0a489b8f1c6 100644 --- a/src/os/bluestore/BlueFS.h +++ b/src/os/bluestore/BlueFS.h @@ -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,