[PATCH v2] nvme: avoid cqe corruption when update at the same time as read
Christoph Hellwig
hch at infradead.org
Tue Mar 15 06:30:02 PDT 2016
> +/* We read the CQE phase first to check if the rest of the entry is valid */
> +static inline bool nvme_cqe_valid(struct nvme_queue *nvmeq, u16 head,
> + u16 phase)
the second line here would normally get a two tab indent.
Except for this minor nitpick this looks fine:
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the Linux-nvme
mailing list