]> git.baikalelectronics.ru Git - kernel.git/commit
exofs: use bio_clone_fast in _write_mirror
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Jul 2018 07:52:31 +0000 (09:52 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 24 Jul 2018 20:43:20 +0000 (14:43 -0600)
commit867165fc15e800880cb9b01c6f206b36eb627d0a
tree0fcc867cb14adabb682baa9583622a500560be78
parentecb442533586d151b604ede5c808918c82c0424b
exofs: use bio_clone_fast in _write_mirror

The mirroring code never changes the bio data or biovecs.  This means
we can reuse the biovec allocation easily instead of duplicating it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by Boaz Harrosh <ooo@electrozaur.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/exofs/ore.c