Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp867543pxb; Tue, 9 Feb 2021 15:00:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJz63JV94h0BnIBVdb+W45F6bFM6dqwxJDtC9SSR8qelMwkuQ7GKqn1aylsHQ8i44glTFCob X-Received: by 2002:a17:906:27d8:: with SMTP id k24mr10529696ejc.339.1612911616571; Tue, 09 Feb 2021 15:00:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612911616; cv=none; d=google.com; s=arc-20160816; b=Ywiol0dZu0O8lKHoZwKWukeMRoEPrZeP266J4IeNqFEr8smAT3UquLQ4iRVNTCiz3r bcYdquBV4+VtXD2zVxMgqjhZxr2VHj6qamfPhRV9fMHsmgo71EjFYFQf/sbrjUgYwI9N hmxVYCsGvfXybFNS8+8usCyahIdDHv28/eC3vxwgbRSEJbtRhpbCewrGs0R9CNBdOQrh FKf1TEq6Li37TpLHimQnHlplp01r7Yw7xtQLX7vCRHKjiCzGe9PVOi9eJljWAYLCGYGJ Sm/MnwT9IDfFxKNrnpJG1R8VVxqBja/cIjS3UKb4TVXek5Fr4/hEmgwJk/DtIDfuBdGn 2WMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=GZ7uCNlA2uIi2Zywr96bupyWhGmv/tkzQj/R8fIDK/I=; b=zf1aK70kM5Ejv7Yr/jpXXsegqvnJtgVQx0wqyukKiNAUJ4WJoahVgbbA/xulxW1uMs l6PJ6Ikod07oBv/5tWyIhp0h646A81NcCpdSxIoNdQzEsp5Hn/85sy2AFwKNfRLklMhT JF7XTDCXomwt8+6/E7mzkUeKSarZnzF/DYaVFhvsg0YoEl1G14QfGX2dC1sRCM1rXcGu tK3kOcEDrK+tYrmBoxqIfW2TncL3cb7YNvEJLW9UJ79nb4LILkoWPBVsEeQqaCBt9SBi 1x7doSiH0mCHnymqyOlNGUWIQxQUbzh0mG5OuwVkyseGLtDMJSn3T22CssySOrwbW1Bb ek9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ThvLC+nB; 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=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 cd1si34092ejb.214.2021.02.09.14.59.53; Tue, 09 Feb 2021 15:00:16 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=ThvLC+nB; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234247AbhBIW4I (ORCPT + 99 others); Tue, 9 Feb 2021 17:56:08 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:33884 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234282AbhBIWob (ORCPT ); Tue, 9 Feb 2021 17:44:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612910566; 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=GZ7uCNlA2uIi2Zywr96bupyWhGmv/tkzQj/R8fIDK/I=; b=ThvLC+nBruinLXAt+KzOnl0zWjRSAnDcz1kVNE55hsaIZfbUmxiHEY61pthiU7cP38Bore HoPznRghZz3aAkDCqQKThIumgqZsCY3B5ESoNrCjbwLWkINo4KcIHV7uR0ZVX9oBs7zIl0 y3PZufAQ0+G4yYiuZj/tcA6XjIuPg+o= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-415-IqqOR_xQO0qU6hmLOPNKQw-1; Tue, 09 Feb 2021 17:42:41 -0500 X-MC-Unique: IqqOR_xQO0qU6hmLOPNKQw-1 Received: by mail-ej1-f72.google.com with SMTP id bx12so269414ejc.15 for ; Tue, 09 Feb 2021 14:42:41 -0800 (PST) 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=GZ7uCNlA2uIi2Zywr96bupyWhGmv/tkzQj/R8fIDK/I=; b=UcJwNgeKKEenobL0BvMypTmS0Bmk7meOAuEJoSLnqHs/jphH+BHgJSBHoCdZXdqGoc ffiSw6Z6nHvKX66balUc3olhVrHpdY3kRZzTunQWu0q3DktprJqQGIWOb2sft9XrIwLH C4f2dX2cuVU5Xvio50SaHPQAHwAfbaiNCyjsk1RHFg/bwp+3U492fgPQHt/h8l01lbbj phWcLbm6TPqcGY7fFyFu1CBNlgS7TDMZo0Gu7mw4+3nckYgKaXkc5YOkii4LNxpDMiQf 3ScD9fB24FksC8L95a3lxY7fB2loat3TwkOTUVLKXEILWgbZmyOUYoolr4yXFyfj+2PP RKnw== X-Gm-Message-State: AOAM531x+OAI46tPy78Nv/+NftGZw9pyFb93HqfM3Jlwunc6vjX7SVen UMRM436w1WV97OLYeDvoRbHcxpSJMMezX96zNpuq7AY0y49fmzGX6qAhZwx1cu8LHju7lAcY7ZF DxjBepvee9fLq80ge7U1c0EWo9w4AmfDXRsbp X-Received: by 2002:a17:906:b351:: with SMTP id cd17mr24871301ejb.110.1612910560580; Tue, 09 Feb 2021 14:42:40 -0800 (PST) X-Received: by 2002:a17:906:b351:: with SMTP id cd17mr24871281ejb.110.1612910560352; Tue, 09 Feb 2021 14:42:40 -0800 (PST) MIME-Version: 1.0 References: <591237.1612886997@warthog.procyon.org.uk> In-Reply-To: From: David Wysochanski Date: Tue, 9 Feb 2021 17:42:04 -0500 Message-ID: Subject: Re: [GIT PULL] fscache: I/O API modernisation and netfs helper library To: Linus Torvalds Cc: David Howells , Matthew Wilcox , Jeff Layton , Anna Schumaker , Trond Myklebust , Steve French , Dominique Martinet , Alexander Viro , ceph-devel@vger.kernel.org, linux-afs@lists.infradead.org, linux-cachefs , CIFS , linux-fsdevel , "open list:NFS, SUNRPC, AND..." , v9fs-developer@lists.sourceforge.net, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, Feb 9, 2021 at 2:07 PM Linus Torvalds wrote: > > So I'm looking at this early, because I have more time now than I will > have during the merge window, and honestly, your pull requests have > been problematic in the past. > > The PG_fscache bit waiting functions are completely crazy. The comment > about "this will wake up others" is actively wrong, and the waiting > function looks insane, because you're mixing the two names for > "fscache" which makes the code look totally incomprehensible. Why > would we wait for PF_fscache, when PG_private_2 was set? Yes, I know > why, but the code looks entirely nonsensical. > > So just looking at the support infrastructure changes, I get a big "Hmm". > > But the thing that makes me go "No, I won't pull this", is that it has > all the same hallmark signs of trouble that I've complained about > before: I see absolutely zero sign of "this has more developers > involved". > > There's not a single ack from a VM person for the VM changes. There's > no sign that this isn't yet another "David Howells went off alone and > did something that absolutely nobody else cared about". > I care about it. I cannot speak to your concerns about the infrastructure changes, nor can I comment about a given maintainers involvement or lack thereof. However, I can tell you what my involvement has been. I got involved with it because some of our customers use fscache with NFS and I've supported it. I saw dhowells rewriting it to greatly simplify the code and make it easier to debug and wanted to support the effort. I have been working on the NFS conversion as dhowells has been evolving the fscache-iter API. David first posted the series I think in Dec 2019 and I started with NFS about mid-year 2020, and had my first post of NFS patches in July: https://marc.info/?l=linux-nfs&m=159482591232752&w=2 One thing that came out of the earlier iterations as a result of my testing was the need for the network filesystem to be able to 'cap' the IO size based on its parameters, hence the "clamp_length()" function. So the next iteration dhowells further evolved it into a 'netfs' API and a 'fscache' API, and my November post was based on that: https://marc.info/?l=linux-nfs&m=160596540022461&w=2 Each iteration has greatly simplified the interface to the network filesystem until today where the API is pretty simple. I have done extensive tests with each iteration with all the main NFS versions, specific unit tests, xfstests, etc. However my test matrix did not hit enough fscache + pNFS servers, and I found a problem too late to include in his pull request. This is mostly why my patches were not included to convert NFS to the new fscache API, but I intend to work out the remaining issues for the next merge window, and I'll have an opportunity to do more testing last week of Feb with the NFS "remote bakeathon". My most recent post was at the end of Jan, and Anna is taking the first 5 refactoring patches in the next merge window: https://marc.info/?l=linux-nfs&m=161184595127618&w=2 I do not have the skills of a Trond or Anna NFS developers, but I have worked in this in earnest and intend to see it through to completion and support NFS and fscache work. I have received some feedback on the NFS patches though it's not been a lot, I do know I have some things to address still. With open source, no feedback is hard to draw conclusions other than it's not "super popular" area, but we always knew that about fscache - it's an "add on" that some customers require but not everyone. I know Trond speaks up when I make a mistake and/or something will cause a problem, so I consider the silence mostly a positive sign. > See my problem? I need to be convinced that this makes sense outside > of your world, and it's not yet another thing that will cause problems > down the line because nobody else really ever used it or cared about > it until we hit a snag. > > Linus >