Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1295876pxb; Fri, 1 Oct 2021 07:43:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkFw8Z4JsPS2ALJgiSkw7d8yaBzTibSL0TGnbJEJkLVB6/r8p14v1dqkhqwRhpQJxpYQ/y X-Received: by 2002:a05:6402:1551:: with SMTP id p17mr14904846edx.388.1633099427941; Fri, 01 Oct 2021 07:43:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633099427; cv=none; d=google.com; s=arc-20160816; b=k5a/Fv76ASyU1XcAsgckawbapW6uNDwaenpA7gXTlBzHA085oFwpr/3175zQTuK/r2 XF4ASNEMq7AfiFLUoDcnKKv0JTW8c/GYq8EWYfjt6wz886JhxeaJ5M0vA5RX1DE6S5sC YGYi1NW6pvbFKw/DjfKPtUOuGUjbogcD51GzEomF+f/cXWPrxG5tL6wbUZ+0jsPQck+6 7WKAUfpRy2bZMxwq+carFr7l9OM9+e7VaXzAv02qq6CBfolNwPq6taxzWA4o81wJAFAO saW+dlfUpjyhbzb5Tyu4gVwmLD1dwZP7gzD7NvQEuHxqXAVqMd8ktuLFEXQvL1yW/d+C sKkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-id:mime-version:subject :cc:to:references:in-reply-to:from:organization:dkim-signature; bh=E29GZ2oEbpCi3bTn8wkvjiBB0VUKNYOMdkitkRG9tXs=; b=a+OpGDXIED2wa8m/JnOsUpHZcODVqlqfCe5OtOgX3VALf7x358cslmdPv6++UjPfgu zbtaHx2nrSD96EN6lUIqmjbOx9sImWG4B6WzwGRObPoVet5pIEoFS3gECIX5eQ03fbKa r7oOg/usnDWvDDHLnoIiNkIV83TFfNAWG+paBAa0438u7DrEoT6QsUr+xwVBl9NUfA8O NGzpbnWmKZkDeW1GJlFlHR5Zd9F4iwPCrbvBKQ5z04/M/BOAuDH6KelvIaRG+d4ms+Nc NfPuIJCYMi4lZ0XT5HFLnst1Co7EQToq+pBBPtbx4knl8F3/PkJBk8ixX4br86W5vWTo 85lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=So6R8w2g; 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 v1si7616408ejk.111.2021.10.01.07.43.23; Fri, 01 Oct 2021 07:43:47 -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=@redhat.com header.s=mimecast20190719 header.b=So6R8w2g; 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 S1354483AbhJAOo0 (ORCPT + 99 others); Fri, 1 Oct 2021 10:44:26 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:54417 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231679AbhJAOo0 (ORCPT ); Fri, 1 Oct 2021 10:44:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1633099361; 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=E29GZ2oEbpCi3bTn8wkvjiBB0VUKNYOMdkitkRG9tXs=; b=So6R8w2g4poGZUdOtBqJ/BD24r58KhM4pZsixfBM5B0jce04seasJWVHkCbn6wmbkZUTu7 sTsbcCjTe5rRvXnGWOSswsFeCo9WA3I9XkIFAX8fA5T/dfkBaHMTcZBVcHYkb1Nh6+nf9e IDcLyocJYQUQ66TI78NtQMgAOlaTbog= 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-150-2Jg3beaEOz6nx_TdC4EhkQ-1; Fri, 01 Oct 2021 10:42:34 -0400 X-MC-Unique: 2Jg3beaEOz6nx_TdC4EhkQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E74F6101F00D; Fri, 1 Oct 2021 14:42:33 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.33.36.44]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7C9825DA61; Fri, 1 Oct 2021 14:42:32 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <163189104510.2509237.10805032055807259087.stgit@warthog.procyon.org.uk> <163189108292.2509237.12615909591150927232.stgit@warthog.procyon.org.uk> To: David Wysochanski Cc: dhowells@redhat.com, Trond Myklebust , Anna Schumaker , Trond Myklebust , linux-nfs , linux-cachefs Subject: Re: [PATCH v2 3/8] nfs: Move to using the alternate fallback fscache I/O API MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <80681.1633099351.1@warthog.procyon.org.uk> Date: Fri, 01 Oct 2021 15:42:31 +0100 Message-ID: <80682.1633099351@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org David Wysochanski wrote: > The added "if (ret < 0) ..." renders the bulk of the switch statement with > non-zero cases moot. I have a patch or two on top of it that cleans this > up, and replaces the dfprintks with tracepoints. If you want I can try to > merge at least bits of it into a v3 of this patch, and leave the dfprintk > conversion to tracepoints for another patch. If you can give me the clean up bits, I can fold them in. I think it's probably worth keeping the dfprintk conversion separate. David