From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f180.google.com (mail-il1-f180.google.com [209.85.166.180]) (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 0816121D3DA for ; Wed, 26 Feb 2025 14:38:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740580739; cv=none; b=As47nXcenBTYGkogABV4SdW6Z1VJGMz3ztmvhAcy53H6F1IpIryRne4MCkPDLryDylW7lFmcRg3sRkr7tGZiScbwA4UdSXxu+ITn2Le+Fr+9YQ8L4mMInBowcl/vDN15L17gDHJVV8Gb1Fm9Sx77W9q+cwzZ5bHszRbt/MqlwTs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740580739; c=relaxed/simple; bh=4HzSOBJ7v/xi/lFkR0PWK9gzb3mxTpLXn2xOOncdSSk=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=S66cnmOmZG4OOb0+pcxAdXb/nWI084yg6+69BsT1lByBeYY1+1lMBFEfmBfNz7v79dfrYV8rfBe3AuayoMggNEXJPuM6B5kc7+vk77PG8qeo39hvczf5cO0+C8BENeClr58+cxa8V7fUQgAb5RMDOf6CjSeYxRb7FxzFqGIDwPE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=IkfnSWPe; arc=none smtp.client-ip=209.85.166.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="IkfnSWPe" Received: by mail-il1-f180.google.com with SMTP id e9e14a558f8ab-3cf82bd380bso58984975ab.0 for ; Wed, 26 Feb 2025 06:38:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1740580736; x=1741185536; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KjfGHR3mANWfNEqN0oG3qrm9QtKnyMkYTku5fjSXWXk=; b=IkfnSWPePUAFO7CBYRbJqxdc3BVYrs4Lk+KOvPFCqIV78nLxnvso86thJyWI1ZwGqq GgADpSnNzeL8ADv73xkQUiiBIH2j3J1+2Ixfr5YJtLtePexzYORJiSCGs35atUB7KSPV MkjQkenBiipROTv7x6hvQ5oq5qWMMRg814mfDqbyhKc+WBpNt7yZDIsb0gC/XuNvm3Y/ 7ytcXJgjuZDBpYj8EaFP/a/D0nF3wsqmQbWJRZoez4R1IYC7bGvgFQc+BedCD+wIhfk3 BikEAjX94JCdt7VNtqy21YmpuU/mGeT4BunV+YCLNplbLufzP/Nxo+98exaIRaiHd3pO QnrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740580736; x=1741185536; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KjfGHR3mANWfNEqN0oG3qrm9QtKnyMkYTku5fjSXWXk=; b=AvTgVDGmIYyf71frSro4OPKB3LhA88IS9BsjTEBP3a/KZ/N27WzO/PC/W3chlnV1iR w868Q9m/n7jB0Msy5FBRi4Vcp59XuLFkxIEU6WiaBYx9txGytloaKQe2cl4B5UODsAJZ YtXvkP7Qv2Eu7/P4GLV/SlDahjM6IyLJFtSPCaEmIsXUw0GClGZLPuNCdCDSWhgqNY1f 9YZS5eN/OGBR/V5NE6aw+NHm/astZkjelkMLA2MbBqL9FrOVRvM5tUPsGRc4d5/FLYao O6+5ILoYgcz4cm67vhQX0GmDUICnlx9u91Cgde7/zvLBnbQl8F1I249Cff/bGA5aRtM1 N1xw== X-Forwarded-Encrypted: i=1; AJvYcCWV6DZugn+geZ0SFxeI6TkJEkkxXLa1OqcebiWMY30ySLUDIQVeNqJkoZ7OkBWjbxca9VuTnlx/Rix91g==@vger.kernel.org X-Gm-Message-State: AOJu0YzDelN9oQnAq8MxNdjfGTHMYs2nWN4iIddaX7NHFG52eTAXP6gO ZWVjR3Vp//ZF6Iq6kliNSDSig9PnWztD2CAEyCbghHU3QJTN+V0pVict1b08M8ug5HZfrfHWB9O G X-Gm-Gg: ASbGncvLmOJu198/hLyNPIk+AvUZA3d/1nAIkX16PTOb8U9lIRSf+s0z/hTn9831Lda ee77PywHI3RaNxtTeVVhk5zm8iYyw4q51atHsEXt4NMbUkJ74LUO+D3YFrkYlTdaaMaNE1UeHRJ /fRR+leC+EDy5ztCh3cXrp6YrN1sbKUfmYrtjIYI6TZoa+0c9SAqiV3KkpO9anRXSSyfHTIGMna U4ZlYq7Ujw8zSBuJAfPhcWpy6DFeLTFEqfRwYXHEkG4Rw37YEiKiSfi3NcPjr2AWw2L6hvx+3yM rGAcEJF8OR0i4cne X-Google-Smtp-Source: AGHT+IHflMMR06CSDj0x1e+Hr7qg7IFtXxL9jnnQbF/txci+w+Cb8i5OqK2W58Pz8WpyNLiBoDGK+Q== X-Received: by 2002:a05:6e02:3d83:b0:3d2:b930:ab5b with SMTP id e9e14a558f8ab-3d2cb473053mr193915355ab.10.1740580736635; Wed, 26 Feb 2025 06:38:56 -0800 (PST) Received: from [127.0.0.1] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4f04744db05sm945841173.1.2025.02.26.06.38.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2025 06:38:55 -0800 (PST) From: Jens Axboe To: Christoph Hellwig Cc: Mike Snitzer , Mikulas Patocka , Song Liu , Yu Kuai , "Martin K. Petersen" , Kanchan Joshi , linux-block@vger.kernel.org, dm-devel@lists.linux.dev, linux-raid@vger.kernel.org, target-devel@vger.kernel.org In-Reply-To: <20250225154449.422989-1-hch@lst.de> References: <20250225154449.422989-1-hch@lst.de> Subject: Re: split out the auto-PI code and data structures v2 Message-Id: <174058073532.2232453.9396018019259516741.b4-ty@kernel.dk> Date: Wed, 26 Feb 2025 07:38:55 -0700 Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14.3-dev-94c79 On Tue, 25 Feb 2025 07:44:30 -0800, Christoph Hellwig wrote: > this is the tip of the iceberg of some of the PI work I've done a while > ago, and given the current discussions it might be a good time to send it > out. > > The idea is to: > > a) make the auto-PI code stand out more clearly as it seems to lead to > a lot of confusion > b) optimize the size of the integrity payload to prepare for usage in > file systems > c) make sure the mempool backing actually works for auto-PI. We'll still > need a mempool for the actual metadata buffer, but that is left for the > next series. > > [...] Applied, thanks! [1/3] block: mark bounce buffering as incompatible with integrity commit: e9945facd48d2d5da87fa247f5d6a19c23d935fd [2/3] block: move the block layer auto-integrity code into a new file commit: d2cfe5ceca59b74ef96bfe00632e3927d00c9918 [3/3] block: split struct bio_integrity_payload commit: 1972a1faaa026eb34322a2b4fcbb3c28d68cc5e2 Best regards, -- Jens Axboe