diff options
author | Yu Kuai <yukuai3@huawei.com> | 2024-05-09 20:38:25 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-05-09 07:57:37 -0600 |
commit | 060406c61c7cb4bbd82a02d179decca9c9bb3443 (patch) | |
tree | b61bd7831d1740ac42c26dc78c38b3bc28772dea /block/blk.h | |
parent | 3a861560ccb35f2a4f0a4b8207fa7c2a35fc7f31 (diff) | |
download | lwn-060406c61c7cb4bbd82a02d179decca9c9bb3443.tar.gz lwn-060406c61c7cb4bbd82a02d179decca9c9bb3443.zip |
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: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20240509123825.3225207-1-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions