]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
NVMEDevice: Remove the performance counter 34432/head
authorZiye Yang <ziye.yang@intel.com>
Tue, 7 Apr 2020 21:09:56 +0000 (05:09 +0800)
committerZiye Yang <ziye.yang@intel.com>
Mon, 20 Apr 2020 16:25:08 +0000 (00:25 +0800)
commit30858a953414cdd2f7faad704a2be8bdca5d07f4
treea8225da949f28bd86d2558ef68d4124adfa02095
parentbb55f2c2a3ee63cecb2600276247bea3f7518d45
NVMEDevice: Remove the performance counter

Compared with other approach (KernelDevice, iouring), it does not
have such feature, so remove it to simplify the code and improve
the performance. Because, each thread will call the logger and calculate
the time, it is very time consuming. And the upper layer in bluestore has
the feature to track each I/O task.

And it is not readable if we add ifdef configure to enable this feature,
so in my mind that I suggest removing this latency track. And the
latency benefit demonstrated by SPDK is already approved, so we do not
need to tracking every I/O time when invoking SPDK driver.

Signed-off-by: Ziye Yang <ziye.yang@intel.com>
src/os/bluestore/NVMEDevice.cc