From patchwork Fri Mar 5 06:52:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingbo Xu X-Patchwork-Id: 395125 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=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY, USER_AGENT_GIT 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 58360C433E6 for ; Fri, 5 Mar 2021 06:52:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 09B326501F for ; Fri, 5 Mar 2021 06:52:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229446AbhCEGw5 (ORCPT ); Fri, 5 Mar 2021 01:52:57 -0500 Received: from out30-42.freemail.mail.aliyun.com ([115.124.30.42]:39957 "EHLO out30-42.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbhCEGw4 (ORCPT ); Fri, 5 Mar 2021 01:52:56 -0500 X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R881e4; CH=green; DM=||false|; DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=e01e04420; MF=jefflexu@linux.alibaba.com; NM=1; PH=DS; RN=5; SR=0; TI=SMTPD_---0UQWlLrJ_1614927171; Received: from localhost(mailfrom:jefflexu@linux.alibaba.com fp:SMTPD_---0UQWlLrJ_1614927171) by smtp.aliyun-inc.com(127.0.0.1); Fri, 05 Mar 2021 14:52:51 +0800 From: Jeffle Xu To: gregkh@linuxfoundation.org, sashal@kernel.org Cc: stable@vger.kernel.org, jefflexu@linux.alibaba.com, snitzer@redhat.com Subject: [PATCH 4.14.y 0/4] dm: device capability check fixes Date: Fri, 5 Mar 2021 14:52:46 +0800 Message-Id: <20210305065250.70340-1-jefflexu@linux.alibaba.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <16146062492354@kroah.com> References: <16146062492354@kroah.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org - patch 1/3/4 is from upstream - patch 2 is to fix the code specific to 4.4 (has been removed in upstream) Jeffle Xu (4): dm table: fix iterate_devices based device capability checks dm table: fix no_sg_merge iterate_devices based device capability checks dm table: fix DAX iterate_devices based device capability checks dm table: fix zoned iterate_devices based device capability checks drivers/md/dm-table.c | 168 ++++++++++++++++++------------------------ 1 file changed, 70 insertions(+), 98 deletions(-)