Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c63034f authored by Akilesh Kailash's avatar Akilesh Kailash Committed by Gerrit Code Review
Browse files

Merge "Disable async merge writes until we figure out the intermittent I/O errors."

parents 5d1a8717 1a74a82d
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -461,6 +461,14 @@ bool Worker::InitializeIouring() {
        return false;
        return false;
    }
    }


    {
        // TODO: b/219642530 - Disable io_uring for merge
        // until we figure out the cause of intermittent
        // IO failures.
        merge_async_ = false;
        return true;
    }

    ring_ = std::make_unique<struct io_uring>();
    ring_ = std::make_unique<struct io_uring>();


    int ret = io_uring_queue_init(queue_depth_, ring_.get(), 0);
    int ret = io_uring_queue_init(queue_depth_, ring_.get(), 0);