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@xxxxxxxxxx> Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>