On Thu, 2020-07-02 at 16:24 +0200, Hannes Reinecke wrote: > scsi_transport_srp.c will call scsi_target_block() repeatedly > without calling scsi_target_unblock() first. > So allow the idempotent state transition BLOCK -> BLOCK to avoid > a warning here. That really doesn't sound like a good idea. Block and unblock should be matched pairs and since you don't have a running->running transition allowed this implies that srp calls block many times but unblock only once. It really sounds like srp needs fixing. James