Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4417928pxa; Mon, 10 Aug 2020 08:37:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwalyFkKt/iXz/FpxZfr/JA+F24Ql55Y4AKnJM05y+hZqGcbhECG7wxcTlq6I9LMB7jMSNL X-Received: by 2002:a50:9d88:: with SMTP id w8mr20914524ede.122.1597073830812; Mon, 10 Aug 2020 08:37:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597073830; cv=none; d=google.com; s=arc-20160816; b=tQqbunRONb38ZuOpir4n160gTQ4x7QrlYIOkIa53q8JmsPeRARihlhtkZBQUfjxiEN S9SP6TLJELzLnoKHfocGsGIGKSUIhk15lwTQg0XoAVcc2VVwaIpD4khuPh4yWxLAX+lL kVjMGqyiryw7IkB5Udr02DX4yANt4B1yR4q8VxzKFKNOS2XD7zX2HP3kw7ZuH/SDGc70 eh40VA9oEyP3W1gYHcT0hXIZwfZJVtLGd6woZNXGNKIHgthE8jwX2Zb/CtNwDnqxbOBa rec6F5DArOMvkBFMAxeFHWxmmZFspAOSyCLILID0M4goql/AKvPt9iSNCg0GoFgriiKY mtwg== 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=5WTYhGSMVJwaOGI5CfF/LhAkHD90jfpwgnfPX4Hecs4=; b=bfswhcSUJrgtxfeOJNyUf0iih4N7eoUvZQoIy4jVHE3wxjTeJXqgATL2IzqHhP+DsD 3GQ3R5f4BKh149Sh7T0rNNaax81wdBlFnPDEd36PkLxWux9lADCoUtDAwu4hfzrWBBL+ YSd8ALXEb1l9KlPRsDfsfwBlndhRxhO3uHaK+LzFxvpRqkjzi7mcDin0VyUMAhvWYMAN RVapEi/d39yR5ZC1tdLbuSdBSygAl3HGjUuY7BwNBwoK9qQC1n/wMftZ9yvTTMZQslgA 1wC1Ip3ZZtR6p/jjCGGKWWjYFcZBM205w9nbhX7rqj9OCHIIctXo6h4eIACoLRKjAT/s uOpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SUqd4aq9; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n8si10730570edr.202.2020.08.10.08.36.46; Mon, 10 Aug 2020 08:37:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-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=@gmail.com header.s=20161025 header.b=SUqd4aq9; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728053AbgHJPee (ORCPT + 99 others); Mon, 10 Aug 2020 11:34:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728036AbgHJPed (ORCPT ); Mon, 10 Aug 2020 11:34:33 -0400 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 702E5C061756; Mon, 10 Aug 2020 08:34:33 -0700 (PDT) Received: by mail-io1-xd2b.google.com with SMTP id g19so9324577ioh.8; Mon, 10 Aug 2020 08:34:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5WTYhGSMVJwaOGI5CfF/LhAkHD90jfpwgnfPX4Hecs4=; b=SUqd4aq9Y6Av+Gv7ga8W5ylkM3EMuDB+BJKiZDlYcl88/yG7+n1hocgfPi2FLC+Vxx KqPoFLizRpDrrvQnQiwnl561zq27UuRh8UiqsCIrjxDmAuFJnRBl/DUzkplB4z4G7b9Q jc7U58KTucVI+gNlNrZukqTN/vkc4mBRHbDXl2OTOpJufnJriy9ap0BWG6XUUXmUipsK TVoTNnf58iia3wlyq6oUVjzJCFkxLz2VpA2zx08I9wplKHuxou/WV3K2uz/ioqL+Sskh 6g11stI+pS9OhTnOPgH6HxIYKtKYfdcqu6n4sRawgxF0zuuxqz7wmHR/8ocnUyPutNez JFlA== 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=5WTYhGSMVJwaOGI5CfF/LhAkHD90jfpwgnfPX4Hecs4=; b=HCk45M7IiUQUwGNaebCvCzLmOhXp8ays57qbXRn5jzqfn13QBsrulYmg/+yP7B0lkA 22XptBeBynIUOu4UYsNJHjViGqo3ymLHiKGjdiTwABth4dhDCTItrrJpKtCzqGacp8rG ck7x1yXd2S/Yf25nxiPyC2QWO0+MR1MGuw5H6syFh1R5EWJ1Wm8X1dWF8Ww9/zsm/dfK ecmTdAlxDaA12bfpTx5WWhQmRUoEgocN+pwmqJl+GISzlqtao99vvJy6Ib09rBUkGFkY o4wpF/U4xzAMWEwLdwrqRpSwdsL/yjQj/HI4EVfd0p/mozNNu7Gfksx6Q09AnbYCHttd g8xA== X-Gm-Message-State: AOAM530kuD+v77llCe5AZuZMoeW5QtqySxpRKqkFAHm1r72OXdhHWYe/ y7PvCzoHrRt4hUi+GF3HKBNezLcnCA298wT60hyz+Wi5 X-Received: by 2002:a05:6638:bd1:: with SMTP id g17mr20791285jad.132.1597073672791; Mon, 10 Aug 2020 08:34:32 -0700 (PDT) MIME-Version: 1.0 References: <447452.1596109876@warthog.procyon.org.uk> <1851200.1596472222@warthog.procyon.org.uk> <667820.1597072619@warthog.procyon.org.uk> In-Reply-To: <667820.1597072619@warthog.procyon.org.uk> From: Steve French Date: Mon, 10 Aug 2020 10:34:21 -0500 Message-ID: Subject: Re: [GIT PULL] fscache rewrite -- please drop for now To: David Howells Cc: Linus Torvalds , Alexander Viro , Matthew Wilcox , Christoph Hellwig , Jeff Layton , Dave Wysochanski , Trond Myklebust , Anna Schumaker , Steve French , Eric Van Hensbergen , linux-cachefs@redhat.com, linux-afs@lists.infradead.org, linux-nfs , CIFS , ceph-devel@vger.kernel.org, v9fs-developer@lists.sourceforge.net, linux-fsdevel , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org cifs.ko also can set rsize quite small (even 1K for example, although that will be more than 10x slower than the default 4MB so hopefully no one is crazy enough to do that). I can't imagine an SMB3 server negotiating an rsize or wsize smaller than 64K in today's world (and typical is 1MB to 8MB) but the user can specify a much smaller rsize on mount. If 64K is an adequate minimum, we could change the cifs mount option parsing to require a certain minimum rsize if fscache is selected. On Mon, Aug 10, 2020 at 10:17 AM David Howells wrote: > > Hi Linus, > > Can you drop the fscache rewrite pull for now. We've seem an issue in NFS > integration and need to rework the read helper a bit. I made an assumption > that fscache will always be able to request that the netfs perform a read of a > certain minimum size - but with NFS you can break that by setting rsize too > small. > > We need to make the read helper able to make multiple netfs reads. This can > help ceph too. > > Thanks, > David > -- Thanks, Steve