[PATCH v2] nvme: avoid cqe corruption when update at the same time as read

Marta Rybczynska mrybczyn at kalray.eu
Tue Mar 15 06:43:00 PDT 2016


----- Le 15 Mar 16, à 14:30, Christoph Hellwig hch at infradead.org a écrit :

>> +/* 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>

I'm resending with this minor modification. Thanks!



More information about the Linux-nvme mailing list