Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp354998pxa; Wed, 26 Aug 2020 12:27:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6tV4+i3I5nCT4zDnOaUcDVuyQWo8KnozapSE3cN2k/eYFw0Jtj9DK2trO9JwxALwGOVCX X-Received: by 2002:a17:906:5812:: with SMTP id m18mr17414359ejq.66.1598470079633; Wed, 26 Aug 2020 12:27:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598470079; cv=none; d=google.com; s=arc-20160816; b=OBBD9PhWEc50QtSUV3f+XmKnd2fXSx5QXWrLncPqmMDAJ0dfTFfHF1dV8xXOQnzwfu ABN5D3syvPK8gBRcD5NrPZiBr15uRVSaf/CNP9LSP0+tdh2xjcbCfV4TC2jA+W2zhYtO HD8fF+IbWHI3CO1j7gnMC0V04K+ZffZIn+XNHSmhWkVJJsgQ8ZkhhK6PucE6531pHPTT 5HF38aj0FXCH9JHMJK2hD2SwHTsvFAUOw1FoZaTvpDfUNvlqQQxG+MnUzCB/FFO/7bb0 8KsN6KZQCl/JzHmgMPOQ/AKh/CIyH/fMV6tFDMD//LB6sVFkb7M+fVi31NmpIQSjrAOk jcxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=TYKPTufiMBAMoTNCgDN7PLKKjOS7TYvnr9DjmBNmXfM=; b=k9icTzLWvMZhJAK7Pzx3ToZVukh+5TBEZI7bs3aTlFNLyTpds8hZgFEoJFmbx6vLfZ UP+5yXO+4DRK2uWQJfd+tSamWypMDWTQxgqywqU+DxVZXEHEngJYuQ5vKlQHuiL5zRAs VuRAdIcl20ve46gLaXEm9l6F2oUvhSLgtPbM7rymgQBAgh5n228V0YR94J41hog6fX/0 FTEub288Iij77UGGIOC1dz/2175MWLnVX6JtyRptC4uokJkp6qBiEK9/1wX+dUSlPVFA ZcQIq9GHI+74QQRyoBnVRZqhOizuFBAeUibRiFz9fejKvq2iYx9n8S5OyBH1dA2V6OWt ftHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=FaUxUnjK; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l10si2135206edf.398.2020.08.26.12.27.31; Wed, 26 Aug 2020 12:27:59 -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=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=FaUxUnjK; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726910AbgHZT0p (ORCPT + 99 others); Wed, 26 Aug 2020 15:26:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726794AbgHZT0n (ORCPT ); Wed, 26 Aug 2020 15:26:43 -0400 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4813C061574 for ; Wed, 26 Aug 2020 12:26:41 -0700 (PDT) Received: by mail-ej1-x643.google.com with SMTP id si26so4415039ejb.12 for ; Wed, 26 Aug 2020 12:26:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TYKPTufiMBAMoTNCgDN7PLKKjOS7TYvnr9DjmBNmXfM=; b=FaUxUnjKb0N9Xw2K3ckURq7XBP2BC7VSd74QmXqnGlHpmfsTcG0/cbq0wjQ72NwmtM /XRHgHj1rfJMGI+1Wj3VNHM4uo0IrKuS9FTep4/wvrAttKznUFlA2UZIfJWJPZoJ06Ei s2yVxWhOI+28JDFT+R83RAGBwXVvIqe78CshI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TYKPTufiMBAMoTNCgDN7PLKKjOS7TYvnr9DjmBNmXfM=; b=b+KsuaEHcx/TNyQHcmDk+m3jMvZlenWkvafqJmYRADLluqze0J5A+HXuoxjTSX4O+d S0LK/PzcqVvyK0CgGdw9ngzClIIad+WqO7YuQO0arNsj9hLqgrJJr0rIeczzFMlembgl DFvjwGc4UdIlqW8CIeUKUYZxuVPb9QB0swoKL+numLFE7oqkVCo9xSR5+z/rf4PjbBr4 NmhsRZZCi0IeKtCiuWodVoPrtQS5y7U4tzsCdMz3kN4kd2u7Tfr9IpNjpLf3WA402P/U Aet/IxRjJ+qgJDKU92Y3ukDQTIsrrSF24pzrIQDmY0M8Ws11QVs8RGwv+jXubePYEBew KKiA== X-Gm-Message-State: AOAM530bGjAoWHPnGjfDXiYxCYCE4KEMW71uAZg0GMFDFUYP5y+u1USp TttO9MlCaOZGzHD5Tie0FymdJFOJ/I898kmxlkHuNQ== X-Received: by 2002:a17:906:b2d7:: with SMTP id cf23mr17037501ejb.113.1598470000611; Wed, 26 Aug 2020 12:26:40 -0700 (PDT) MIME-Version: 1.0 References: <20200819221956.845195-1-vgoyal@redhat.com> <20200819221956.845195-12-vgoyal@redhat.com> <20200826155142.GA1043442@redhat.com> <20200826173408.GA11480@stefanha-x1.localdomain> <20200826191711.GF3932@work-vm> In-Reply-To: <20200826191711.GF3932@work-vm> From: Miklos Szeredi Date: Wed, 26 Aug 2020 21:26:29 +0200 Message-ID: Subject: Re: [PATCH v3 11/18] fuse: implement FUSE_INIT map_alignment field To: "Dr. David Alan Gilbert" Cc: Stefan Hajnoczi , Vivek Goyal , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvdimm , virtio-fs-list , Dan Williams Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 26, 2020 at 9:17 PM Dr. David Alan Gilbert wrote: > Agreed, because there's not much that the server can do about it if the > client would like a smaller granularity - the servers granularity might > be dictated by it's mmap/pagesize/filesystem. If the client wants a > larger granularity that's it's choice when it sends the setupmapping > calls. What bothers me is that the server now comes with the built in 2MiB granularity (obviously much larger than actually needed). What if at some point we'd want to reduce that somewhat in the client? Yeah, we can't. Maybe this is not a kernel problem after all, the proper thing would be to fix the server to actually send something meaningful. Thanks, Miklos