On 2020-04-28 00:46, Ming Lei wrote: > +/* > + * Used in sync IO for avoiding to triger task hung warning, which may > + * cause system panic or reboot. > + */ > +static inline unsigned long blk_default_io_timeout(void) > +{ > + return sysctl_hung_task_timeout_secs * (HZ / 2); > +} > + > #endif This function is only used inside the block layer. Has it been considered to move this function from the public block layer API into a private header file, e.g. block/blk.h? Thanks, Bart.