[dm-devel] [PATCH V8 01/11] block: clone nr_integrity_segments and write_hint in blk_rq_prep_clone
Christoph Hellwig
hch at lst.de
Fri Apr 24 10:32:19 UTC 2020
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 at lst.de>
More information about the dm-devel
mailing list