- ssize_t generic_file_write_iter(struct kiocb * iocb, struct iov_iter * from);
- IO state structure
- iov_iter with data to write
This is a wrapper around __generic_file_write_iter to be used by most filesystems. It takes care of syncing the file in case of O_SYNC file and acquires i_mutex as needed.