Thread (20 messages) 20 messages, 5 authors, 2021-10-14

Re: [PATCH 4/7] bsg-lib: initialize the bsg_job in bsg_transport_sg_io_fn

From: Hannes Reinecke <hare@suse.de>
Date: 2021-10-14 07:33:41
Also in: linux-nfs, linux-scsi, target-devel

On 10/12/21 2:04 PM, Christoph Hellwig wrote:
Directly initialize the bsg_job structure instead of relying on the
->.initialize_rq_fn indirection.  This also removes the superflous
initialization of the second request used for BIDI requests.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
  block/bsg-lib.c | 32 +++++++++++++-------------------
  1 file changed, 13 insertions(+), 19 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare@suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help