diff --git a/pageserver/src/virtual_file/io_engine/tokio_epoll_uring_ext.rs b/pageserver/src/virtual_file/io_engine/tokio_epoll_uring_ext.rs index 29c42270c4..1642a42a54 100644 --- a/pageserver/src/virtual_file/io_engine/tokio_epoll_uring_ext.rs +++ b/pageserver/src/virtual_file/io_engine/tokio_epoll_uring_ext.rs @@ -206,6 +206,14 @@ impl Handle { file: F, len: u64, ) -> (F, Result<(), tokio_epoll_uring::Error>) { - self.deref().ftruncate(file, len).await + let system_handle = self.deref(); + let op = tokio_epoll_uring::FtruncateOp { file, len }; + tokio_epoll_uring::system::submission::op_fut::execute_op( + op, + system_handle.submit_side_weak(), + None, + system_handle.metrics().clone(), + ) + .await } }