From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH V8 01/11] block: clone nr_integrity_segments and write_hint in blk_rq_prep_clone Date: Fri, 24 Apr 2020 12:32:19 +0200 Message-ID: <20200424103219.GA28156@lst.de> References: <20200424102351.475641-1-ming.lei@redhat.com> <20200424102351.475641-2-ming.lei@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20200424102351.475641-2-ming.lei@redhat.com> Sender: linux-block-owner@vger.kernel.org To: Ming Lei Cc: Jens Axboe , linux-block@vger.kernel.org, John Garry , Bart Van Assche , Hannes Reinecke , Christoph Hellwig , Thomas Gleixner , Mike Snitzer , dm-devel@redhat.com List-Id: dm-devel.ids On Fri, Apr 24, 2020 at 06:23:41PM +0800, Ming Lei wrote: > So far blk_rq_prep_clone() is only used for setup one underlying cloned > request from dm-rq request. block intetrity can be enabled for both dm-rq > and the underlying queues, so it is reasonable to clone rq's > nr_integrity_segments. Also write_hint is from bio, it should have been > cloned too. > > So clone nr_integrity_segments and write_hint in blk_rq_prep_clone. Looks good, Reviewed-by: Christoph Hellwig