From patchwork Mon Mar 11 18:31:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Snitzer X-Patchwork-Id: 13589209 X-Patchwork-Delegate: snitzer@redhat.com Received: from mail-oa1-f46.google.com (mail-oa1-f46.google.com [209.85.160.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2F580200C8 for ; Mon, 11 Mar 2024 18:31:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710181903; cv=none; b=Gu3V2uVUmiIAIh/zEh8K1oD7ykDfD589yIwMYCcycl6SgABAqi0P5sy1G1W/66ETiKinEBWxrFkLVIn1QnBuYOOb4mVgl1bcw73gB2yaSYqC+DNUXaEGLScpaHOVHc8dVH164j/oz7A5udfDrnkpg/ggW2aAvr2avyhetcN6Y6Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710181903; c=relaxed/simple; bh=wng8NQM9nVVOZR5i7bah2DwklbhQVDLTcKi8F7BAD9c=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=WMZfI2opJ1U5MXJ47Xdg7KY16AvJENUmjKM2RjzZqKFKkEP5aJQHzWGpnZ9ysrCUzD8Auj4jw8T06EgcqlHY7aTE8IWHAfQxqbKvvhNFBGKBw3eWlXqJEYmVRVTJvrXPXFmt1NrDDzT6MSGh5PZAo5QzD96uxDVJEoGvZx7f+2U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=redhat.com; arc=none smtp.client-ip=209.85.160.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-22187576d54so3619229fac.1 for ; Mon, 11 Mar 2024 11:31:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710181900; x=1710786700; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=61k/P7ymJsb2jESIDw3SfNET98/8UN55RrF7YkCOCew=; b=oZ/G1lXVCRvRthQVaM7vDjrN6wi1kWr92wg5OHa8Kz7PGY+SkRUdJGiPysfKGS489s KUqhBVWuIuKnC0KpJyimdpVlL5VCmn43wP7h2IT1frUdVLqwdfJytHU9BmR4s62cII3f 4SLQAa9N4qoQupMXpH3UvlTiWV3myQ6w12dlJxIgmd+puhFEBMsx5iQO8xpXrAzxLEvN vFZwOB3YidIo2q2OMatEhJitnyl1DnedvB4p6Asul0Y11FeYPUyeYZmWX8E0838140I8 CvrAwTZxUs+HQ8A8Z5PzUbzOih17ybgTcexA3W72ZDRFc5yhsbn9SIenIFxhwHUZ6/KP o7dg== X-Gm-Message-State: AOJu0YyqXi0SPMEHp5Sbz08CqdBx2uPWNLfupR1CZFAXbwgpXjPWHj73 pGhMHkAC88aWOtL82+YjKtEnzEN1KzSAiBEHaDKDVHKT8ytF7MpUBTo/ZpqitA== X-Google-Smtp-Source: AGHT+IHnTWJpmVgSM1v/FzA8Qg424Mh3WdBtXuasCAlti1Nx5aRSGpW/Syr4eySFRkvY1yYi9sW2yQ== X-Received: by 2002:a05:6870:2186:b0:21f:c801:cecf with SMTP id l6-20020a056870218600b0021fc801cecfmr7575363oae.16.1710181900269; Mon, 11 Mar 2024 11:31:40 -0700 (PDT) Received: from localhost (pool-68-160-141-91.bstnma.fios.verizon.net. [68.160.141.91]) by smtp.gmail.com with ESMTPSA id qp27-20020a05620a389b00b00788712ca95esm898265qkn.13.2024.03.11.11.31.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 11:31:39 -0700 (PDT) Date: Mon, 11 Mar 2024 14:31:38 -0400 From: Mike Snitzer To: Linus Torvalds Cc: dm-devel@lists.linux.dev, linux-block@vger.kernel.org, Alasdair G Kergon , Mikulas Patocka , Benjamin Marzinski , Christoph Hellwig , Fan Wu , Hongyu Jin , Lizhe , Ming Lei Subject: [git pull] device mapper changes for 6.9 Message-ID: Precedence: bulk X-Mailing-List: dm-devel@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline Hi Linus, Please note there will be 2 additional DM pull requests that will follow this one (for BH workqueue changes and the VDO dm target). The following changes since commit 0e0c50e85a364bb7f1c52c84affe7f9e88c57da7: dm-crypt, dm-integrity, dm-verity: bump target version (2024-02-20 13:35:47 -0500) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git tags/for-6.9/dm-changes for you to fetch changes up to 8f28e6d4fe7440fb2c309e71bfcba961f6ad5a18: dm: call the resume method on internal suspend (2024-03-11 13:58:37 -0400) Please pull, thanks. Mike ---------------------------------------------------------------- - Fix DM core's IO submission (which include dm-io and dm-bufio) such that a bio's IO priority is propagated. Work focused on enabling both DM crypt and verity targets to retain the appropriate IO priority. - Fix DM raid reshape logic to not allow an empty flush bio to be requeued due to false concern about the bio, which doesn't have a data payload, accessing beyond the end of the device. - Fix DM core's internal resume so that it properly calls both presume and resume methods, which fixes the potential for a postsuspend and resume imbalance. - Update DM verity target to set DM_TARGET_SINGLETON flag because it doesn't make sense to have a DM table with a mix of targets that include dm-verity. - Small cleanups in DM crypt, thin, and integrity targets. - Fix references to dm-devel mailing list to use latest list address. -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEJfWUX4UqZ4x1O2wixSPxCi2dA1oFAmXvSCgACgkQxSPxCi2d A1oSBAgAvCjWJghtJeUfLQ5crmb1yR3aOETtdTyjPyfoxNoc/BkbixdYc/Ze01fM exi0UqDY02FYW0OG/ZGF/UU0amayar3narNLkF8a7NqJcsLQaPtHXsqKzkPib8/Z VWyV69ZAmv63oTn74hNrlehAcRHAx54YxOz8q4rGl1Cg8aMkx5R5IoJDdpgCvDnl daBPBKT4waMXHScQtBZ7A9+7VIBK16MWzvp3uLIE5GQcoJfjW/K+MQxze57Fb7OE gu0hBJILkFjiOlT4L4OJecsqOw9poZldJ1miPDAQGUsASRsq3jAR8+61eu/CwxG4 l/vXrZ+Iua9V4ipRLa0gIKFOQLBwOQ== =sm51 -----END PGP SIGNATURE----- ---------------------------------------------------------------- Christoph Hellwig (2): dm-integrity: set max_integrity_segments in dm_integrity_io_hints dm: set the correct discard_sectors limit Fan Wu (1): dm verity: set DM_TARGET_SINGLETON feature flag Hongyu Jin (4): dm io: Support IO priority dm bufio: Support IO priority dm verity: Fix IO priority lost when reading FEC and hash dm crypt: Fix IO priority lost when queuing write bios Lizhe (1): dm crypt: remove redundant state settings after waking up Mike Snitzer (3): dm thin: add braces around conditional code that spans lines dm ioctl: update DM_DRIVER_EMAIL to new dm-devel mailing list dm: update relevant MODULE_AUTHOR entries to latest dm-devel mailing list Mikulas Patocka (1): dm: call the resume method on internal suspend Ming Lei (1): dm raid: fix false positive for requeue needed during reshape drivers/md/dm-bio-prison-v1.c | 2 +- drivers/md/dm-bufio.c | 76 +++++++++++++++++++-------- drivers/md/dm-cache-policy-smq.c | 2 +- drivers/md/dm-cache-target.c | 5 +- drivers/md/dm-clone-target.c | 3 +- drivers/md/dm-crypt.c | 2 +- drivers/md/dm-dust.c | 2 +- drivers/md/dm-ebs-target.c | 2 +- drivers/md/dm-flakey.c | 2 +- drivers/md/dm-integrity.c | 14 ++--- drivers/md/dm-io.c | 23 ++++---- drivers/md/dm-ioctl.c | 2 +- drivers/md/dm-kcopyd.c | 4 +- drivers/md/dm-log-userspace-base.c | 2 +- drivers/md/dm-log-writes.c | 2 +- drivers/md/dm-log.c | 6 +-- drivers/md/dm-mpath.c | 2 +- drivers/md/dm-ps-round-robin.c | 2 +- drivers/md/dm-raid.c | 8 +-- drivers/md/dm-raid1.c | 6 +-- drivers/md/dm-region-hash.c | 2 +- drivers/md/dm-snap-persistent.c | 4 +- drivers/md/dm-snap.c | 2 +- drivers/md/dm-thin.c | 27 ++++++---- drivers/md/dm-verity-fec.c | 21 ++++---- drivers/md/dm-verity-target.c | 23 +++++--- drivers/md/dm-writecache.c | 10 ++-- drivers/md/dm.c | 29 +++++++--- drivers/md/persistent-data/dm-block-manager.c | 2 +- include/linux/dm-bufio.h | 7 +++ include/linux/dm-io.h | 3 +- 31 files changed, 185 insertions(+), 112 deletions(-)