From patchwork Thu Dec 20 16:23:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lars Ellenberg X-Patchwork-Id: 10739121 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CE1D9746 for ; Thu, 20 Dec 2018 16:29:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B283D2901E for ; Thu, 20 Dec 2018 16:29:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A6C6529046; Thu, 20 Dec 2018 16:29:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 325652901E for ; Thu, 20 Dec 2018 16:29:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733053AbeLTQ3i (ORCPT ); Thu, 20 Dec 2018 11:29:38 -0500 Received: from mail09.linbit.com ([212.69.161.110]:49430 "EHLO mail09.linbit.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732868AbeLTQ3i (ORCPT ); Thu, 20 Dec 2018 11:29:38 -0500 X-Greylist: delayed 351 seconds by postgrey-1.27 at vger.kernel.org; Thu, 20 Dec 2018 11:29:37 EST Received: from soda.linbit (212-186-191-219.static.upcbusiness.at [212.186.191.219]) by mail09.linbit.com (LINBIT Mail Daemon) with ESMTP id 8D42B103B4B8; Thu, 20 Dec 2018 17:23:44 +0100 (CET) From: Lars Ellenberg To: Jens Axboe , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org Cc: drbd-dev@lists.linbit.com Subject: [PATCH 00/17] DRBD updates for 4.21 Date: Thu, 20 Dec 2018 17:23:27 +0100 Message-Id: <20181220162344.8430-1-lars.ellenberg@linbit.com> X-Mailer: git-send-email 2.17.1 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Jens, I hope this is not too late for your for-4.21 branch. These are all from last April or even older, I was convinced we sent these for 4.19 already. But we didn't :-( The interesting new feature is "introduce P_ZEROES", which is replacing 45c21793a660 drbd: implement REQ_OP_WRITE_ZEROES because that led to "full allocation" for fstrim on dm-thin or similar, which is certainly not the intended behavior. Patch 3 to 8 help with recovery from odd corner cases in multiple error scenarios in a cluster, potentially after some admin already "tried things". All others are sufficiently simple and supposedly "obvious". Lars Ellenberg (13): drbd: must not use connection after kref_put(&connection->kref) drbd: centralize printk reporting of new size into drbd_set_my_capacity() drbd: ignore "all zero" peer volume sizes in handshake drbd: disconnect, if the wrong UUIDs are attached on a connected peer drbd: fix confusing error message during attach drbd: attach on connected diskless peer must not shrink a consistent device drbd: reject attach of unsuitable uuids even if connected drbd: fix comment typos drbd: do not block when adjusting "disk-options" while IO is frozen drbd: avoid spurious self-outdating with concurrent disconnect / down drbd: don't retry connection if peers do not agree on "authentication" settings drbd: skip spurious timeout (ping-timeo) when failing promote drbd: introduce P_ZEROES (REQ_OP_WRITE_ZEROES on the "wire") Luc Van Oostenryck (1): drbd: fix print_st_err()'s prototype to match the definition Nathan Chancellor (2): drbd: Avoid Clang warning about pointless switch statment drbd: Change drbd_request_detach_interruptible's return type to int Roland Kammerer (1): drbd: narrow rcu_read_lock in drbd_sync_handshake drivers/block/drbd/drbd_debugfs.c | 2 + drivers/block/drbd/drbd_int.h | 19 +-- drivers/block/drbd/drbd_main.c | 28 +++- drivers/block/drbd/drbd_nl.c | 133 ++++++++++++--- drivers/block/drbd/drbd_protocol.h | 47 ++++++ drivers/block/drbd/drbd_receiver.c | 251 +++++++++++++++++++++++++---- drivers/block/drbd/drbd_req.c | 19 +-- drivers/block/drbd/drbd_req.h | 2 + drivers/block/drbd/drbd_state.c | 11 +- drivers/block/drbd/drbd_state.h | 5 +- drivers/block/drbd/drbd_worker.c | 2 +- include/linux/drbd.h | 2 +- include/linux/genl_magic_struct.h | 5 +- 13 files changed, 434 insertions(+), 92 deletions(-)