Re: [PATCH] Urgent bug fix causing Apple SSDs to not work.

From: Keith Busch
Date: Sat Sep 25 2021 - 16:48:52 EST


On Sat, Sep 25, 2021 at 11:34:31PM +0300, Sagi Grimberg wrote:
> Exactly the patch that I was going to propose. The only downside
> is that we need to access the controller in the hot-path...

I initially had the same concern but noticed we already access 'ctrl' in
nvme_setup_rw() in this path, so I don't think we will be able to
measure the cost of the added check.