Re: [LIO-target] BUG: Deleting a LUN hangs in transport_clear_lun_ref

From: Pavel Zakharov
Date: Sat Feb 08 2020 - 21:43:37 EST


Hi Bart,

Iâve built linux-stable, commit f757165705e92db62f85a1ad287e9251d1f2cd82 and could easily reproduce the issue.
Iâve rebuilt the kernel with patch 83f85b8ec305be9d65284de2921d8eeb6c7fcf12 reverted and that seems to fix the issue.

Regards,
Pavel

> On Feb 7, 2020, at 10:12 PM, Bart Van Assche <bvanassche@xxxxxxx> wrote:
>
> On 2020-02-07 10:48, Pavel Zakharov wrote:
>> I havenât yet tried rebuilding the kernel with the patch reverted,> but that is the next step Iâm planning to try once I figure out how
>> to do it.
>
> Hi Pavel,
>
> How about verifying as follows whether that patch is the root cause:
>
> git clone
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
> linux-kernel &&
> cd linux-kernel &&
> git revert 83f85b8ec305
>
> and next configure, build and install the kernel, reboot and rerun your
> test.
>
> Thanks,
>
> Bart.