lkml.org 
[lkml]   [2022]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH RFC v3 03/22] scsi: core: Implement reserved command handling
From

>
>> device_initialize(&shost->shost_gendev);
>> dev_set_name(&shost->shost_gendev, "host%d", shost->host_no);
>> shost->shost_gendev.bus = &scsi_bus_type;
>> diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
>> index 39d4fd124375..a8c4e7c037ae 100644
>> --- a/drivers/scsi/scsi_lib.c
>> +++ b/drivers/scsi/scsi_lib.c
>> @@ -1978,6 +1978,8 @@ int scsi_mq_setup_tags(struct Scsi_Host *shost)
>> tag_set->nr_hw_queues = shost->nr_hw_queues ? : 1;
>> tag_set->nr_maps = shost->nr_maps ? : 1;
>> tag_set->queue_depth = shost->can_queue;
>> + tag_set->reserved_tags = shost->nr_reserved_cmds;
>> +
> Why the blank line ?
>

I don't think that it is required, I can remedy.

>> tag_set->cmd_size = cmd_size;

Thanks,
John

\
 
 \ /
  Last update: 2022-10-27 11:13    [W:0.102 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site