When bcachefs uses io_uring, implement the iopoll method to support IORING_SETUP_IOPOLL.
Signed-off-by: Li Zetao <lizet...@huawei.com> --- fs/bcachefs/fs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c index c50457ba808d..c97bc94fcb83 100644 --- a/fs/bcachefs/fs.c +++ b/fs/bcachefs/fs.c @@ -1213,6 +1213,7 @@ static const struct file_operations bch_file_operations = { .llseek = bch2_llseek, .read_iter = bch2_read_iter, .write_iter = bch2_write_iter, + .iopoll = iocb_bio_iopoll, .mmap = bch2_mmap, .get_unmapped_area = thp_get_unmapped_area, .fsync = bch2_fsync, -- 2.34.1