diff options
Diffstat (limited to 'src/os/bluestore/NVMEDevice.cc')
-rw-r--r-- | src/os/bluestore/NVMEDevice.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/bluestore/NVMEDevice.cc b/src/os/bluestore/NVMEDevice.cc index 633700d5ab6..563d3c7586c 100644 --- a/src/os/bluestore/NVMEDevice.cc +++ b/src/os/bluestore/NVMEDevice.cc @@ -915,7 +915,7 @@ int NVMEDevice::read(uint64_t off, uint64_t len, bufferlist *pbl, ceph_assert(is_valid_io(off, len)); Task *t = new Task(this, IOCommand::READ_COMMAND, off, len, 1); - bufferptr p = buffer::create_page_aligned(len); + bufferptr p = buffer::create_small_page_aligned(len); int r = 0; t->ctx = ioc; char *buf = p.c_str(); @@ -945,7 +945,7 @@ int NVMEDevice::aio_read( Task *t = new Task(this, IOCommand::READ_COMMAND, off, len); - bufferptr p = buffer::create_page_aligned(len); + bufferptr p = buffer::create_small_page_aligned(len); pbl->append(p); t->ctx = ioc; char* buf = p.c_str(); |