Home
last modified time | relevance | path

Searched hist:"57 c36519e4b949f89381053f7283f5d605595b42" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm.cdiff 57c36519e4b949f89381053f7283f5d605595b42 Wed Jan 16 17:53:26 CST 2019 Mike Snitzer <snitzer@redhat.com> dm: fix clone_bio() to trigger blk_recount_segments()

DM's clone_bio() now benefits from using bio_trim() by fixing the fact
that clone_bio() wasn't clearing BIO_SEG_VALID like bio_trim() does;
which triggers blk_recount_segments() via bio_phys_segments().

Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>