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 <hch@xxxxxx> -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel