[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <168753053177.470264.9198493732249259434.b4-ty@kernel.dk>
Date: Fri, 23 Jun 2023 08:28:51 -0600
From: Jens Axboe <axboe@...nel.dk>
To: hch@....de, chaitanyak@...dia.com, shinichiro.kawasaki@....com,
dgilbert@...erlog.com, jejb@...ux.ibm.com,
martin.petersen@...cle.com, yukuai3@...wei.com,
Yu Kuai <yukuai1@...weicloud.com>
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
yi.zhang@...wei.com, yangerkun@...wei.com
Subject: Re: [PATCH] scsi/sg: don't grab scsi host module reference
On Thu, 22 Jun 2023 00:01:11 +0800, Yu Kuai wrote:
> In order to prevent request_queue to be freed before cleaning up
> blktrace debugfs entries, commit db59133e9279 ("scsi: sg: fix blktrace
> debugfs entries leakage") use scsi_device_get(), however,
> scsi_device_get() will also grab scsi module reference and scsi module
> can't be removed.
>
> It's reported that blktests can't unload scsi_debug after block/001:
>
> [...]
Applied, thanks!
[1/1] scsi/sg: don't grab scsi host module reference
commit: fcaa174a9c995cf0af3967e55644a1543ea07e36
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists