Skip to content

Commit 94335df

Browse files
jlhe97meta-codesync[bot]
authored andcommitted
c++|ioUringBackendBench| kill PollIoBackend::Options in favor of IOUringOptions
Summary: kill PollIoBackend in general but migrate the options to the new IOUringOptions Reviewed By: skrueger, spikeh Differential Revision: D92846953 fbshipit-source-id: 656a775680cbaf79bac445437482a8ccad278496
1 parent 1d886de commit 94335df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

third-party/folly/src/folly/io/async/test/IoUringBackendBench.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,11 @@ class EventBaseProvider {
160160
}
161161
case IO_URING: {
162162
try {
163-
folly::PollIoBackend::Options opts;
163+
folly::IoUringOptions opts;
164164
opts.setCapacity(capacity).setMaxSubmit(256);
165165

166166
auto optsPtr =
167-
std::make_shared<folly::PollIoBackend::Options>(std::move(opts));
167+
std::make_shared<folly::IoUringOptions>(std::move(opts));
168168
auto factory = [optsPtr]() mutable {
169169
return std::make_unique<folly::IoUringBackend>(std::move(*optsPtr));
170170
};

0 commit comments

Comments
 (0)