[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162407372768.31217.11025698569858516250.b4-ty@oracle.com>
Date: Fri, 18 Jun 2021 23:36:34 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: axboe@...nel.dk, jejb@...ux.ibm.com,
ManYi Li <limanyi@...ontech.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: [PATCH] sr: Fix get the error media event code
On Fri, 11 Jun 2021 17:44:02 +0800, ManYi Li wrote:
> Eject the specified slot or media through a mechanical switch on the Drive,
> med->media_event_code is 3 not 1 in the sr_get_events().
>
> If disk_flush_events() and sr_block_open() are called,
> clearing is 1 or 3 in the sr_check_events(),then it report
> DISK_EVENT_MEDIA_CHANGE not DISK_EVENT_EJECT_REQUEST.
>
> [...]
Applied to 5.13/scsi-fixes, thanks!
[1/1] sr: Fix get the error media event code
https://git.kernel.org/mkp/scsi/c/7dd753ca59d6
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists