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 us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3D696C433F5 for ; Fri, 8 Apr 2022 17:13:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649438022; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=IE7PeNeoncDruxlF02JkJvZFPXg67LfzI0JnfCMX3ks=; b=B3CKMZgiATOdYoFJmdSeMdqF77AplSaloUbVIhpgMMcW0hRyFmFpDqkhaEpmWp0bcsPBFH esSyLiWwnZ5W67MO8uKsx7xVRD9F1nqMP6nnw29Kp7wEjyvVMRwSNdjYb1sDu8CHqZG94/ qia+4UDDmdM5y6ACOWJAKaV9mcvU2JQ= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-5-62t8-nX_MaysAqqJHSZu4w-1; Fri, 08 Apr 2022 13:13:40 -0400 X-MC-Unique: 62t8-nX_MaysAqqJHSZu4w-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 67395833960; Fri, 8 Apr 2022 17:13:38 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4E17842D3B1; Fri, 8 Apr 2022 17:13:37 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 918EB1940344; Fri, 8 Apr 2022 17:13:34 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id B03AF1940341 for ; Fri, 8 Apr 2022 17:13:33 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 8CF942166B1F; Fri, 8 Apr 2022 17:13:33 +0000 (UTC) Received: from localhost (ovpn-8-29.pek2.redhat.com [10.72.8.29]) by smtp.corp.redhat.com (Postfix) with ESMTP id 50DC82166BA3; Fri, 8 Apr 2022 17:13:02 +0000 (UTC) From: Ming Lei To: Mike Snitzer Date: Sat, 9 Apr 2022 01:12:51 +0800 Message-Id: <20220408171254.935171-1-ming.lei@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 Subject: [dm-devel] [PATCH 0/3] dm: improvement on io referencing and io poll X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dm-devel@redhat.com, Ming Lei Errors-To: dm-devel-bounces@redhat.com Sender: "dm-devel" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, The 1st patch removes get/put io reference in dm_zone_map_bio. The 2nd one improves io referencing. The 3rd patch switches to hold dm_io instance in single list. Ming Lei (3): dm: don't grab target io reference in dm_zone_map_bio dm: improve target io referencing dm: put all polled io into one single list drivers/md/dm-core.h | 9 +---- drivers/md/dm-zone.c | 10 ------ drivers/md/dm.c | 79 ++++++++++++++++++++++++++++---------------- 3 files changed, 51 insertions(+), 47 deletions(-) -- 2.31.1 -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel