Skip to content

Commit

Permalink
Made debug and release consistent atomic page size;
Browse files Browse the repository at this point in the history
  • Loading branch information
hkadayam committed Sep 6, 2023
1 parent 09a047a commit e3f926d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class IOMgrConan(ConanFile):
name = "iomgr"
version = "9.2.4"
version = "9.2.5"
homepage = "https://github.com/eBay/IOManager"
description = "Asynchronous event manager"
topics = ("ebay", "nublox", "aio")
Expand Down
4 changes: 0 additions & 4 deletions src/lib/interfaces/drive_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -366,11 +366,7 @@ drive_attributes KernelDriveInterface::get_attributes(const std::string& devname
drive_attributes attr;
attr.phys_page_size = 4096;
attr.align_size = 512;
#ifndef NDEBUG
attr.atomic_phys_page_size = 512;
#else
attr.atomic_phys_page_size = 4096;
#endif
attr.num_streams = 1;

if ((drive_type == drive_type::block_hdd) || (drive_type == drive_type::file_on_hdd)) {
Expand Down

0 comments on commit e3f926d

Please sign in to comment.