Re: svn commit: r255567 - stable/9/sys/geom/zero

2013-09-16 Thread Alexander Motin
On 16.09.2013 15:20, Ivan Voras wrote: On 14 September 2013 12:12, Alexander Motin wrote: Add unmapped BIO support to GEOM ZERO if kern.geom.zero.clear is cleared. + if (g_zero_clear && (bp->bio_flags & BIO_UNMAPPED) == 0) memset(bp->bio_data, g_zer

Re: svn commit: r255567 - stable/9/sys/geom/zero

2013-09-16 Thread Ivan Voras
On 14 September 2013 12:12, Alexander Motin wrote: > Add unmapped BIO support to GEOM ZERO if kern.geom.zero.clear is cleared. > + if (g_zero_clear && (bp->bio_flags & BIO_UNMAPPED) == 0) > memset(bp->bio_data, g_zero_byte, bp->bio_length); Umm, I might

svn commit: r255567 - stable/9/sys/geom/zero

2013-09-14 Thread Alexander Motin
Author: mav Date: Sat Sep 14 10:12:28 2013 New Revision: 255567 URL: http://svnweb.freebsd.org/changeset/base/255567 Log: MFC r254936: Add unmapped BIO support to GEOM ZERO if kern.geom.zero.clear is cleared. Modified: stable/9/sys/geom/zero/g_zero.c Directory Properties: stable/9/sys/