]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ObjectStore: partially remove op_ptr.zero()
authorPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Wed, 1 Jul 2015 09:40:10 +0000 (11:40 +0200)
committerPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Tue, 4 Aug 2015 07:26:37 +0000 (09:26 +0200)
commit10a336fe41d8835df6a27c97f4067a13c1311efe
treed62afc93f449582514058c785077c75b2b4d53a1
parentf7bda9567d2a1acf015ab891eb5bb9ca0cdc8396
ObjectStore: partially remove op_ptr.zero()

Partially remove zeroing of op_ptr buffer, it's not necessary because it
is overwritten later anyway, and bufferptr::zero() adds a bit of latency
to the pipeline (not only memset, but also mutex (un)locking and CRC
invalidation).

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
src/os/ObjectStore.h