diff options
author | John Garry <[email protected]> | 2024-04-15 12:20:20 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-04-15 08:12:22 -0600 |
commit | de4c7bef9d330e4a59c78181bd596c7569d7208e (patch) | |
tree | d9a19bf46f11687d8bdc5ac7ab42e0b10098aaad /tools/perf/scripts/python/task-analyzer.py | |
parent | 688c8b9208356eb5c3fa8047f3e35666f3049a4d (diff) |
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Luis Chamberlain <[email protected]>
Signed-off-by: John Garry <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions