[PATCHv2 05/10] blk-mq: Allow requests to never expire

Jens Axboe axboe at fb.com
Wed Jan 7 08:16:17 PST 2015


On 01/06/2015 07:57 PM, Keith Busch wrote:
> Some requests may be started but have no gaurantee they'll ever
> complete. This defines a special timeout value that a driver can use so
> the request will never be timed out.

What if the timeout just happens to be UINT_MAX for the regular case? I 
think it'd be a lot safer to add a specific no-timeout flag to the 
request instead.

-- 
Jens Axboe




More information about the Linux-nvme mailing list