From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD8FC381C7; Sat, 27 Apr 2024 07:02:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714201347; cv=none; b=YAlmt1GXEYp664d3aOnrBpY6QZsf1I/P4YVM+mYJHqS7G1692UKt2Oz7TcPRaaKb2kM5+XI0I9v7iKlBxHoJbuv9nXd79NgHZtnBm/2zdeqFSRxD1x8H66NyS7pxA9yTzpfCWCoPgt4CFG7XMYyZ6b/JyCNj9ce1KwxKcfBQdxQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714201347; c=relaxed/simple; bh=yXd3lrDuHfNexNCLKog2Cj54JzOldHcoWHE80WgEnOk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qA5rV49xcwLEMsPpKwuZgTYgLHast8dNG1RMZO2McR6CJLOTdzFynCy40aUVEt8qeu8Q/Gx4yGROXiM2cmWhl4DVQMydxXFpE4yUrPVw3TOAGmBu0GmiPUGlPMD89n+LM6FiiQSFxy7bJKcI3zONAkz8NRv5Tfkp/aSdEFgsmYg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 63E76227AA8; Sat, 27 Apr 2024 09:02:14 +0200 (CEST) Date: Sat, 27 Apr 2024 09:02:14 +0200 From: Christoph Hellwig To: Kanchan Joshi Cc: axboe@kernel.dk, martin.petersen@oracle.com, kbusch@kernel.org, hch@lst.de, brauner@kernel.org, asml.silence@gmail.com, dw@davidwei.uk, io-uring@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, gost.dev@samsung.com, Anuj Gupta Subject: Re: [PATCH 01/10] block: set bip_vcnt correctly Message-ID: <20240427070214.GA3873@lst.de> References: <20240425183943.6319-1-joshi.k@samsung.com> <20240425183943.6319-2-joshi.k@samsung.com> Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240425183943.6319-2-joshi.k@samsung.com> User-Agent: Mutt/1.5.17 (2007-11-01) On Fri, Apr 26, 2024 at 12:09:34AM +0530, Kanchan Joshi wrote: > From: Anuj Gupta > > Set the bip_vcnt correctly in bio_integrity_init_user and > bio_integrity_copy_user. If the bio gets split at a later point, > this value is required to set the right bip_vcnt in the cloned bio. > > Signed-off-by: Anuj Gupta > Signed-off-by: Kanchan Joshi Looks good: Reviewed-by: Christoph Hellwig Please add a Fixes tag and submit it separately from the features. I'm actually kinda surprised the direct user mapping of integrity data survived so far without this.