[PATCH] devcoredump: increase the device delete timeout to 10 mins
Johannes Berg
johannes at sipsolutions.net
Tue Feb 8 20:35:11 UTC 2022
On Tue, 2022-02-08 at 11:44 -0800, Abhinav Kumar wrote:
> There are cases where depending on the size of the devcoredump and the speed
> at which the usermode reads the dump, it can take longer than the current 5 mins
> timeout.
>
> This can lead to incomplete dumps as the device is deleted once the timeout expires.
>
> One example is below where it took 6 mins for the devcoredump to be completely read.
>
> 04:22:24.668 23916 23994 I HWDeviceDRM::DumpDebugData: Opening /sys/class/devcoredump/devcd6/data
> 04:28:35.377 23916 23994 W HWDeviceDRM::DumpDebugData: Freeing devcoredump node
>
> Increase the timeout to 10 mins to accommodate system delays and large coredump
> sizes.
>
No real objection, I guess, but can the data actually disappear *while*
the sysfs file is open?!
Or did it take 5 minutes to open the file?
If the former, maybe we should fix that too (or instead)?
johannes
More information about the dri-devel
mailing list