[PATCH 07/12] nvme: special case AEN requests

Keith Busch keith.busch at intel.com
Mon Nov 9 13:43:42 PST 2015


On Sat, Nov 07, 2015 at 09:45:01AM +0100, Christoph Hellwig wrote:
> +		if (unlikely(nvmeq->qid == 0 &&
> +				cqe.command_id < NVME_NR_AEN_COMMANDS)) {
> +			nvme_finish_aen_cmd(nvmeq->dev, &cqe);
> +			continue;

As long as we're guaranteed the "reserved" tags are the lowest possible
tag values, this'll work. But that seems more coincidence than by design.



More information about the Linux-nvme mailing list