Re: [PATCH 07/19] dm-snap: use blkdev_issue_flush instead of open coding it

2022-01-27 Thread Mike Snitzer
On Mon, Jan 24 2022 at 4:10P -0500, Christoph Hellwig wrote: > Use blkdev_issue_flush, which uses an on-stack bio instead of an > opencoded version with a bio embedded into struct dm_snapshot. > > Signed-off-by: Christoph Hellwig Acked-by: Mike Snitzer

[PATCH 07/19] dm-snap: use blkdev_issue_flush instead of open coding it

2022-01-24 Thread Christoph Hellwig
Use blkdev_issue_flush, which uses an on-stack bio instead of an opencoded version with a bio embedded into struct dm_snapshot. Signed-off-by: Christoph Hellwig --- drivers/md/dm-snap.c | 21 + 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/drivers/md/dm-snap.c

[PATCH 07/19] dm-snap: use blkdev_issue_flush instead of open coding it

2022-01-17 Thread Christoph Hellwig
Use blkdev_issue_flush, which uses an on-stack bio instead of an opencoded version with a bio embedded into struct dm_snapshot. Signed-off-by: Christoph Hellwig --- drivers/md/dm-snap.c | 21 + 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/drivers/md/dm-snap.c