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

Commit 1a74a82d authored by Akilesh Kailash's avatar Akilesh Kailash
Browse files

Disable async merge writes until we figure out the intermittent


I/O errors.

Bug: 219642530
Test: OTA

Signed-off-by: default avatarAkilesh Kailash <akailash@google.com>
Change-Id: Ica8e95394b92e6893c944676d28e05af2bde9a83
parent efc93661
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);