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=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham 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 B7F58C43381 for ; Sun, 17 Mar 2019 17:40:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 94FBA20854 for ; Sun, 17 Mar 2019 17:40:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726677AbfCQRke (ORCPT ); Sun, 17 Mar 2019 13:40:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47772 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbfCQRke (ORCPT ); Sun, 17 Mar 2019 13:40:34 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 639C483F3C for ; Sun, 17 Mar 2019 17:40:34 +0000 (UTC) Received: from cicero.redhat.com (unknown [10.33.36.77]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 13F185C207; Sun, 17 Mar 2019 17:40:30 +0000 (UTC) From: Andrew Price To: cluster-devel@redhat.com Cc: dhowells@redhat.com, linux-fsdevel@vger.kernel.org Subject: [PATCH 0/2] gfs2: Switch to the new mount API Date: Sun, 17 Mar 2019 17:40:25 +0000 Message-Id: <20190317174027.15291-1-anprice@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Sun, 17 Mar 2019 17:40:34 +0000 (UTC) Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org These patches convert gfs2 and gfs2meta to use fs_context. In both cases we still use sget() instead of sget_fc() as there doesn't seem to be a clear idiomatic way to propagate the bdev currently. Tested with xfstests -g quick, a bunch of targeted mount commands to exercise individual options, and gfs2_grow to test the gfs2meta mount. I'm aiming this at 5.2 so it'll have plenty of soak time. Thanks to David Howells for providing the method for parsing the complicated 'quota' option. Andrew Price (2): gfs2: Convert gfs2 to fs_context gfs2: Convert gfs2meta to fs_context fs/gfs2/incore.h | 8 +- fs/gfs2/ops_fstype.c | 418 +++++++++++++++++++++++++++++++++++++------ fs/gfs2/super.c | 335 +--------------------------------- fs/gfs2/super.h | 3 +- 4 files changed, 373 insertions(+), 391 deletions(-) -- 2.20.1