Commit 149e2171 authored by Yu Kuai's avatar Yu Kuai Committed by ying zuxin
Browse files

UPSTREAM: block: add plug while submitting IO



So that if caller didn't use plug, for example, __blkdev_direct_IO_simple()
and __blkdev_direct_IO_async(), block layer can still benefit from caching
nsec time in the plug.

Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20240509123825.3225207-1-yukuai1@huaweicloud.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>

Bug: 374236878
Bug: 382195608
Change-Id: Ic10a00fd446c7f39da7eea505f015137a911e04d
(cherry picked from commit 060406c6)
Signed-off-by: default avatarYang Yang <yang.yang@vivo.com>
(cherry picked from commit 1a7864c7)
Signed-off-by: default avatarying zuxin <11154159@vivo.com>
parent 328e5b1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment