Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3553028pxj; Tue, 15 Jun 2021 03:35:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0D56mkJsYOZX9/PCYlaYzbXOYBiGsYPZ9l14ASAgDs+lSjvF7KWCbFzY4ILdIPhd/5Lz5 X-Received: by 2002:a17:906:394e:: with SMTP id g14mr20087243eje.3.1623753327279; Tue, 15 Jun 2021 03:35:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623753327; cv=none; d=google.com; s=arc-20160816; b=QJU1avX8CJ1UsqEDw7kaha2AmDTQxXqSQ8JPVuWF9Pe771YoQBlJAZqUVkuVewthR9 HqvzRyxRtUgqjUCYWdVZOynpShBuOLsL+7s6Vf1xHMQElb2N69Xb9No+8veODxGYdoIn 85vx8XRsphyC/NGnvLnF2ZT+KfeZ6rUMv9IuafGH9GfjvwuI4zkZIyyXdDkahlnH0/Bj WWOQlmxboGCOgeu/KzsSeGsnXVW9gS7FSfJYcMQeLhhq/yq63NxErz4ogt6I5Q/GoyTT Ce749k0JEcuT+NxILmKokGAw/xzI97QYd2zTbgRS3fso42YwUWAHt7TPDpgpfDRe9Kor nvMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=J4lRhuj374UIXgRyezuo9R6wl7r9Khqqb2b2P4801fc=; b=HGUBD/QkCkzo0PCOsf5Pnp93OYqdRudFeKn4pr2YFE/SfqGf2q3eH3ziwYT8C0gfK3 4Y8utNhfsY4v5c2mNVsVQcOZ4rATJCTQls2xC2Pi3zdi/snvfYC2heQ/BuwUfxjDva1/ 91oJhxw58+XdNXDNnpd5dHjNsZzW4HOCkYHC8xmUCVsd9fpq6oPNoT2g0CRCsMUhEsP9 X3zxEw2KSx06HlNsQ9Eti1gkLsmOGQkwr3WfgeHmSHk3guQSOcSP7RjZm+5kCyhjx71t lhnMqcknA3VigyN1Ru8u1ZyLW2urZULrqLVixa4RME31J2nIVtEExeiGnA2sgtdkfJW9 iWfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VBLaxido; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bm2si15068354ejb.470.2021.06.15.03.35.04; Tue, 15 Jun 2021 03:35:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VBLaxido; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231616AbhFOKgK (ORCPT + 99 others); Tue, 15 Jun 2021 06:36:10 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:60386 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231640AbhFOKgJ (ORCPT ); Tue, 15 Jun 2021 06:36:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623753244; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=J4lRhuj374UIXgRyezuo9R6wl7r9Khqqb2b2P4801fc=; b=VBLaxidogodkO59HbtWV3wdQIIavT60OFAE4XKJ7tYX+608bPnu7X9YUFkjvuqE11rfEsq XYipaLxUl0/2GiPd7MQAFubnx25nNBd/+lq9tu0uysK01zDYBmhpI+vTsPLZ1vxSFbaoy+ dUHZzNE0uaC8hz9SPLSlKbCVwN1Fnmg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-595-9LFWH__QPGmKlXvjUdka0A-1; Tue, 15 Jun 2021 06:34:03 -0400 X-MC-Unique: 9LFWH__QPGmKlXvjUdka0A-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 26F851084F40; Tue, 15 Jun 2021 10:34:02 +0000 (UTC) Received: from localhost (ovpn-114-133.ams2.redhat.com [10.36.114.133]) by smtp.corp.redhat.com (Postfix) with ESMTP id 85C875D6D1; Tue, 15 Jun 2021 10:33:58 +0000 (UTC) Date: Tue, 15 Jun 2021 11:33:57 +0100 From: "Richard W.M. Jones" To: Miklos Szeredi Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, eblake@redhat.com, libguestfs@redhat.com, Shachar Sharon Subject: Re: [PATCH v4] fuse: Allow fallocate(FALLOC_FL_ZERO_RANGE) Message-ID: <20210615103357.GP26415@redhat.com> References: <20210512161848.3513818-1-rjones@redhat.com> <20210512161848.3513818-2-rjones@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 18, 2021 at 03:56:25PM +0200, Miklos Szeredi wrote: > On Wed, 12 May 2021 at 18:19, Richard W.M. Jones wrote: > > > > The current fuse module filters out fallocate(FALLOC_FL_ZERO_RANGE) > > returning -EOPNOTSUPP. libnbd's nbdfuse would like to translate > > FALLOC_FL_ZERO_RANGE requests into the NBD command > > NBD_CMD_WRITE_ZEROES which allows NBD servers that support it to do > > zeroing efficiently. > > > > This commit treats this flag exactly like FALLOC_FL_PUNCH_HOLE. > > Thanks, applied. Hi Miklos, did this patch get forgotten? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top