Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp637413img; Wed, 20 Mar 2019 07:52:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxuNrTZ+46QmxvnV7w8HMBTqwbYQaInxMLY4aTOODAqTjVmoALGqZk+T3BXUmggmfrfdh8U X-Received: by 2002:a65:62c2:: with SMTP id m2mr7687056pgv.348.1553093567118; Wed, 20 Mar 2019 07:52:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553093567; cv=none; d=google.com; s=arc-20160816; b=rvW5AfsXJGagT7Nw5H/nbuObrkP/YSYNF+B58MR0caSNUUFtrg7zU3PDi+lP/3dho3 oUA1zKnRF9dItCqfh7m2Dmh4xjFksyKGM7hWfdPtHKRFS0GdM3mke8zixTPvRvdiO9sW V9PluzWLLM4xcQ7i/RqC9Oc2QVzPZgnYqVeAIm/11FA3PlGkUI2bLFu0l9FQbJmQQB87 gxSzbyfrdGgaUGnqg8rKVenfQZ3+KH/u11haxrTdWyIJJoji47szPiMNxiVNsHP+zy19 uFOHm5Seo4kK7/0Jz9+igwBY8BJSow+o5B02fd6XOAlAk6GOn+iytRyOiEr6HL5n/TQM nxVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:date:cc:to:from:subject; bh=rLonnFgDf5QiiUftX9Sw+d+44YpgPfXG0cSfzqhkcZI=; b=Bivtfjl95MiCOQJR57PaPNA9sppQW/vTcMENG2Y9afkp86C+RujwCLj/5mz8A/CXnG 8MnUIzc2mFNxtDsRVlvt2Pm8kIR0b+ub/zBJcb8HI7T4MZVqqi7lEjKPJ+xtd0n2ReoH //INxVHHY4SNLHOXMjVZULtw+QM8PUSQP1dGNcWdENTxZ63q95rJD39Qqr0SiNsiEYc8 YK+Zgq6b+b71Tyy7kHssAydmZKF//Qz+6onkLPg6NjrkQykGUK7puOf0mPBxWPuliWP6 Tc8TFQPAqcqCZI8X5HD0dOaAStzvJbfX/7fqNcS6RSAYnqxw39PGsa1u9E2Vrn2MKUGy x4Jw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c11si1798004pfc.39.2019.03.20.07.52.31; Wed, 20 Mar 2019 07:52:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728223AbfCTOuB (ORCPT + 99 others); Wed, 20 Mar 2019 10:50:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43854 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728145AbfCTOt6 (ORCPT ); Wed, 20 Mar 2019 10:49:58 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C4A48285B1; Wed, 20 Mar 2019 14:49:58 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-47.rdu2.redhat.com [10.10.120.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id C6EA4608AC; Wed, 20 Mar 2019 14:49:57 +0000 (UTC) Subject: [RFC PATCH] ceph: Convert to fs_context From: David Howells To: ceph-devel@vger.kernel.org Cc: viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, dhowells@redhat.com Date: Wed, 20 Mar 2019 14:49:56 +0000 Message-ID: <155309339693.2324.9941108136967815885.stgit@warthog.procyon.org.uk> User-Agent: StGit/unknown-version 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.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 20 Mar 2019 14:49:58 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Here's a patch that converts ceph to use the new fs_context struct. There may be prerequisite commits in the branch detailed below. The patch extends use of the parser infrastructure into libceph and rdb as there's a shared parser. This can be found in the following branch: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=mount-api-viro Thanks, David --- David Howells (1): ceph: Convert to fs_context drivers/block/rbd.c | 362 +++++++++++--------- fs/ceph/cache.c | 9 - fs/ceph/cache.h | 2 fs/ceph/super.c | 697 +++++++++++++++++++-------------------- fs/ceph/super.h | 1 fs/fs_context.c | 2 fs/fs_parser.c | 2 include/linux/ceph/ceph_debug.h | 1 include/linux/ceph/libceph.h | 17 + net/ceph/ceph_common.c | 410 ++++++++++------------- 10 files changed, 726 insertions(+), 777 deletions(-)