From 0ee47470f402133f4650dfaa8983458cdd6dcdfb Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 4 Jan 2016 13:49:23 -0500 Subject: [PATCH] os/bluestore/BlueFS: no lock on read Signed-off-by: Sage Weil --- src/os/bluestore/BlueFS.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/os/bluestore/BlueFS.h b/src/os/bluestore/BlueFS.h index 10d1ce000931c..0a489b8f1c610 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, -- 2.39.5