]> git.baikalelectronics.ru Git - kernel.git/commit
md: simplify sync_page_io
authorChristoph Hellwig <hch@lst.de>
Tue, 26 Jan 2021 14:52:42 +0000 (15:52 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 27 Jan 2021 16:51:48 +0000 (09:51 -0700)
commitd9de1d5e4d79fc9d6f1608bc7ee176790155eb40
treee5c21354d9a0f2f96e40b9b441901a2b8ab96d3e
parent8cc7401264d5098cb4e8a73bd534f4675c4ecd4e
md: simplify sync_page_io

Use an on-stack bio and biovec for the single page synchronous I/O.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Song Liu <song@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Acked-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/md.c