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:
ChandanaKishori Chiluveru <cchilu@codeaurora.org>
Loading
Please register or sign in to comment