On Fri, Apr 28, 2017 at 08:31:49AM -0600, Jens Axboe wrote: > Instead of bypassing the scheduler for insertion of reserved requests, > we ensure that the request is marked as RQF_RESERVED so they driver > knows where it came from. > > Usually we just use the tag to know if it's reserved or not, > but that only works when the request has a driver tag assigned. > Using RQF_RESERVED can be done independently of whether or not > scheduling is used. Do we really need a flag for this? If anyone cares if a request is internal it can just check ->tag / ->internal_tag is smaller than ->nr_reserved_tags using a little helper. I'd really like to keep the number of flags down as much as possible.