• Ming Lei's avatar
    Revert "scsi: core: fix scsi_host_queue_ready" · 23aa8e69
    Ming Lei authored
    This reverts commit 265d59aa.
    
    There is fundamental issue in commit 32872863 (scsi: core: avoid
    host-wide host_busy counter for scsi_mq) because SCSI's host busy counter
    may not be same with counter of blk-mq's inflight tags, especially in case
    of none io scheduler.
    
    So revert this commit first.
    
    Cc: Omar Sandoval <osandov@fb.com>,
    Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
    Cc: James Bottomley <james.bottomley@hansenpartnership.com>,
    Cc: Christoph Hellwig <hch@lst.de>,
    Cc: Don Brace <don.brace@microsemi.com>
    Cc: Kashyap Desai <kashyap.desai@broadcom.com>
    Cc: Mike Snitzer <snitzer@redhat.com>
    Cc: Hannes Reinecke <hare@suse.de>
    Cc: Laurence Oberman <loberman@redhat.com>
    Cc: Bart Van Assche <bart.vanassche@wdc.com>
    Cc: Guenter Roeck <linux@roeck-us.net>
    Cc: Jens Axboe <axboe@kernel.dk>
    Reported-by: default avatarJens Axboe <axboe@kernel.dk>
    Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
    Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
    23aa8e69
scsi_lib.c 94.9 KB