Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
shuwens committed Oct 29, 2024
1 parent c8e9c2e commit 1f096ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion src/common.cc
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void spdk_nvme_zone_read_wrapper(
uint32_t flags,
std::move_only_function<void(Result<const spdk_nvme_cpl *>)> 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<void(void)>([=]() {
int rc = spdk_nvme_ns_cmd_read(
Expand Down
1 change: 1 addition & 0 deletions src/include/http_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 1f096ed

Please sign in to comment.