Ming Lei d7a1030839 md: fast clone bio in bio_clone_mddev()
Firstly bio_clone_mddev() is used in raid normal I/O and isn't
in resync I/O path.

Secondly all the direct access to bvec table in raid happens on
resync I/O except for write behind of raid1, in which we still
use bio_clone() for allocating new bvec table.

So this patch replaces bio_clone() with bio_clone_fast()
in bio_clone_mddev().

Also kill bio_clone_mddev() and call bio_clone_fast() directly, as
suggested by Christoph Hellwig.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Shaohua Li <shli@fb.com>
2017-02-15 11:24:54 -08:00
..
2016-12-25 10:47:44 +01:00
2016-12-18 15:49:10 -08:00
2017-01-25 15:35:11 +05:30
2017-01-06 10:49:36 -08:00
2016-12-25 10:47:44 +01:00
2016-12-25 17:21:22 +01:00
2017-02-06 14:37:55 -08:00
2016-12-19 08:16:26 -08:00
2017-01-26 17:49:14 +02:00
2016-12-15 12:46:48 -08:00
2016-12-25 10:47:44 +01:00
2016-12-14 10:49:33 -08:00
2016-12-25 17:21:22 +01:00
2016-12-15 11:45:13 -08:00
2017-02-03 13:46:38 -08:00
2016-12-15 16:03:25 -08:00
2017-02-11 09:01:03 -08:00
2017-02-11 09:01:03 -08:00
2017-01-20 12:25:11 -08:00
2017-02-03 22:19:15 +01:00
2016-12-24 11:27:45 -08:00