diff options
author | 2024-04-15 12:20:20 +0000 | |
---|---|---|
committer | 2024-04-15 08:12:22 -0600 | |
commit | de4c7bef9d330e4a59c78181bd596c7569d7208e (patch) | |
tree | d9a19bf46f11687d8bdc5ac7ab42e0b10098aaad /tools/perf/scripts/python/export-to-postgresql.py | |
parent | blk-cgroup: use group allocation/free of per-cpu counters API (diff) | |
download | wireguard-linux-de4c7bef9d330e4a59c78181bd596c7569d7208e.tar.xz wireguard-linux-de4c7bef9d330e4a59c78181bd596c7569d7208e.zip |
block: Call blkdev_dio_unaligned() from blkdev_direct_IO()
blkdev_dio_unaligned() is called from __blkdev_direct_IO(),
__blkdev_direct_IO_simple(), and __blkdev_direct_IO_async(), and all these
are only called from blkdev_direct_IO().
Move the blkdev_dio_unaligned() call to the common callsite,
blkdev_direct_IO().
Pass those functions the bdev pointer from blkdev_direct_IO(), as it is
non-trivial to look up.
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20240415122020.1541594-1-john.g.garry@oracle.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions