This patch is an attempt to simplify the fuse_check_timeout() logic when compare to implementation [1] Here we are using sysctl_hung_task_timeout_secs for timeout but that can be modified to use the generic sysctls, "default_request_timeout" and "max_request_timeout" from [2] [1] https://lore.kernel.org/linux-fsdevel/20241218222630.99920-1-joannelkoong@xxxxxxxxx/T/#mce54a6209722ceeb53504d2d36bce49024954392 [2] https://lore.kernel.org/linux-fsdevel/20241218222630.99920-1-joannelkoong@xxxxxxxxx/T/#m3605b8e87d9b61b9c71d53843ae976aae5a1bd9b