[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6c75ce4cc05c6983137e954043d5ae7323a96172.camel@gmail.com>
Date: Wed, 06 Mar 2024 23:05:13 +0100
From: Bean Huo <huobean@...il.com>
To: Avri Altman <avri.altman@....com>, "James E . J . Bottomley"
<jejb@...ux.vnet.ibm.com>, "Martin K . Petersen"
<martin.petersen@...cle.com>
Cc: Bart Van Assche <bvanassche@....org>, Bean Huo <beanhuo@...ron.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/4] scsi: ufs: Re-use exec_dev_cmd
On Tue, 2024-03-05 at 23:00 +0200, Avri Altman wrote:
> Move out the actual command issue from exec_dev_cmd so it can be used
> elsewhere. While at it, remove a redundant "lrbp->cmd = NULL"
> assignment. Also, as a free bonus, call the upiu trace if it
> doesn't.
This statement is a bit strange, what it is "if it doesn't"?
from the change, the patch refactors command issue for broader usage
and enhance UPIU tracing, isolate the command issuance logic from
`ufshcd_exec_dev_cmd` to allow reuse across different contexts.
Powered by blists - more mailing lists