Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp894266pxf; Wed, 7 Apr 2021 14:22:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz39qHNwG2fD+NYl9A9kSqm7/He5rTEBGR0McaMZGIymj9yOn0lcHCC42r0tF5fdDFDSIyb X-Received: by 2002:a50:f40a:: with SMTP id r10mr7070422edm.200.1617830565335; Wed, 07 Apr 2021 14:22:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617830565; cv=none; d=google.com; s=arc-20160816; b=RNuNfxWtOlbfZSAoQDNSLB4bEVg2leyl+N9TeJTA9Bb411QB/rhRQSPuGDxu5kotYt j7pD0j9FuVPOXmLOpx4/ZZd3UEuF6SmwBAXNPRFV+RDnFtZB/NXJ2P6wYBf0dUDgAOIh nmZaHtYGXPiugNzqY7MnnU24sle8h9qdB5wiinJiT+kAekY+kMfVP9kyX+pDCo0E130g arbj+g4hi4IUmHSyg1y9ifCkhRVnnBuz6NSGVZCgyQUIdFdisxpOhEgMALHKKRkO92nz Et1TGwyCgVcjIdvvdhJ0CG8bqaUZ+bUqfY4JH2BJ3ccXe+P7dSKkc+tKkPLvrqyD8CEH CmoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:date:cc:to:from:subject:dkim-signature; bh=vBa++ylKdM6FaV/AsB3jGOj59UUYHkh6Ww/V2KVEjbY=; b=PGco0fOaXe0LkEyEivoKCNI1CCY4EsThTg1fDOOf80OlCsFoYqQCTXAJFJxJOo384p OWv3g0U6yr5xDIH6u2BK6ap8SDDAMxm/cv0iArp5U6LKbBpo6kgyGsSH8JX3sbmAgcFu W+mm45CWpPwZwmDfYbb5fGrDwG+EEn7xtLLG6yXomWBtS8gFPXXtq3KSaWBSKytaHQLU kWZbQMdTA0EzooT0fJ5wwArfCdHJiazoDX4vpZdTck40/3WVfFoH1kX3j5DVbAZK66Ym xJL+TX2BqjlSlKICFiq95vx9nz7ByCU7PihO3DiTRtnwQrUBmSaNlvoviPqHzqMoML0H i+jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SMtHi42i; 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 oy3si9429983ejb.248.2021.04.07.14.22.23; Wed, 07 Apr 2021 14:22:45 -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=SMtHi42i; 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 S1353764AbhDGPrS (ORCPT + 99 others); Wed, 7 Apr 2021 11:47:18 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:47184 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353754AbhDGPrM (ORCPT ); Wed, 7 Apr 2021 11:47:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617810421; 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: content-transfer-encoding:content-transfer-encoding; bh=vBa++ylKdM6FaV/AsB3jGOj59UUYHkh6Ww/V2KVEjbY=; b=SMtHi42iIphRFpRMxO4Lgq4RNut5e03uQ6XPrUl1H2soDXHztkPwAX1hg6UFc03n+2Q2Fs XiN1VerMBjSJHMq8W1seesHXHzjxXLJmZ2/Z28PcUIChXyJRedtU3Tv3LYqLnOuxhMpi5r kWTArmcIF+hEODG/vzW+089sTRlpEVE= 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-291-vJ-WsKDbMdGZLbaNmZzTBw-1; Wed, 07 Apr 2021 11:46:57 -0400 X-MC-Unique: vJ-WsKDbMdGZLbaNmZzTBw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0D7E51008076; Wed, 7 Apr 2021 15:46:56 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-115-201.rdu2.redhat.com [10.10.115.201]) by smtp.corp.redhat.com (Postfix) with ESMTP id 43E9D1893C; Wed, 7 Apr 2021 15:46:54 +0000 (UTC) Subject: [PATCH 0/5] netfs: Fixes for the netfs lib From: David Howells To: jlayton@kernel.org Cc: dwysocha@redhat.com, linux-cachefs@redhat.com, v9fs-developer@lists.sourceforge.net, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, ceph-devel@vger.kernel.org, linux-nfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 07 Apr 2021 16:46:53 +0100 Message-ID: <161781041339.463527.18139104281901492882.stgit@warthog.procyon.org.uk> User-Agent: StGit/0.23 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi Jeff, Here's a bunch of fixes plus a tracepoint for the netfs library. I'm going to roll them into other patches, but I'm posting them here for separate review. David --- David Howells (5): netfs: Fix a missing rreq put in netfs_write_begin() netfs: Call trace_netfs_read() after ->begin_cache_operation() netfs: Don't record the copy termination error netfs: Fix copy-to-cache amalgamation netfs: Add a tracepoint to log failures that would be otherwise unseen fs/cachefiles/io.c | 17 ++++++++++ fs/netfs/read_helper.c | 58 +++++++++++++++++++--------------- include/linux/netfs.h | 6 ++++ include/trace/events/netfs.h | 60 ++++++++++++++++++++++++++++++++++++ 4 files changed, 116 insertions(+), 25 deletions(-)