From patchwork Fri Apr 14 08:36:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Song Liu X-Patchwork-Id: 13211115 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C398CC77B70 for ; Fri, 14 Apr 2023 08:36:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229878AbjDNIgr (ORCPT ); Fri, 14 Apr 2023 04:36:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229930AbjDNIgq (ORCPT ); Fri, 14 Apr 2023 04:36:46 -0400 Received: from mx0a-00082601.pphosted.com (mx0a-00082601.pphosted.com [67.231.145.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DB6D30EA for ; Fri, 14 Apr 2023 01:36:36 -0700 (PDT) Received: from pps.filterd (m0044012.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33E2cnUj030516 for ; Fri, 14 Apr 2023 01:36:36 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meta.com; h=from : to : cc : subject : date : message-id : content-type : content-id : content-transfer-encoding : mime-version; s=s2048-2021-q4; bh=+5yjZpzuCiY7aWVNbWWptswQ92twIJb0N4I3Lw6T3Zw=; b=QXLW6L/5lNdkGRooqrgurhSLEXuQCPX1V2z+IlpVVsrLtHksMv/7x17DtzoU7W7HghEj HnqEoaQm/pBitCK6mCTSL7D+Z9rrWajDksbto9myIMId+44XHM0NhWcQ4d59m51ZjQC2 jwqbaN8dV2gfKAbM7CN/ZnU2/XTZEP4LDxlFQonPPQcNdeSKnK3lJYMr/2EwY8PRqyrD ANepU5IVo4IEU1wb58M/uENYdHJ/ujrN1z5HPmdiRXmD7PDwV7smqzMK2Vk7bG+O467Q aqgjKaHqNOscteDnsIzr2sCrl/WDrHWKQaA2LG1u6Ysy0F6jXHJr/uXBk+jkjHSe1Wl4 cw== Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2103.outbound.protection.outlook.com [104.47.55.103]) by mx0a-00082601.pphosted.com (PPS) with ESMTPS id 3pxx7qhcr4-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 14 Apr 2023 01:36:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fui9iKuXxZjiwlR6heZ8FUwkt4f/EsGflzzx2GRyc4wcKTPD+A+OXBsdGh/FHlpnlV3dqYLmDWf1CfEIiPHJPZBxNLwJAyDlBfyLmmNGaqbqhizj29DE/DuNbsPvE8Yh5ugkLCeSKDTbxyt7bJ3EWkc8iHF7xQbVtgaq/B2GIq2odWMB7/su5N0F5mxlE/YaxP7V+5sszSlXZRNKXndLk/yv/QmECJmVOiR+ZHcMPM/CXozFQi3NhSCm/S2fniIl8hiCMKeJi3LWiSkhgvCCacfLeQr1vttP6ogEukinDJt/S5sbm2bw6DS1ZyowTpPzhB5uMYjukFoBeIaq08xntg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+5yjZpzuCiY7aWVNbWWptswQ92twIJb0N4I3Lw6T3Zw=; b=VgVFKdHbm5KMecTEppWU6ClxrYd9C+02J6LmtlokJ9Adc8H2RtjRhquEl0KnjPMIXuLiSQDbkakmAG/RS9tvw/V3D4a10IQ6eosnm0v5hATJFslwaWFK2vfK2U5kCiSAn81Tnv+HjKWZlXNSXYCqptfru46YRhZpjmr7ucHwfsIFs8TuMnrT7AP02RmJnT0wRdh0vAvC6yPFGhdHRmwIJ9H4PtGWNeZL7bXxiDml0H3oDOlUe+XXYCj/A7ugwT9iRH2jlTNtTX/jpuTS4pVJBh5spi4XhBWbOmP4YymzmcfEwTowPXFyZ1qbSRNvIsVUL1UOOqUbMfbsr1PLG8oT3Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=meta.com; dmarc=pass action=none header.from=meta.com; dkim=pass header.d=meta.com; arc=none Received: from SA1PR15MB5109.namprd15.prod.outlook.com (2603:10b6:806:1dc::10) by DM4PR15MB5962.namprd15.prod.outlook.com (2603:10b6:8:183::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.38; Fri, 14 Apr 2023 08:36:33 +0000 Received: from SA1PR15MB5109.namprd15.prod.outlook.com ([fe80::e868:d4eb:382:e522]) by SA1PR15MB5109.namprd15.prod.outlook.com ([fe80::e868:d4eb:382:e522%3]) with mapi id 15.20.6298.030; Fri, 14 Apr 2023 08:36:33 +0000 From: Song Liu To: Jens Axboe , linux-raid CC: Tom Rix , Yu Kuai , Mariusz Tkaczyk , Jon Derrick , Jiangshan Yi , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= , Li Nan Subject: [GIT PULL] md-next 20230414 Thread-Topic: [GIT PULL] md-next 20230414 Thread-Index: AQHZbqw3BaN+MhRPqk+ptjm98Q4rQw== Date: Fri, 14 Apr 2023 08:36:33 +0000 Message-ID: <63276F1C-0855-49EB-A04C-411A57159C02@fb.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3731.400.51.1.1) x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA1PR15MB5109:EE_|DM4PR15MB5962:EE_ x-ms-office365-filtering-correlation-id: 6db4c0ae-6360-4f70-ada8-08db3cc35a24 x-fb-source: Internal x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tNkIt07Kze0u+1h/eHcdBZAU8A5sCY+0FcknJuazpMLS/o0WL0mP/uWjQd77lnYYe4GXkt4kroMFN3Ik9BWTY3tG2wxl7jTPWS0dJGSQJ/U6OZfy28h7wq8z+QHZKye5BcUmHfRp/IhwGybAYrsLjgKAfpCtrbojjNcjR40cqfUINQis8MXxIL984Tqw1bd0OnXjG2wnBQzfQWWO48MR8PhAyC15x3K6gzIR+sBYuCG+PsNWmgWrly/IRTjFFX+53aYRo9Db5RAgfGmiJpYItm+ltaIlgEbiU/UFJTcygYP9rAIUnXHLdStFE0bxnmvwrhmUvChoDnPxOr7EWpSURd+TBUkEnaAAO4u9WuvqRq0yCFZ4+haV7yQnLf3HIOrTsvXvxouQDmxM7Q7gT3ASvG5EkfmgVtfPLVh9KQETQu9TKPrYs310bzj0VWCKGpPh5DunkyMcQjaUAo3nPABpUHRwGE4tfmJBzzTbJPP8mAZwX2ch62EvHSUGtaxMEGzzA0fOn832rkF5FSD0fyP4zADOkgebLtUvbyZFIoCoy9h38o1iGBD75iARFnNsxWHqANMmO4m6ryYK6q4rJDNMdvz37aLcHJoYzVe7ht0L824= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR15MB5109.namprd15.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(346002)(136003)(376002)(39860400002)(366004)(451199021)(8936002)(6486002)(966005)(5660300002)(86362001)(91956017)(64756008)(66476007)(66446008)(76116006)(4326008)(66946007)(66556008)(478600001)(33656002)(38100700002)(110136005)(38070700005)(8676002)(122000001)(54906003)(2906002)(71200400001)(6512007)(9686003)(6506007)(186003)(66574015)(316002)(36756003)(41300700001)(83380400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?q?8XtVypM/IluaEJ3Och2Isk4V3Pv0?= =?utf-8?q?qS3WEMVLTMQ5m3bYicrZQ9DE97SM3/HzHi2HgTWHwRrlPh4a0J4Lec3DyziK4tezV?= =?utf-8?q?fiqpYbHsE/rfN6XIEqIK0vKjKG+9ryCEH22N8k+YP+08Feu0EfuLBajMlBau/I7FN?= =?utf-8?q?S+9CFi7aqACb0CLv7fOpMoUEwVXiSM3Dl0tdL4AXY1eO46MIybK8PnVDZ1k+fHbnR?= =?utf-8?q?xFcnt8rJwU7z47CPtJAbHaBGe4tT/1qszPWCO/jtbBZL55k39nlozj4fEVEEP0mH8?= =?utf-8?q?RCbPlti/OQbuY1K7/ZjXCTHM96cGLXOV0vEJbGqgWPqobXzsu0AdhO6d2FLr7INv2?= =?utf-8?q?6O+HI/yhVYw2tC1eW7m/uXQOVQneS82n+VjRrU5oV+jxal/c1TOZNcNamnn0fJBBp?= =?utf-8?q?/ufnxcwAYGd8pNnDUfbvyFQie1pfLQOeCIqD+jVvKbmIrcHDR8Da5vsLH2R4rHbHs?= =?utf-8?q?yJ1Ac8tm14oFJ4KT0eJ3A+1ljgQPZKfeVrxTVggSOGGrVhqaevZUquNghedv1xsIe?= =?utf-8?q?yaQ/wqhzXf6H80sj0FsP1F6z/fLF4mkxK9Vivq/UGD4lRrFPzbyZdJBG0xnqp45RY?= =?utf-8?q?A5oJH2y0r88TXCawIHCWB3mmaqvXhvW2hEyBJG9x6zRr1EBm2ih2MIHuRJfn20HV5?= =?utf-8?q?9heN+0q4VXIIgQMWdpY22ylOB/9VJJPaWH30gRjUb03RymDPgPPBiJr5gnAI/kUe1?= =?utf-8?q?+TprjZBg7jnvBmsjhzKeOY+pkSR1fncJR2qkz3gxLGoTAmer/Ar/B390G6o451KUV?= =?utf-8?q?GWJL4GjK2lqy8uCtE+ur4wiz4QEQMbdHHihZ/53Ez6UwS+YIHr1E150fH+3b6XXUj?= =?utf-8?q?5BPKVMS+db9W78s3nvi+rdudPqtTS6n6S62KoAeD5FZAXoK0H472RC5mL9Q5mv3Lq?= =?utf-8?q?mUKJKdOptDCTcGoZtoFwTnffKz80+l2/qakLpaGrSC92B9fYtjVgIWLnEoZAcnYLZ?= =?utf-8?q?AVXfa7ZbTDJLV+9kFWS4UaLeMNt6m9/f3zbzWgKoW3ajKDDjpVycEEnPo9i+efZbP?= =?utf-8?q?W08a+cHymaDNH6KRX2lLF7ISmwnRP9jXehT/cUo2IFGNOMTG1j+gKix32GlAEB3SL?= =?utf-8?q?k4sYO7rzLO+nori0w8XUniE0te5Du+mRnQvqs/gcCrdFmGqeIcu7+Gdw+5WCH0o0B?= =?utf-8?q?yH2OFlbgpbUiW6hTmNuL74lAzC4DTcslCveh8MADHOMrm1778xmaU3QVHrH5dRSVN?= =?utf-8?q?lhjZhmufORkT7pBtby8Y7S796LfFg9Wf7F8mc5un9YPlS+QRYMsvf9rCEJpWkRwSh?= =?utf-8?q?teC18r/BYjFCZrw9QhaO8snuYjmIN8MCcRhapLKzcMK18x1yE8eQb5nmebCw0gF6z?= =?utf-8?q?Q3AkNILErgV/RckrbhsJiwDNjQyu2EfNYp260cG8g48cpXJhxg/xfXh4iJlFOk2Fs?= =?utf-8?q?wOPAEz5T6h+/STjuXzCisJ4UJluITck8cfSwkK7/3xfffdNn5K2KET3KEqNDobcRk?= =?utf-8?q?u4jyY1Lx4CAUkRLJocCIbNNpVYPGdTROLD7U2Wm6CcZWbP+B8PIGB3J6ZjOTnplcW?= =?utf-8?q?b5swyfssX+D+m4hLQk4RTDj+vr+2KQM1CtRK72t+/zIqerRncvdxPkg=3D?= Content-ID: <55EA631AF25508478E7C86E3C22EB597@namprd15.prod.outlook.com> X-OriginatorOrg: meta.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1PR15MB5109.namprd15.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6db4c0ae-6360-4f70-ada8-08db3cc35a24 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Apr 2023 08:36:33.1166 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: TMHyBop8FmX63IkhhKFQLSSaUr/8PL5lsuyjmPAF0z72JRE+2l9v5dGc11bP3fMnslkSSIaiwb9HBgvDVMfKiw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR15MB5962 X-Proofpoint-GUID: x9BFG7xoIvg5jCDGdfa3rAKCrPBlxqIc X-Proofpoint-ORIG-GUID: x9BFG7xoIvg5jCDGdfa3rAKCrPBlxqIc X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-14_03,2023-04-13_01,2023-02-09_01 Precedence: bulk List-ID: X-Mailing-List: linux-raid@vger.kernel.org Hi Jens, Please consider pulling the following changes for md-next on top of your for-6.4/block branch. The major changes are: - md/bitmap: Optimal last page size, by Jon Derrick - Various raid10 fixes, by Yu Kuai and Li Nan - md: add error_handlers for raid0 and linear, by Mariusz Tkaczyk Thanks, Song The following changes since commit bb4c19e030f45c5416f1eb4daa94fbaf7165e9ea: block: null_blk: make fault-injection dynamically configurable per device (2023-04-13 07:38:55 -0600) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/song/md.git md-next for you to fetch changes up to 7bc436121e557b1f5bebf5ad67e7ed3614d6df92: md/raid5: remove unused working_disks variable (2023-04-14 00:42:04 -0700) ---------------------------------------------------------------- Jiangshan Yi (1): md/raid10: Fix typo in comment (replacment -> replacement) Jon Derrick (3): md: Move sb writer loop to its own function md: Fix types in sb writer md: Use optimal I/O size for last bitmap page Li Nan (2): md/raid10: fix task hung in raid10d md/raid10: fix null-ptr-deref in raid10_sync_request Mariusz Tkaczyk (1): md: add error_handlers for raid0 and linear Thomas Weißschuh (1): md: make kobj_type structures constant Tom Rix (1): md/raid5: remove unused working_disks variable Yu Kuai (6): md: fix soft lockup in status_resync md/raid10: don't BUG_ON() in raise_barrier() md/raid10: fix leak of 'r10bio->remaining' for recovery md/raid10: fix memleak for 'conf->bio_split' md/raid10: fix memleak of md thread md/raid10: don't call bio_start_io_acct twice for bio which experienced read error drivers/md/md-bitmap.c | 143 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------ drivers/md/md-linear.c | 14 +++++++++++++- drivers/md/md.c | 27 +++++++++++++++------------ drivers/md/md.h | 10 ++-------- drivers/md/raid0.c | 14 +++++++++++++- drivers/md/raid10.c | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------- drivers/md/raid5.c | 5 +---- 7 files changed, 184 insertions(+), 131 deletions(-)