Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp838943rwb; Fri, 13 Jan 2023 04:58:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXtYkIx4AKis4JoQPgN7Bkex/z1DHx0/FFlcU6LSCYYZqhOdgaPr0NSN97s04yF+zKEj3s6E X-Received: by 2002:a17:90b:c12:b0:226:2124:ef67 with SMTP id bp18-20020a17090b0c1200b002262124ef67mr60679166pjb.38.1673614698597; Fri, 13 Jan 2023 04:58:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673614698; cv=none; d=google.com; s=arc-20160816; b=PDiONNSeqguKiWCZkhdgiflhxi8F1Gi8s9+Y9+6LIAz3VqglKbzY9ovYrMkK2CGFnT 4LSpaz8K3+mniNsno/sk13c4PLTvBlB1wJnB5H+wOTuCyFGuInR3aNwk8xPe+mex7HsK 4vYkN3G9Xb5qf/tJuJHSgavlUnxvKVH06wug7OKalipiBe4IDo7NZE6nwEvXDjSVLc1X tsSS5CJWXuVObIt/ocz4F/g/XSkT8KYDhU49LxC2KN9vSGihnUI0MnpkascbzsuzDlY+ z9hEeLprfD5TZOnMmOPTZDkXl5CMZiQm4grNH0Q1LHST22LAwfh5COF1kFOP8B2/5Z+b 776A== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=NGS8p58llTH0j/JtmBIf8IcqQNNb3dOfgpZWMO+4qxc=; b=0qS9thzG78/qM7IH/eNhXmCnk+POwgUo7a8I/gbvdQxcE7xPmISHxxGMOyMm82MZLj vWpOC2jPlNhq3iZlgVq77oA6lweEA8g5mqke5Volsu2xVPFXSIkOdHxHSxzEtuDWvtzb AIeDWLT7IAswsmPZ1mdVzZwjvqkP48UYqu4CTnL8MhOFVh/6ro1z64N0H8mtBNI0OmhT YE5V/bdk78qgIuvoae1GLc3fMQ68XGyyt4ifTWkoTWyBnx3+eHT0VK6Yt/dhpIEAzXEO +PME64UWD1JSXicv7LNlMk5iY+Jl4pJXy7TsnGVaOjeOsA/JWc8n46wL5eY5U0hw3adS V6QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linbit-com.20210112.gappssmtp.com header.s=20210112 header.b=G5XERQe1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pi13-20020a17090b1e4d00b0020d5867aab6si21844345pjb.141.2023.01.13.04.58.12; Fri, 13 Jan 2023 04:58:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linbit-com.20210112.gappssmtp.com header.s=20210112 header.b=G5XERQe1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241450AbjAMMpM (ORCPT + 51 others); Fri, 13 Jan 2023 07:45:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241705AbjAMMnH (ORCPT ); Fri, 13 Jan 2023 07:43:07 -0500 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A3A98792E for ; Fri, 13 Jan 2023 04:35:46 -0800 (PST) Received: by mail-ej1-x62d.google.com with SMTP id vm8so51995307ejc.2 for ; Fri, 13 Jan 2023 04:35:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linbit-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NGS8p58llTH0j/JtmBIf8IcqQNNb3dOfgpZWMO+4qxc=; b=G5XERQe1fAt3Kb9rlbCJGlE/89ixGm3qrHLrpxM52o9W/0TyCmxSK8KQYB+DUYZTCl AY4qBORSFTisRda10PDMY+5R4iuPQsg9ejNoGN0oAsC0KmmDTingntoX093fWxIcrj+l UCE5EExAVjAxNtM0FNgYMtoLw/XQgmXjT6fiMaAgJz92EOyw+9QhW40mYzZl3TtoVTnG xTq+RBQHqeDUbXoAayRw0mInjrPtl8dXWHZBcCLRPNTqRIel4A3i1BVADEN1KuHalqpG rDbDh9YTvY3a008v1wbhhbnxzKGt+Z/U9hhC072Jib9MCA5BUVcpEzd1sOxgmJ3eCboL /rog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NGS8p58llTH0j/JtmBIf8IcqQNNb3dOfgpZWMO+4qxc=; b=4SffvmmGJJbamS0cfyQtOqlqwsiYB+oORXaTGGSlupbz3pDJUYB9fKDOP+QQPPsqGQ V00SP2+avgK9DEvogOBtfop9lnhIoYDJ/2wgVZs4pt14S7p4dTe0Hy/1lcQu7KscGgs9 rZnFmaC6GqisTjTkKTODwusb3VPsgHl4g7+PzxXhjioBtSRRFZXxxvx+tK7aiZmGzIGM P27OlHo7mrsO8apLAUStj68P+7taLqt5aKf7PhAHHC5B3Ofz4t7nu/b4wAHvGAidcobd liJmEZxYUICVy6HicVadqjwHG3eO/5KIDakzI0yJ7P531s1xGmFqTq62drw/aohLKw7J HacQ== X-Gm-Message-State: AFqh2koFxZPfNszykwGCTS8rT54zJGmzta7QjHERb3pKcBFMaCCAVq3P tUQq874yf7nAtBdJssNYUdpiTA== X-Received: by 2002:a17:906:a18c:b0:7c1:5467:39b1 with SMTP id s12-20020a170906a18c00b007c1546739b1mr70848155ejy.72.1673613318750; Fri, 13 Jan 2023 04:35:18 -0800 (PST) Received: from localhost.localdomain (h082218028181.host.wavenet.at. [82.218.28.181]) by smtp.gmail.com with ESMTPSA id 18-20020a170906201200b00846734faa9asm8386323ejo.164.2023.01.13.04.35.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 04:35:18 -0800 (PST) From: =?UTF-8?q?Christoph=20B=C3=B6hmwalder?= To: Jens Axboe Cc: drbd-dev@lists.linbit.com, linux-kernel@vger.kernel.org, Lars Ellenberg , Philipp Reisner , linux-block@vger.kernel.org, =?UTF-8?q?Christoph=20B=C3=B6hmwalder?= Subject: [RESEND PATCH 0/3] DRBD file structure reorganization Date: Fri, 13 Jan 2023 13:35:03 +0100 Message-Id: <20230113123506.144082-1-christoph.boehmwalder@linbit.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To make our lives easier when sending future, more complex patches, we want to align the file structure as best as possible with what we have in the out-of-tree module. Christoph Böhmwalder (3): drbd: split off drbd_buildtag into separate file drbd: drop API_VERSION define drbd: split off drbd_config into separate file drivers/block/drbd/Makefile | 2 +- drivers/block/drbd/drbd_buildtag.c | 22 ++++++++++++++++++++++ drivers/block/drbd/drbd_debugfs.c | 2 +- drivers/block/drbd/drbd_int.h | 1 + drivers/block/drbd/drbd_main.c | 20 +------------------- drivers/block/drbd/drbd_proc.c | 2 +- include/linux/drbd.h | 7 ------- include/linux/drbd_config.h | 16 ++++++++++++++++ include/linux/drbd_genl_api.h | 2 +- 9 files changed, 44 insertions(+), 30 deletions(-) create mode 100644 drivers/block/drbd/drbd_buildtag.c create mode 100644 include/linux/drbd_config.h base-commit: f596da3efaf4130ff61cd029558845808df9bf99 -- 2.38.1