ioc->pending_aios.push_back(aio_t(ioc, choose_fd(false, write_hint)));
++ioc->num_pending;
auto& aio = ioc->pending_aios.back();
- bufferptr p = ceph::buffer::create_small_page_aligned(len);
- aio.bl.append(std::move(p));
+ aio.bl.push_back(
+ ceph::buffer::ptr_node::create(ceph::buffer::create_small_page_aligned(len)));
aio.bl.prepare_iov(&aio.iov);
aio.preadv(off, len);
++injecting_crash;
ioc->pending_aios.push_back(aio_t(ioc, fd_directs[WRITE_LIFE_NOT_SET]));
++ioc->num_pending;
aio_t& aio = ioc->pending_aios.back();
- bufferptr p = ceph::buffer::create_small_page_aligned(len);
- aio.bl.append(std::move(p));
+ aio.bl.push_back(
+ ceph::buffer::ptr_node::create(ceph::buffer::create_small_page_aligned(len)));
aio.bl.prepare_iov(&aio.iov);
aio.preadv(off, len);
dout(30) << aio << dendl;