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

Commit 86143d8d authored by Azhar Shaikh's avatar Azhar Shaikh
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/usb_f_mass_storage/parameters/msc_vfs_timer_period_ms

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