From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Reinecke Subject: Re: [PATCH] Avoid that long log lines are truncated Date: Mon, 14 Mar 2016 15:36:53 +0100 Message-ID: <56E6CC85.9020603@suse.de> References: <56E6C88B.6010201@sandisk.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mx2.suse.de ([195.135.220.15]:53687 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752332AbcCNOg4 (ORCPT ); Mon, 14 Mar 2016 10:36:56 -0400 In-Reply-To: <56E6C88B.6010201@sandisk.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Bart Van Assche , James Bottomley , "Martin K. Petersen" Cc: Christoph Hellwig , Robert Elliott , "Ewan D. Milne" , "linux-scsi@vger.kernel.org" On 03/14/2016 03:19 PM, Bart Van Assche wrote: > While testing the latest version of the SRP initiator and target > drivers I encountered the following message in the kernel log: >=20 > 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 >=20 > This is a truncated message. Avoid that such truncation happens > by increasing the SCSI_LOG_BUFSIZE constant. >=20 > Fixes: ded85c193a39 (scsi: Implement per-cpu logging buffer) > Signed-off-by: Bart Van Assche > Cc: Hannes Reinecke > Cc: Christoph Hellwig > Cc: Robert Elliott > Cc: Ewan D. Milne > Cc: # v4.0+ > --- > include/scsi/scsi_dbg.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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; > =20 > -#define SCSI_LOG_BUFSIZE 128 > +#define SCSI_LOG_BUFSIZE 256 > =20 > extern void scsi_print_command(struct scsi_cmnd *); > extern size_t __scsi_format_command(char *, size_t, >=20 Reviewed-by: Hannes Reinecke Cheers, Hannes --=20 Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg GF: F. Imend=C3=B6rffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG N=C3=BCrnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html