diff --git a/meson.build b/meson.build index f7bcd6a..9bb4415 100644 --- a/meson.build +++ b/meson.build @@ -22,6 +22,7 @@ cc = meson.get_compiler('c') add_project_arguments('-fPIC', language: 'cpp') add_project_arguments('-Wno-unused-parameter', language: 'cpp') +add_project_arguments('-Wno-deprecated-declarations', language: 'cpp') add_project_arguments('-fsized-deallocation', language: 'cpp') if get_option('buildtype') == 'release' diff --git a/src/common.cc b/src/common.cc index c222dba..26ff57d 100644 --- a/src/common.cc +++ b/src/common.cc @@ -178,7 +178,7 @@ void spdk_nvme_zone_read_wrapper( uint32_t flags, std::move_only_function)> cb) { - // log_debug("1111: offset {}, size {}", offset, size); + log_debug("1111: offset {}, size {}", offset, size); auto cb_heap = new decltype(cb)(std::move(cb)); auto fn = new std::move_only_function([=]() { int rc = spdk_nvme_ns_cmd_read( diff --git a/src/include/http_server.h b/src/include/http_server.h index 48be480..883fe15 100644 --- a/src/include/http_server.h +++ b/src/include/http_server.h @@ -66,6 +66,7 @@ auto awaitable_on_request(HttpRequest req, // entry.second_tgt(), entry.third_tgt()); auto [first, _, _] = entry; auto [tgt, lba, _] = first; + log_debug("Reading from tgt {} lba {}", tgt, lba); auto dev1 = zctrl_.GetDevice(tgt); // auto dev2 = zctrl_.GetDevice(entry.second_tgt()); // auto dev3 = zctrl_.GetDevice(entry.third_tgt());