summaryrefslogtreecommitdiffstats
path: root/src/os/bluestore/aio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/bluestore/aio.h')
-rw-r--r--src/os/bluestore/aio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/bluestore/aio.h b/src/os/bluestore/aio.h
index 324b13e6940..bc6acb7ec5f 100644
--- a/src/os/bluestore/aio.h
+++ b/src/os/bluestore/aio.h
@@ -32,7 +32,7 @@ struct aio_t {
void pread(uint64_t _offset, uint64_t len) {
offset = _offset;
length = len;
- bufferptr p = buffer::create_page_aligned(length);
+ bufferptr p = buffer::create_small_page_aligned(length);
io_prep_pread(&iocb, fd, p.c_str(), length, offset);
bl.append(std::move(p));
}