Date: Wed, 12 Oct 2016 21:54:23 +0200 From: Peter <pmc@citylink.dinoex.sub.org> To: freebsd-stable@FreeBSD.ORG Subject: [fixed] ZFS l2arc broken in 10.3 Message-ID: <ntm4df$k6e$1@oper.dinoex.de> In-Reply-To: <ntlssq$6hj$2@oper.dinoex.de> References: <ntlssq$6hj$2@oper.dinoex.de>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
sendbug seems not to work anymore, I end up on websites with marketing-
babble and finally get asked to provide some login and passwd. :(
But the former mail looks like having come back to me, so it seems I'm
still allowed to post here...
[-- Attachment #2 --]
*** sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c.orig Wed Oct 12 21:07:25 2016
--- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Wed Oct 12 21:46:16 2016
***************
*** 6508,6514 ****
*/
buf_sz = hdr->b_size;
align = (size_t)1 << dev->l2ad_vdev->vdev_ashift;
! buf_a_sz = P2ROUNDUP(buf_sz, align);
if ((write_asize + buf_a_sz) > target_sz) {
full = B_TRUE;
--- 6508,6514 ----
*/
buf_sz = hdr->b_size;
align = (size_t)1 << dev->l2ad_vdev->vdev_ashift;
! buf_a_sz = P2ROUNDUP_TYPED(buf_sz, align, uint64_t);
if ((write_asize + buf_a_sz) > target_sz) {
full = B_TRUE;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ntm4df$k6e$1>
