Re: [RFC PATCH v2] block: add io timeout to sysfs
From: Jens Axboe <axboe@kernel.dk>
Date: 2018-11-28 15:20:19
From: Jens Axboe <axboe@kernel.dk>
Date: 2018-11-28 15:20:19
On 11/28/18 7:52 AM, Weiping Zhang wrote:
Hi Jens, It's useful if user want a short timeout when a disk doesn't work normally. Would you give some comments for this patch,
I'm fine with the patch, in fact I've posted a similar/identical one in the past but just never got around to merging it. I think we should expose the value in seconds or msecs, however, not in jiffies. That makes it hard to use for people. So modify it to do a msecs_to_jiffies() on the value passed in. -- Jens Axboe