From owner-freebsd-fs@freebsd.org Fri Oct 23 07:42:48 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69E9EA1960F for ; Fri, 23 Oct 2015 07:42:48 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (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 F32DAE39 for ; Fri, 23 Oct 2015 07:42:47 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by wikq8 with SMTP id q8so64346346wik.1 for ; Fri, 23 Oct 2015 00:42:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay_co_uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=2nvHppcRj2I8HmDAcz41HiBQQ5YUijGHhtYXjx+0rTY=; b=ijsLGAgLGkx34HPBDlv8zWQHjnafesaiU5FZ8h9HuIylaH74ZAzlRsWSDsaD053ksY 0vNdrrGeK8klN6fI6PBBGzabvbQocy4KJpCyE30qafp5HdT4Aq3nxm8WEXuPUlI7GtdM thA4A/U95NvZ6MJE8hg3u53hpvwpU8a6rZGFPekDEaY0ItdpSNY8aRCIml/351/ZJf44 Mx15mC2Z3GKr91EV63fIBIrNgMND7sDDWZJrSBUWE5474GrqxDkRdNQ4FIde04mm/9ZD 9BzUHo7R+5KGPkmLn6+1il2Ickhqe0IWctd+1kmHnc2UX8HuKb2z56dy08zy6SPRrA6+ To8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=2nvHppcRj2I8HmDAcz41HiBQQ5YUijGHhtYXjx+0rTY=; b=LecipN6uxGDzp22MXi5Oq9Q7PMOW/pbES4ll+H6QGdr3MGRSECpMOIaUWVaEaoLSTy KZduiCPe4qud1aZD4PthQiCkJ4G5Y49wClwvlFzNKRXHJyqSoWxTPX0GVgSXg1kUwE2C WyslEndG1fSPJRJvSYmcoRh8cZf5XxjW0CVsPZp15wkQhD5iUXfpPUSy9BaCsajjiVlh 4RLYLthd0OmkBlQ/WnYII+epTxoGwm7oRBiBBwKE3V4HTt4bLibb0SxgHBJafcWlgDn5 SPRb1J5Mx2bggBqALj434o6vHelZ0gxZ+8A3pCaKFMZbTqoUGjWrkQvhu37uARGawzPQ CowA== X-Gm-Message-State: ALoCoQn5/kioG+hWGBiItQ9kgvBRttrwnsgZ02XdYNWc2d9Gq2/cgfr5wwan/lDzdw+gFgBWDrww X-Received: by 10.194.190.19 with SMTP id gm19mr3321591wjc.0.1445586166220; Fri, 23 Oct 2015 00:42:46 -0700 (PDT) Received: from [10.10.1.58] (liv3d.labs.multiplay.co.uk. [82.69.141.171]) by smtp.gmail.com with ESMTPSA id t7sm1965371wib.1.2015.10.23.00.42.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Oct 2015 00:42:45 -0700 (PDT) Subject: Re: Adjusting zvol_immediate_write_sz To: freebsd-fs@freebsd.org References: From: Steven Hartland Message-ID: <5629E4F5.3030500@multiplay.co.uk> Date: Fri, 23 Oct 2015 08:42:45 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2015 07:42:48 -0000 I don't see why not FF, if you would like to throw us a quick patch then I'd be happy to review and commit. On 22/10/2015 23:31, FF wrote: > I couldn't find anything on google doing this with FreeBSD. > > Without getting into the reasons for why someone may want to alter the > threshold for varying the way the ZIL interacts with writes. Is there any > obvious reason why creating a boot-tunable or runtime-tunable for this > variable in zvol.c is a bad thing? > > Would a set command in the loader already override this without any > additional code otherwise I'm happy to write the code and ask for it to be > committed. > > Thanks! >