]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
bluestore/NVMEDevice.cc: rename the thread from ceph-osd to
authorPan Liu <wanjun.lp@alibaba-inc.com>
Mon, 4 Sep 2017 02:49:11 +0000 (10:49 +0800)
committerPan Liu <wanjun.lp@alibaba-inc.com>
Mon, 4 Sep 2017 02:49:11 +0000 (10:49 +0800)
nvme-device-manager, to avoid name duplication with main thread
"ceph-osd"

Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
src/os/bluestore/NVMEDevice.cc

index 0bfaf6d67dd04a64313306e80e6367bdef89d359..d55f2a17492fca337ae86ec039729379004e36f3 100644 (file)
@@ -764,7 +764,7 @@ int NVMEManager::try_get(const string &sn_tag, SharedDriverData **driver)
         int r;
 
         spdk_env_opts_init(&opts);
-        opts.name = "ceph-osd";
+        opts.name = "nvme-device-manager";
         opts.core_mask = coremask_arg;
         opts.master_core = m_core_arg;
         opts.mem_size = mem_size_arg;