> Is this the wrong structure to add a limit like blktrace_max_alloc? As > far as I can see struct queue_limits is only used for limits that are > affected by stacking block devices. My understanding is that the > blktrace_max_alloc limit is not affected by device stacking. See also > blk_stack_limits(). I can also see that, how about adding a parameter in struct request_queue under CONFIG_BLK_DEV_IO_TRACE if we are going that route ?