From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7299C433DB for ; Tue, 23 Feb 2021 13:07:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8068564E57 for ; Tue, 23 Feb 2021 13:07:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232611AbhBWNHg (ORCPT ); Tue, 23 Feb 2021 08:07:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:48964 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232588AbhBWNHN (ORCPT ); Tue, 23 Feb 2021 08:07:13 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 781F364E31; Tue, 23 Feb 2021 13:06:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614085592; bh=H0ZuxAlx9Sqw7HRYzR0VEIUpSiqd1zY+9kWfHyBQQ/k=; h=From:To:Cc:Subject:Date:From; b=E99XEtwEA9GbmQ6iGKb/HD/Et9vtw80s8iltoJ7LjAIX8PrtqHk+piIlJ42Re2RRY pMzfruOZlAenC+qrFTo6SdCQuOUKIW78K1aZpao0BSIy34Twf+Unpv1RRVqejTTsnB uXNJVS8Yl6seqQukUcAHteVBVJ+SILGPHXdecaLzqPR/2YC1QlJ5BO8dCSBZvhV8VO USImhYeUfnZ8qeUDrUDpjzBc7FLhHhNcoh6da83O08RaFe15vkTaJpBFbYr19h0LvE AwTXHph2DjVVyo8X8Vhib17VU0B9tAInfqmCcMdPX/y/pnU7o1qdMW/HblmQ33T62q vTuis4y2RAbKQ== From: Jeff Layton To: ceph-devel@vger.kernel.org Cc: idryomov@gmail.com, xiubli@redhat.com, dhowells@redhat.com, linux-cachefs@redhat.com, linux-fsdevel@vger.kernel.org, willy@infradead.org Subject: [PATCH v3 0/6] ceph: convert to netfs helper library Date: Tue, 23 Feb 2021 08:06:23 -0500 Message-Id: <20210223130629.249546-1-jlayton@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org This is the third posting of this patchset. The main differences between this one and the last are some bugfixes, and cleanups: - rebase onto David's latest fscache-netfs-lib set - unify the netfs_read_request_ops into one struct - fix inline_data handling in write_begin - remove the now-unneeded i_fscache_gen field from ceph_inode_info - rename gfp_flags to gfp in releasepage - pass appropriate was_async flag to netfs_subreq_terminated This set is currently sitting in the ceph-client/testing branch, so it should get good testing coverage over the next few weeks via in the teuthology lab. Jeff Layton (6): ceph: disable old fscache readpage handling ceph: rework PageFsCache handling ceph: fix fscache invalidation ceph: convert readpage to fscache read helper ceph: plug write_begin into read helper ceph: convert ceph_readpages to ceph_readahead fs/ceph/Kconfig | 1 + fs/ceph/addr.c | 541 +++++++++++++++++++----------------------------- fs/ceph/cache.c | 125 ----------- fs/ceph/cache.h | 101 +++------ fs/ceph/caps.c | 10 +- fs/ceph/inode.c | 1 + fs/ceph/super.h | 2 +- 7 files changed, 242 insertions(+), 539 deletions(-) -- 2.29.2