On 2019/09/04 21:57, Jens Axboe wrote:
> On 9/4/19 3:02 AM, Damien Le Moal wrote:
>> On 2019/09/04 17:56, Johannes Thumshirn wrote:
>>> On 04/09/2019 10:42, Damien Le Moal wrote:
@@ -734,6 +741,7 @@ static void __device_add_disk(struct device *parent,
struct gendisk *disk,
On 9/4/19 3:02 AM, Damien Le Moal wrote:
> On 2019/09/04 17:56, Johannes Thumshirn wrote:
>> On 04/09/2019 10:42, Damien Le Moal wrote:
>>> @@ -734,6 +741,7 @@ static void __device_add_disk(struct device *parent,
>>> struct gendisk *disk,
>>> exact_match, exact_lock
On 2019/09/04 17:56, Johannes Thumshirn wrote:
> On 04/09/2019 10:42, Damien Le Moal wrote:
>> @@ -734,6 +741,7 @@ static void __device_add_disk(struct device *parent,
>> struct gendisk *disk,
>> exact_match, exact_lock, disk);
>> }
>> register_disk(paren
On 04/09/2019 10:42, Damien Le Moal wrote:
> @@ -734,6 +741,7 @@ static void __device_add_disk(struct device *parent,
> struct gendisk *disk,
> exact_match, exact_lock, disk);
> }
> register_disk(parent, disk, groups);
> +
> if (register_queue)
>
When elevator_init_mq() is called from blk_mq_init_allocated_queue(),
the only information known about the device is the number of hardware
queues as the block device scan by the device driver is not completed
yet. The device type and the device required features are not set yet,
preventing to corr