search for: blk_mq_req_reserv

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

Did you mean: blk_mq_req_reserved
2020 Apr 23
0
[PATCH RFC v2 02/24] scsi: allocate separate queue for reserved commands
...nd *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; > } > EXPORT_SYMBOL_GPL(scsi_get_reserved_cmd); &...
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