]> git.baikalelectronics.ru Git - kernel.git/commit
dm io: remove stale comment block for dm_io()
authorBarry Song <21cnbao@gmail.com>
Fri, 18 Feb 2022 22:27:24 +0000 (06:27 +0800)
committerMike Snitzer <snitzer@redhat.com>
Tue, 22 Feb 2022 18:55:51 +0000 (13:55 -0500)
commiteb822d5698f54de071fb99f246086102794d77b2
treefa66295eb4231621a0b28c49ee98479441507349
parentf96b773a1b5e1b06c50d2525ba0067464865123f
dm io: remove stale comment block for dm_io()

Commit c69163c6522d ("block: remove per-queue plugging") dropped
unplug_delay and blk_unplug(). Plus, the current kernel 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 comment isn't valid
any more.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-io.c