[prev in list] [next in list] [prev in thread] [next in thread] 

List:       target-devel
Subject:    Re: [RFC PATCH v2] target: tcmu: clean the nl_cmd of the udev when nl send fails
From:       "Martin K. Petersen" <martin.petersen () oracle ! com>
Date:       2019-08-08 1:52:36
Message-ID: yq1sgqcctjv.fsf () oracle ! com
[Download RAW message or body]


Li,

> If the userspace process crashes while we send the nl msg, it is
> possible that the cmd in curr_nl_cmd of tcmu_dev never gets reset to
> 0, and and returns busy for other commands after the userspace process
> is restartd.

Applied to 5.4/scsi-queue, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic