search for: req_op_drv_out

Displaying 3 results from an estimated 3 matches for "req_op_drv_out".

2020 Apr 23
0
[PATCH RFC v2 02/24] scsi: allocate separate queue for reserved commands
...uct Scsi_Host *shost) > { > ????struct scsi_cmnd *scmd; > ????struct request *rq; > ????struct scsi_device *sdev = scsi_get_host_dev(shost); > > ????if (!sdev) > ??????? return NULL; > > ????rq = blk_mq_alloc_request(sdev->request_queue, > ????????????????? REQ_OP_DRV_OUT | REQ_NOWAIT, > ????????????????? BLK_MQ_REQ_RESERVED); > ????if (IS_ERR(rq)) // fix tidy-up > ??????? return NULL; > ????WARN_ON(rq->tag == -1); > ????scmd = blk_mq_rq_to_pdu(rq); > ????scmd->request = rq; > ????scmd->device = sdev; > > ????return scmd;...
2020 Mar 11
6
[PATCH RFC v2 02/24] scsi: allocate separate queue for reserved commands
On Tue, Mar 10, 2020 at 09:08:56PM +0000, John Garry wrote: > On 10/03/2020 18:32, Christoph Hellwig wrote: > > On Wed, Mar 11, 2020 at 12:25:28AM +0800, John Garry wrote: > > > From: Hannes Reinecke <hare at suse.com> > > > > > > Allocate a separate 'reserved_cmd_q' for sending reserved commands. > > > > Why? Reserved command
2020 Mar 11
6
[PATCH RFC v2 02/24] scsi: allocate separate queue for reserved commands
On Tue, Mar 10, 2020 at 09:08:56PM +0000, John Garry wrote: > On 10/03/2020 18:32, Christoph Hellwig wrote: > > On Wed, Mar 11, 2020 at 12:25:28AM +0800, John Garry wrote: > > > From: Hannes Reinecke <hare at suse.com> > > > > > > Allocate a separate 'reserved_cmd_q' for sending reserved commands. > > > > Why? Reserved command