On 6/2/18 1:18 AM, Ming Lei wrote: > Now we setup q->nr_requests when switching to one new scheduler, > but not do it for 'none', then q->nr_requests may not be correct > for 'none'. > > This patch fixes this issue by always updating 'nr_requests' when > switching to 'none'. Looks fine, applied. -- Jens Axboe