]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2bd63249cac92777596347b0c29f8729e61cdeb6
treeb54b081561405d3e1f26da56451230594e6c6af8
parent428d7a36d2da570a30de3a3ec43e8e9ebeb25abe
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