Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1732523pxb; Wed, 2 Feb 2022 11:13:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwm9JHK9MTXq15gSF6CCrZcs2C5Mqo8w/eAGWXT/IlNxxYpQbdy6ewYuDPfMBw50itBMsR6 X-Received: by 2002:a17:907:948f:: with SMTP id dm15mr26350937ejc.52.1643829236877; Wed, 02 Feb 2022 11:13:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643829236; cv=none; d=google.com; s=arc-20160816; b=mXlogpeuheAiVsbq+XnPS+Vbr1BZG5+UdN7+5s9Q/scwJl2ZqUCE5aS1OVO0iJg7Hr lOCZ6YGIgbDmvsDo+7ClBxdlevmITIbbl2Pg+qy+DCQTjXepjXKGy6ihk4XV5dK07/1W v7JcHbyOLdDSaoPveuRalLnrNOwf+EA3HLtYFBmTfKxpKRxJQ6g7CRNsIPhBfWdqv/ZI 2YLPHbyV43sSRkPY63v+HXa7EZO048Qb9d0so8HOnHMGVpNfUAvgrGX/vyy7sUkMSOYr juCcEdpnBuY0bqiFXCP54A6MvRZv5aVKWyCIBY5g7QBeSbVGl7tIKSrkwKGfr6Xpx926 93tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=Y1vdxpzI7EjUSPvPN4bFfe0t93Iya3IKe+RvVci8dVo=; b=OMMVs4dV+YC1iX35/iQNPDMH5TbOGPb1PeaLpSqW761QT4kmr59u4vX2kG8FK7IlYN +OciDspwSy+AhsJv5sJ5bGi/uMvkBWVMIPwNvp4Ap8I4DeMwZXIh5cidTEFhrTGiI2L7 7NGxLfY7oqNaDnZzXQBq/nf35e8PoVOq2dqLpdVej/EiNXaWkUmdxNgOC6LZPepCH0CK 8a8llH4pU5kipAsUTsJZ+N557ZSTqPd4LqxQt/jn1EREQFBMNHC0IpmSGA99YHaRBFQ8 bGfEvEP6l4+Ckzkxa2b47Dpznrb1lRjbhoZ1YqGh9X1Xy+5gQFx3SrFcovHUGF3eOkPv nDmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=X3+GP8cr; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c14si12949559ede.208.2022.02.02.11.13.29; Wed, 02 Feb 2022 11:13:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=X3+GP8cr; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344201AbiBBNLP (ORCPT + 99 others); Wed, 2 Feb 2022 08:11:15 -0500 Received: from smtp-out1.suse.de ([195.135.220.28]:57486 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229706AbiBBNLO (ORCPT ); Wed, 2 Feb 2022 08:11:14 -0500 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 8CC97212B5; Wed, 2 Feb 2022 13:11:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1643807473; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Y1vdxpzI7EjUSPvPN4bFfe0t93Iya3IKe+RvVci8dVo=; b=X3+GP8crsfhgoy2q8nRId53w++uim/wW9Wa65WLnT3/MmpkL7KnMD/MqFWKL5esiUgmSZo Xwv6qfkIQX8KqrzSHDrmFCwLHlpjyGabJ6zlVM+r4lMvI8vw1vkuawR/SWUATE/IUZgsXX KMQGcUgQGBCHu45ZspB9i/zOucIXBn0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1643807473; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Y1vdxpzI7EjUSPvPN4bFfe0t93Iya3IKe+RvVci8dVo=; b=wXLwDVkH0dWasbv9g8lh5s9tt/SJ3sUza+RgqnkfR9klA5mjPk+nsQkASQFPO649Epay5p BTIa9XrSriYZLuCA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 7C02413E48; Wed, 2 Feb 2022 13:11:13 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id BybZHfGC+mGtPgAAMHmgww (envelope-from ); Wed, 02 Feb 2022 13:11:13 +0000 Message-ID: Date: Wed, 2 Feb 2022 14:11:12 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCHv2 1/7] block: support pi with extended metadata Content-Language: en-US To: Keith Busch , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org Cc: axboe@kernel.dk, hch@lst.de, martin.petersen@oracle.com, colyli@suse.de References: <20220201190128.3075065-1-kbusch@kernel.org> <20220201190128.3075065-2-kbusch@kernel.org> From: Hannes Reinecke In-Reply-To: <20220201190128.3075065-2-kbusch@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/1/22 20:01, Keith Busch wrote: > The nvme spec allows protection information formats with metadata > extending beyond the pi field. Use the actual size of the metadata field > for incrementing the protection buffer. > > Signed-off-by: Keith Busch > --- > block/bio-integrity.c | 1 + > block/t10-pi.c | 4 ++-- > include/linux/blk-integrity.h | 1 + > 3 files changed, 4 insertions(+), 2 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), GF: Felix Imendörffer