Ming, > Martin reported that sdev->queue_depth can often be changed in > ->slave_configure(), and now we uses ->cmd_per_lun as initial queue > depth for setting up sdev->budget_map. And some extreme ->cmd_per_lun > or ->can_queue won't be used at default actually, if they are used to > allocate sdev->budget_map, huge memory may be consumed just because of > bad ->cmd_per_lun. Applied to 5.17/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering