From: Christoph Hellwig <hch@lst.de>
To: Mike Christie <michael.christie@oracle.com>
Cc: mst@redhat.com, stefanha@redhat.com, Chaitanya.Kulkarni@wdc.com,
hch@lst.de, loberman@redhat.com, martin.petersen@oracle.com,
linux-scsi@vger.kernel.org, target-devel@vger.kernel.org
Subject: Re: [PATCH 15/25] target: add gfp_t arg to target_cmd_init_cdb
Date: Tue, 16 Feb 2021 09:40:56 +0100 [thread overview]
Message-ID: <20210216084056.GC23615@lst.de> (raw)
In-Reply-To: <20210212072642.17520-16-michael.christie@oracle.com>
On Fri, Feb 12, 2021 at 01:26:32AM -0600, Mike Christie wrote:
> tcm_loop could be used like a normal block device, so we can't use
> GFP_KERNEL. This adds a gfp_t arg to target_cmd_init_cdb and covnerts
> the users. For every driver but loop I kept GFP_KERNEL. For loop and
> xcopy I switched to GFP_NOIO.
>
> This will also be useful in the later patches where loop needs to
> do target_submit_prep from interrupt context to get a ref to the
> se_device, and so it will need to use GFP_ATOMIC.
>
> Signed-off-by: Mike Christie <michael.christie@oracle.com>
Looks good,
Reviewed-by: Christoph Hellwig <hch@lst.de>
next prev parent reply other threads:[~2021-02-16 8:44 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-12 7:26 PATCH 00/25 V4] target: fix cmd plugging and submission Mike Christie
2021-02-12 7:26 ` [PATCH 01/25] target: move t_task_cdb initialization Mike Christie
2021-02-12 19:07 ` Himanshu Madhani
2021-02-12 7:26 ` [PATCH 02/25] target: drop kref_get_unless_zero in target_get_sess_cmd Mike Christie
2021-02-12 19:08 ` Himanshu Madhani
2021-02-12 7:26 ` [PATCH 03/25] target: rename transport_init_se_cmd Mike Christie
2021-02-12 19:08 ` Himanshu Madhani
2021-02-12 7:26 ` [PATCH 04/25] target: break up target_submit_cmd_map_sgls Mike Christie
2021-02-12 19:09 ` Himanshu Madhani
2021-02-12 7:26 ` [PATCH 05/25] srpt: Convert to new submission API Mike Christie
2021-02-12 19:36 ` Bart Van Assche
2021-02-12 7:26 ` [PATCH 06/25] ibmvscsi_tgt: " Mike Christie
2021-02-12 7:26 ` [PATCH 07/25] qla2xxx: " Mike Christie
2021-02-12 19:16 ` Himanshu Madhani
2021-02-12 7:26 ` [PATCH 08/25] tcm_loop: " Mike Christie
2021-02-12 7:26 ` [PATCH 09/25] sbp_target: " Mike Christie
2021-02-12 7:26 ` [PATCH 10/25] usb gadget: " Mike Christie
2021-02-12 7:26 ` [PATCH 11/25] vhost-scsi: " Mike Christie
2021-02-16 8:40 ` Christoph Hellwig
2021-02-12 7:26 ` [PATCH 12/25] xen-scsiback: " Mike Christie
2021-02-12 7:26 ` [PATCH 13/25] tcm_fc: " Mike Christie
2021-02-12 7:26 ` [PATCH 14/25] target: remove target_submit_cmd_map_sgls Mike Christie
2021-02-12 22:17 ` Mike Christie
2021-02-16 8:40 ` Christoph Hellwig
2021-02-12 7:26 ` [PATCH 15/25] target: add gfp_t arg to target_cmd_init_cdb Mike Christie
2021-02-16 8:40 ` Christoph Hellwig [this message]
2021-02-12 7:26 ` [PATCH 16/25] target: add workqueue based cmd submission Mike Christie
2021-02-12 7:26 ` [PATCH 17/25] vhost scsi: use lio wq cmd submission helper Mike Christie
2021-02-12 7:26 ` [PATCH 18/25] tcm loop: use blk cmd allocator for se_cmds Mike Christie
2021-02-12 7:26 ` [PATCH 19/25] tcm loop: use lio wq cmd submission helper Mike Christie
2021-02-12 7:26 ` [PATCH 20/25] target: cleanup cmd flag bits Mike Christie
2021-02-12 19:17 ` Himanshu Madhani
2021-02-16 8:41 ` Christoph Hellwig
2021-02-12 7:26 ` [PATCH 21/25] target: fix backend plugging Mike Christie
2021-02-12 7:26 ` [PATCH 22/25] target iblock: add backend plug/unplug callouts Mike Christie
2021-02-12 7:26 ` [PATCH 23/25] target_core_user: " Mike Christie
2021-02-12 7:26 ` [PATCH 24/25] target: flush submission work during TMR processing Mike Christie
2021-02-12 7:26 ` [PATCH 25/25] target: make completion affinity configurable Mike Christie
2021-02-12 19:35 ` Himanshu Madhani
2021-02-15 16:32 ` PATCH 00/25 V4] target: fix cmd plugging and submission Laurence Oberman
-- strict thread matches above, loose matches on Subject: below --
2021-02-17 20:27 [PATCH 00/25 V5] " Mike Christie
2021-02-17 20:28 ` [PATCH 15/25] target: add gfp_t arg to target_cmd_init_cdb Mike Christie
2021-02-19 18:53 ` Bodo Stroesser
2021-02-19 19:32 ` Bodo Stroesser
2021-02-19 19:41 ` michael.christie
2021-02-27 16:59 [PATCH 00/25 V5] target: fix cmd plugging and submission Mike Christie
2021-02-27 16:59 ` [PATCH 15/25] target: add gfp_t arg to target_cmd_init_cdb Mike Christie
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=20210216084056.GC23615@lst.de \
--to=hch@lst.de \
--cc=Chaitanya.Kulkarni@wdc.com \
--cc=linux-scsi@vger.kernel.org \
--cc=loberman@redhat.com \
--cc=martin.petersen@oracle.com \
--cc=michael.christie@oracle.com \
--cc=mst@redhat.com \
--cc=stefanha@redhat.com \
--cc=target-devel@vger.kernel.org \
/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