From owner-freebsd-current@freebsd.org Thu Feb 22 20:41:03 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 A192DF291E0 for ; Thu, 22 Feb 2018 20:41:03 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2F6507851E for ; Thu, 22 Feb 2018 20:41:03 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id DAF0CF291D8; Thu, 22 Feb 2018 20:41:02 +0000 (UTC) Delivered-To: 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 B3C52F291D7 for ; Thu, 22 Feb 2018 20:41:02 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-qt0-x229.google.com (mail-qt0-x229.google.com [IPv6:2607:f8b0:400d:c0d::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4416078518; Thu, 22 Feb 2018 20:41:02 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mail-qt0-x229.google.com with SMTP id f4so8013162qtj.6; Thu, 22 Feb 2018 12:41:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=b3nWROyVQbx5v7FZ2/Z+/Ags1rcOepujMdkGtjaUkJY=; b=fJOwmaUjltsV3bkVnJEMpBTu0NBvX8pAnEmLzGaB3+C8r9T4KH1MzybGBqjcQBf2ni 8tRw3BLp+7oDIZHhIQMTNC/N9CJJmfw6gVxl++JcW1VistKTJr3EBx8vG3bxZmO1hjYk eXhHaEKG8F4Qap/F0zpLP/s9lXuFksOufCycvuPHhHP7ySQl8Nb38gogQU/Ppkj7FhcX 4kUYGjLVCv6bOQJQG0ndmW3tq9Wgr8D2r+s1qi/CYwxN0bbDQ5v6bjFAD2gfS6FzPRuY 3uoN7FaPjXEDgPNIe02W1j41ZdjZiU6kb+pDWg01NGNoi4sE6TK5ChvW1OYAkkA5as0P Udww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=b3nWROyVQbx5v7FZ2/Z+/Ags1rcOepujMdkGtjaUkJY=; b=Pi9CLwEC7w/8/qeggYFFdDwBqJN9+Fgu8Y61AetWGSrM357f4w66hfSglQ8IU2DW5D DnycNkkEj9m4cOVUzhlMsjAjirZ2sUHOS3jZa/BSPJQSlLTc9ZHIZbbcWIyGdFLhkqfL FAWO0MuXP7QTgarYLeJky4ta5gr5uuakV6a3v0NYS6l8+BpsN3r2V+6KD7iTo5KxGfoA kHmmmCsSAe21AIDLaOPoY+Ae52N9RIw4mvIIEg16mjMvJsS+ok2RzkVzSKsP773UAfl8 Bi7Gl/IDmHjFxPqsBaxhlAH86Sgy4xnsICbPNyQfGCvAYU238PKL/xmWgjE5q6OmNvCU B/1A== X-Gm-Message-State: APf1xPDuOoE2KNDDoXVXo/0SYyvbzecbfnARmjsmbdc/UmyJ6540Ehxs aXKOEpI7E4Rt0xgCGhjgx2yeAzUb6ZhOddMazkNrzg== X-Google-Smtp-Source: AH8x227hyFO7y/7u8T6rtVPY65mZWyN8Gbihtlh1XV0/dVP3A6p0y73mbBEy7cYxagrbp49INK4m9W4dsfZPPfEnnuY= X-Received: by 10.200.64.91 with SMTP id j27mr13355199qtl.29.1519332061966; Thu, 22 Feb 2018 12:41:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.35.42 with HTTP; Thu, 22 Feb 2018 12:41:01 -0800 (PST) In-Reply-To: <20180222203441.482d03bf@thor.intern.walstatt.dynvpn.de> References: <201802211818.w1LII7fh087166@pdx.rh.CN85.dnsmgr.net> <20180221200551.718ab72f@thor.intern.walstatt.dynvpn.de> <20180222184218.2da3db1a@thor.intern.walstatt.dynvpn.de> <1519322026.91697.135.camel@freebsd.org> <20180222195653.757840c3@thor.intern.walstatt.dynvpn.de> <20180222203441.482d03bf@thor.intern.walstatt.dynvpn.de> From: Mateusz Guzik Date: Thu, 22 Feb 2018 21:41:01 +0100 Message-ID: Subject: Re: top: sysctl(vfs.bufspace...) expected 8, got 4 To: "O. Hartmann" Cc: Ian Lepore , current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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: Thu, 22 Feb 2018 20:41:03 -0000 On Thu, Feb 22, 2018 at 8:34 PM, O. Hartmann wrote: > Mateusz provided me with this patch, which solved the issue: > > Index: sys/kern/vfs_bio.c > =================================================================== > --- sys/kern/vfs_bio.c (revision 329832) > +++ sys/kern/vfs_bio.c (working copy) > @@ -423,7 +423,7 @@ > lvalue = 0; > for (i = 0; i < clean_domains; i++) > lvalue += bdclean[i].bd_bufspace; > - return (sysctl_handle_int(oidp, &lvalue, 0, req)); > + return (sysctl_handle_long(oidp, &lvalue, 0, req)); > } > #endif Thanks for testing, committed in r329837. -- Mateusz Guzik