[PATCH] nvmet: protect sqhd update by a lock

Sagi Grimberg sagi at grimberg.me
Mon Oct 16 03:34:07 PDT 2017


> In testing target io in read write mix, we did indeed get into cases
> where sqhd didn't update properly and slowly missed enough updates to
> shutdown the queue.
> 
> Protect the read/modify/set update of sqhd under a lock for coherency.

How does this fix the issue given that updates are not protected?



More information about the Linux-nvme mailing list