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

Skip to content
Commit 4410bacb authored by Pratham Pratap's avatar Pratham Pratap
Browse files

USB: f_mtp: Improve MTP write throughput



Commit fc71db86987e8 ("USB: f_mtp: Perform vfs_write under mutex
protection) introduces mutex protection to avoid request buffer
freed while vfs_write or copy_to_user happens. This introduced
significant amount of delay for mtp_write throughput. Fix
this by reverting the patch.

Change-Id: I97e513a175b2a6691f42f8e762e2f8fd9bdf35f1
Signed-off-by: default avatarPratham Pratap <prathampratap@codeaurora.org>
parent 06c68199
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment