After commit 5837c80e870b ("bio-integrity: Fix bio_integrity_verify segment start bug"), loading scsi_debug with data integrity enabled (for example modprobe scsi_debug dif=1 dix=1) starts hitting BUG_ON() at bio_integrity_verify(): BUG_ON(total > bio->bi_integrity->bip_iter.bi_size); Because bip_iter.bi_size has already been set to zero at this point as a result of consuming bip_iter. I can resolve this issue by removing the BUG_ON(). But I would like to ask whether we should preserve an alternative assert, or not before submitting the patch that simply removing the line. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html