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

Commit 5c14d498 authored by Ryo Hashimoto's avatar Ryo Hashimoto
Browse files

Change FUSE_MAX_WRITE's value to 128KB

In the kernel code, there is a constant FUSE_MAX_PAGES_PER_REQ which
limits the size of requests to 128KB.

Bug: 74725300
Test: atest android.os.storage.cts.StorageManagerTest
Change-Id: I6776a409ea68da946bb58e1a933f51c68cb1a99a
parent cb7b04a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -138,7 +138,7 @@ public class FuseAppLoop implements Handler.Callback {
    private static final int FUSE_FSYNC = 20;

    // Defined in FuseBuffer.h
    private static final int FUSE_MAX_WRITE = 256 * 1024;
    private static final int FUSE_MAX_WRITE = 128 * 1024;

    @Override
    public boolean handleMessage(Message msg) {