direct-io: remove random prefetches
authorChristoph Hellwig <hch@lst.de>
Fri, 15 Apr 2022 04:52:58 +0000 (06:52 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Apr 2022 01:50:02 +0000 (19:50 -0600)
commitc22198e78d523c8fa079bbb70b2523bb6aa51849
treeb54b081561405d3e1f26da56451230594e6c6af8
parent44abff2c0b970ae3d310b97617525dc01f248d7c
direct-io: remove random prefetches

Randomly poking into block device internals for manual prefetches isn't
exactly a very maintainable thing to do.  And none of the performance
critical direct I/O implementations still use this library function
anyway, so just drop it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Link: https://lore.kernel.org/r/20220415045258.199825-28-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/direct-io.c