]> git.baikalelectronics.ru Git - kernel.git/commit
direct-io: remove blk_poll support
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2021 11:12:11 +0000 (13:12 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:35 +0000 (06:17 -0600)
commitf4a10fabb011f3269ad6a4f14adcd56cee065445
tree886b5429c5565fc41dbf8eb5a3eb5ea5a59dd80d
parent61df5cef80cb573394a22c34df00b679e1f5ef85
direct-io: remove blk_poll support

The polling support in the legacy direct-io support is a little crufty.
It already doesn't support the asynchronous polling needed for io_uring
polling, and is hard to adopt to upcoming changes in the polling
interfaces.  Given that all the major file systems already use the iomap
direct I/O code, just drop the polling support.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Mark Wunderlich <mark.wunderlich@intel.com>
Link: https://lore.kernel.org/r/20211012111226.760968-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/direct-io.c