svn commit: r252063 - stable/9/sys/geom/mirror

Andre Albsmeier Andre.Albsmeier at siemens.com
Sat Sep 28 15:29:38 UTC 2013


On Fri, 21-Jun-2013 at 19:36:34 +0200, Scott Long wrote:
> Author: scottl
> Date: Fri Jun 21 17:36:33 2013
> New Revision: 252063
> URL: http://svnweb.freebsd.org/changeset/base/252063
> 
> Log:
>   MFC r252010, r252011:
>   
>   Mark geom_mirror as capable of unmapped i/o
>   
>   Obtained from:	Netflix
> ...
> +			/* A provider underneath us doesn't support unmapped */
> +			if ((dp->flags & G_PF_ACCEPT_UNMAPPED) == 0) {
> +				G_MIRROR_DEBUG(0, "cancelling unmapped "
> +				    "because of %s\n", dp->name);
> +				pp->flags &= ~G_PF_ACCEPT_UNMAPPED;
> +			}

Is the \n intended here? It produces blank lines in dmesg:
  
...
ada1: <SAMSUNG HD321KJ CP100-11> ATA-8 SATA 2.x device
ada1: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes)
ada1: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C)
Timecounter "TSC-low" frequency 1099900874 Hz quality 800
GEOM_MIRROR: cancelling unmapped because of ada1
  
GEOM_MIRROR: cancelling unmapped because of ada0
  
GEOM_MIRROR: Device mirror/m0 launched (2/2).
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
...

        -Andre


More information about the svn-src-stable-9 mailing list