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

Commit c58e420a authored by ChandanaKishori Chiluveru's avatar ChandanaKishori Chiluveru
Browse files

usb: f_mass_storage: Add timer to catch VFS read/write/sync stuck issues



Implement a timer function to print an error message when
the USB mass storage driver is stuck inside a vfs operation.
This helps to catch VFS read/write/sync stuck issues with slower
cards.

By default Configure the timer with 9 sec.
To configure the timer delay from the userspace
echo 9000 > /sys/module/g_android/parameters/msc_vfs_timer_period_ms

Change-Id: I622cd4246eb2abf4d66925240348a39914b7823c
Signed-off-by: default avatarChandanaKishori Chiluveru <cchilu@codeaurora.org>
parent 808ccbb5
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