From owner-freebsd-current@freebsd.org Wed Feb 28 10:01:10 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69B4EF39C35 for ; Wed, 28 Feb 2018 10:01:10 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EB1486F291 for ; Wed, 28 Feb 2018 10:01:09 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from freyja.zeit4.iv.bundesimmobilien.de ([87.138.105.249]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MSMr9-1fJBhX1bit-00TWBE for ; Wed, 28 Feb 2018 11:01:08 +0100 Date: Wed, 28 Feb 2018 11:01:02 +0100 From: "O. Hartmann" To: freebsd-current Subject: CURRENT: md: g_handleattr: md0 bio_length 24 len 31 -> EFAULT Message-ID: <20180228110102.067cb9f0@freyja.zeit4.iv.bundesimmobilien.de> Organization: Walstatt MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:HKmKs9I5OnA9whMFuX43G2eWbJzEC7KL42lXqRVqUp6QD5rptMe POtJk1mdctwfRdmBG/6Tm95zIzm9eO58mxa+vgU8LMYpCe2kgcQudenJwIujpt2QlvAzFEu Bv6uxF9NARBafyzLfBgQCRKZ6lIn7gxwDs/ayazn7nvYb47uPm20RrDkyi6DhczCuXbsxIy DYfQNzmeETIgUXomDTHHA== X-UI-Out-Filterresults: notjunk:1;V01:K0:nru6tLEWh+A=:oc+upupTlIBEbm+yW3VCi8 hh/XVuEIM9c6Q7MIxQ5LrKv9dAHQQau85GBX0ficuR0Niq/ir7d/K4V7uuZOqP8rSBm0+GImE iecd2Z9eSn63XVCYFQEjnhF0TgZlf6/ZpZhHVqwrqtQHQDiDmfnjl1Fyezx96EUZmwOlJ6mGz eYyUfUymGzeWcy2lJ0koKmSGwRNqnuiknGmPZeDEk4Uq5ulQpQQzD6Bi0KpnUQ8GC6rPeRSf/ ZQXuyY6ea3PJx2NT9sNpLqyTnY+Rskfzfs13ANIdKe3OXPEPLZ097kid1YNlzc5JXJzJBfPgd nmTqhqxeS0xwJlA/MxC64pSj+kNaWahmDwkZ9eUCuKAtAsqYCJwU1KWsCgTiDfBGNIfxT+9l7 OH+CCIlINzQ/p+t4PIEzwNNzGn9B4PP3R9dabDvu2T726AmWWIDmjSiJL1gc882WoAwUsVuRq VUE4r+gOyPcKOcM8E3+OPEn30AMW8aSNhiApjeTGmbqQldmbJzAXGjP2DzrfHkQA7EpTbGFYl J5Iw0iwB4cyHAvmxSyEQ5/Bh5rBuR7ahax06tuCORYfql7op5LIMj27nZFsEbC4Lr3xcLARpZ AK1ThARQXx7KTO6A442SI2h6tKnvtrB2C7YJy+ShswFfZtzo+jdA1Q17PcLTSFDeXVJ6Q2LvF 2JIqGwZsb18L4JfGU/ablISfyqgdykiFgGkJdbNShQsL/AKJU3nLJE8MiBaVdqqfWsNlBYCZ0 1GZNwGJCjil1H/Kx7/0IjQ1KVJXXbrr04xu/F4y1oCt1x1M0yzzgyo+Kp9SKF0XETT3IpuB7p mKHfBaD/eYxCtc1BSHN5tfRacbmYVSmKrLtcOOPZ+1Ni0hmhPA= X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2018 10:01:10 -0000 While writing out a md based disk image (NanoBSD) onto a ZFS based filesystem, the console is flooded on CURRENT host (FreeBSD 12.0-CURRENT #78 r330019: Mon Feb 26 16:23:09 CET 2018 amd64) with the message: g_handleattr: md0 bio_length 24 len 31 -> EFAULT Writing out the md image of a size of ~ 2,5 GB to ZFS filesystem takes more than 20 minutes, which is a pain in the arse. ZFS hasn't any neat features enabled or disabled, so deduplication is disabled, atime is off, checksum is sha256 and compression is disabled. The box in question is a Haswell XEON, 6 cores, 3,4 GHz clock and 32 GB RAM - so insufficient performance should not be the issue. What am I doing wrong? Kind regards and thanks in advance, Oliver