From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
Cc: linux-scsi@vger.kernel.org, target-devel@vger.kernel.org,
martin.petersen@oracle.com, bostroesser@gmail.com,
kanie@linux.alibaba.com
Subject: Re: [PATCH 1/2] scsi: add scsi_done_direct() helper
Date: Fri, 11 Feb 2022 16:49:19 -0500 [thread overview]
Message-ID: <yq11r09qdmn.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20220208063707.4781-1-xiaoguang.wang@linux.alibaba.com> (Xiaoguang Wang's message of "Tue, 8 Feb 2022 14:37:06 +0800")
Xiaoguang,
> For scsi commands that are known to be completed in non-interrupt
> context, scsi_done_direct() calling blk_mq_complete_request_direct()
> can be used to completes commands directly instead deferring it
> to softirq, which can give throughput improvement.
https://lore.kernel.org/all/20220201210954.570896-1-sebastian@breakpoint.cc/
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2022-02-11 21:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-08 6:37 [PATCH 1/2] scsi: add scsi_done_direct() helper Xiaoguang Wang
2022-02-08 6:37 ` [PATCH 2/2] scsi: target: tcm_loop: use scsi_done_direct() Xiaoguang Wang
2022-02-11 21:49 ` Martin K. Petersen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yq11r09qdmn.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=bostroesser@gmail.com \
--cc=kanie@linux.alibaba.com \
--cc=linux-scsi@vger.kernel.org \
--cc=target-devel@vger.kernel.org \
--cc=xiaoguang.wang@linux.alibaba.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox