While testing the latest version of the SRP initiator and target drivers I encountered the following message in the kernel log: sd 16:0:0:0: Warning! Received an indication that the LUN assignments on this target have changed. The Linux SCSI layer does not automatical This is a truncated message. Avoid that such truncation happens by increasing the SCSI_LOG_BUFSIZE constant. Fixes: ded85c193a39 (scsi: Implement per-cpu logging buffer) Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxxxxxx> Cc: Hannes Reinecke <hare@xxxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> Cc: Robert Elliott <elliott@xxxxxx> Cc: Ewan D. Milne <emilne@xxxxxxxxxx> Cc: <stable@xxxxxxxxxxxxxxx> # v4.0+ --- include/scsi/scsi_dbg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/scsi/scsi_dbg.h b/include/scsi/scsi_dbg.h index 56710e0..05d36eb 100644 --- a/include/scsi/scsi_dbg.h +++ b/include/scsi/scsi_dbg.h @@ -5,7 +5,7 @@ struct scsi_cmnd; struct scsi_device; struct scsi_sense_hdr; -#define SCSI_LOG_BUFSIZE 128 +#define SCSI_LOG_BUFSIZE 256 extern void scsi_print_command(struct scsi_cmnd *); extern size_t __scsi_format_command(char *, size_t, -- 2.7.2 -- 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