Re: [dm-devel] [PATCH] dm io: Drop the obsolete and incorrect doc for dm_io()

2022-02-09 Thread Christoph Hellwig
On Mon, Feb 07, 2022 at 05:06:20PM +0800, Barry Song wrote: > Commit 7eaceaccab5f ("block: remove per-queue plugging") dropped > unplug_delay() and blk_unplug(). And the current code has no > fundamental difference between sync_io() and async_io() except > sync_io() uses sync_io_complete() as the

[dm-devel] [PATCH] dm io: Drop the obsolete and incorrect doc for dm_io()

2022-02-07 Thread Barry Song
Commit 7eaceaccab5f ("block: remove per-queue plugging") dropped unplug_delay() and blk_unplug(). And the current code has no fundamental difference between sync_io() and async_io() except sync_io() uses sync_io_complete() as the notify.fn and explicitly calls wait_for_completion_io() to sync. The