Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2017 06:31:48 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r316560 - stable/11/sys/cam/scsi
Message-ID:  <201704060631.v366VmRb003165@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Thu Apr  6 06:31:48 2017
New Revision: 316560
URL: https://svnweb.freebsd.org/changeset/base/316560

Log:
  MFC r315857: Remove "UNMAPPED" messages printed on da periph attach.
  
  I think this message is not very useful for end user.  Also its formatting
  does not match other messages printed at that time.  Those who really need
  this information can always find it in `camcontrol negotiate daX -v`.

Modified:
  stable/11/sys/cam/scsi/scsi_da.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/cam/scsi/scsi_da.c
==============================================================================
--- stable/11/sys/cam/scsi/scsi_da.c	Thu Apr  6 06:11:04 2017	(r316559)
+++ stable/11/sys/cam/scsi/scsi_da.c	Thu Apr  6 06:31:48 2017	(r316560)
@@ -2533,7 +2533,6 @@ daregister(struct cam_periph *periph, vo
 	if ((cpi.hba_misc & PIM_UNMAPPED) != 0) {
 		softc->unmappedio = 1;
 		softc->disk->d_flags |= DISKFLAG_UNMAPPED_BIO;
-		xpt_print(periph->path, "UNMAPPED\n");
 	}
 	cam_strvis(softc->disk->d_descr, cgd->inq_data.vendor,
 	    sizeof(cgd->inq_data.vendor), sizeof(softc->disk->d_descr));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704060631.v366VmRb003165>