Message ID | 20221109133453.51652-1-christoph.boehmwalder@linbit.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp338150wru; Wed, 9 Nov 2022 05:39:15 -0800 (PST) X-Google-Smtp-Source: AMsMyM4F+FazFabynIypIzmYazOwll6jAQQChY8dkyvpARRfmKcF6mk9cwQl+Jnz81MwHPs+kRXa X-Received: by 2002:a17:902:e8c4:b0:186:6d63:7e with SMTP id v4-20020a170902e8c400b001866d63007emr61683446plg.122.1668001154738; Wed, 09 Nov 2022 05:39:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668001154; cv=none; d=google.com; s=arc-20160816; b=EXS15nWjI0U57Sp9F2gLE92mLRhyhcz3OdPUiDBPf09xSQFVOKjkVgU6wz531ccLNk 1vCj77Q25YWyVwEZT0I3xkNitcYIZf9UxdFZXA0j5uIKJlPlDX4RPdUheasGVZCLf/ec 7CPJ3tnY5W6KxKt9RHM8DVtScoGtUQxIEVNgot43hlvkJvJoBVOsLHBoR46z1S2410of kdvFEr7yszUaIxRTk2V938YLR5whtx5pL+Szw41/1BM+pPQxndVpkovz6KR2WmF/R9m1 x7lh+P/FbcOK6euTLuuBkrb4q17+3EiRuWwG94TTdDS/l/mp1vUNY9e5rUvlaH3Kle2s GUaQ== 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=gtOl1+w9+H/kDpYw0VENqPv5aJ8skI+vP8Y3fHG6JhY=; b=pLdSgEJsmiuYwt0M2UnaQu05WCfSrDnKwBYkohyp+150JYpJ2AGZitfIVyROXJhFo3 BznHW5LJVqxNnJQLxsDRIzeB8hVr3VTKZlHKhBRqlwtsR1r2SVs65sAfrWsM8oUU0wGU GrANvj62C9gErvOkn00JN9KFh4W6VErtgJexgRxSPPh1z4CXPshdUM0sflOwnIYFxkgS 1He3z8wKdXBZHmo+TSTxgg3OYknLUE0MS1Vl/4bRGzPv+gX6tlDssaDzzXgQLeZd6wu6 UcdI0FJuVyXU7Fo+J0TFGBJpweBO53VrH0hpDpLdx4DYe4zNO8dj4aDNFQHyXgMUAVBK XPvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linbit-com.20210112.gappssmtp.com header.s=20210112 header.b=m3xksJLf; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e6-20020a636906000000b00441e10f5e3bsi15928176pgc.539.2022.11.09.05.39.00; Wed, 09 Nov 2022 05:39:14 -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=m3xksJLf; 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 S229898AbiKINfI (ORCPT <rfc822;dexuan.linux@gmail.com> + 99 others); Wed, 9 Nov 2022 08:35:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229558AbiKINfH (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 9 Nov 2022 08:35:07 -0500 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 649AF2B1AD for <linux-kernel@vger.kernel.org>; Wed, 9 Nov 2022 05:35:06 -0800 (PST) Received: by mail-ej1-x62f.google.com with SMTP id y14so46668132ejd.9 for <linux-kernel@vger.kernel.org>; Wed, 09 Nov 2022 05:35:06 -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=gtOl1+w9+H/kDpYw0VENqPv5aJ8skI+vP8Y3fHG6JhY=; b=m3xksJLf0b3ZNRrGKim/LnCvOPAM7mztwM9sBrnvlkQ/JNHs0iof1K+DXpqiv6kQqv Cbn/baGxs0r/3h72mEOEwPOmeWnMJHbrynlqVSdkLBwig0vEJLJb9RPjua8pSFhZRAAi ZKQdjhMu4nSSMUcMqZ27zjkSLMBLm2YMM4VyE1E03RDglqtSNluJKUNnWUzwIJ+hBiDr 0F3Q7wVaF7GM+ut94pMWKwHGsHjdq7wXls1n+094e9y+E5JGfbIObB90o6FNg1o9t7gm AtqSlSwKrUy6zQAQ4whkQb9nRylPlPMZry5qDr/HGVHwhF9dhMYuTQKLpyCUkWcvqj0u J+6A== 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=gtOl1+w9+H/kDpYw0VENqPv5aJ8skI+vP8Y3fHG6JhY=; b=3+BVLqVHaoPS4hlLCJLf7OeGoSpPCdZMnFAD3p2OvCnNSul3PdMMNWcAC2As9yGWPs tKAa+Dqo91WI7CkcOciMr2S0jzFd0YWCCWQKF9a8FbSCYAn5kTU221mfjSAeu9KoS/C5 67thx2EplWfNdsK2IKqjOLeUEXp/Fz4Jfo76wu00zWbEVO/YLNJHkv2nex7c76LZpyoo k2t0Jvxdo1JB459O6Fgb87kRlhwKm5wCRo/EKsMyatbbMuo2daplCGc6UpRJDtdeS5BA Mr1ahn3Zv3BAwnUZl4GnyEi3HEiBHChrYviAlxvGLZiJRI9IIYRqqyzbM3pJlKC8rdKt 7CzQ== X-Gm-Message-State: ACrzQf2SZ+aoO2MS7o/3fRy0cEA9e7TR58uM39edbPGZ+XYHAXtCKqFa g/uS5NzIWPV4ou+U6EPDFR8K9g== X-Received: by 2002:a17:906:474b:b0:78d:cea0:e87a with SMTP id j11-20020a170906474b00b0078dcea0e87amr1144404ejs.178.1668000904938; Wed, 09 Nov 2022 05:35:04 -0800 (PST) Received: from localhost.localdomain (h082218028181.host.wavenet.at. [82.218.28.181]) by smtp.gmail.com with ESMTPSA id lx8-20020a170906af0800b00782fbb7f5f7sm5867463ejb.113.2022.11.09.05.35.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 05:35:04 -0800 (PST) From: =?utf-8?q?Christoph_B=C3=B6hmwalder?= <christoph.boehmwalder@linbit.com> To: Jens Axboe <axboe@kernel.dk> Cc: drbd-dev@lists.linbit.com, linux-kernel@vger.kernel.org, Lars Ellenberg <lars.ellenberg@linbit.com>, Philipp Reisner <philipp.reisner@linbit.com>, linux-block@vger.kernel.org, =?utf-8?q?Christoph_B=C3=B6hmwalder?= <christoph.boehmwalder@linbit.com> Subject: [PATCH 0/3] Miscellaneous DRBD updates for 6.2 Date: Wed, 9 Nov 2022 14:34:50 +0100 Message-Id: <20221109133453.51652-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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749025978827034734?= X-GMAIL-MSGID: =?utf-8?q?1749025978827034734?= |
Series |
Miscellaneous DRBD updates for 6.2
|
|
Message
Christoph Böhmwalder
Nov. 9, 2022, 1:34 p.m. UTC
Here are some various updates for DRBD. The first two are related to the handling of discards in DRBD, and the third is a resend of [0]. [0] https://lore.kernel.org/all/20221024142424.25877-1-christoph.boehmwalder@linbit.com/ Christoph Böhmwalder (2): drbd: use blk_queue_max_discard_sectors helper drbd: Store op in drbd_peer_request Philipp Reisner (1): drbd: disable discard support if granularity > max drivers/block/drbd/drbd_int.h | 8 ++- drivers/block/drbd/drbd_nl.c | 23 +++++++-- drivers/block/drbd/drbd_receiver.c | 81 +++++++++++++++++------------- drivers/block/drbd/drbd_worker.c | 4 +- 4 files changed, 71 insertions(+), 45 deletions(-)