Re: [PATCH v3 0/3] scsi: libsas: Fix disk not being scanned in after being removed

From: John Garry
Date: Thu Mar 07 2024 - 05:05:55 EST


On 07/03/2024 09:37, Xingui Yang wrote:
This patch series fixes an issue when do discovery on an empty PHY to
update PHY info after device unregister could cause newly connected device
to not be scanned.

Changes since v2:
- Based on John's suggestion, allow smp_execute_task() arguments to be on
the stack.

You can't just change one particular smp_execute_task() callsite to put the disc memories on the stack - they should all be changed.

Better yet, we should see how the changes look and then decide to change at all.

Anyway, since you are simplifying the code, let's revisit the smp_execute_task() change later.

Thanks,
John