One 'silly' question from this novice linux kernel driver developer: if the ->read() and ->write() operations in the Linux kernel file operations structure go away, then what happens to read() and write() from user space? Which file operations do those call trigger in the kernel driver?
The userspace read() and write() syscalls aren't the same thing as read()/write() in file_operations. Presumably the syscalls will be updated to use the new _iter operations.
In fact, the syscalls already support f_op->read_iter/write_iter, so the code using the legacy f_op->read/write just needs to be removed. See the linux source code links below: