On 12/7/23 07:46, Christoph Hellwig wrote:
On Wed, Nov 29, 2023 at 05:33:10PM -0800, Bart Van Assche wrote:
Restore support for passing file and/or inode write hints to the code
that processes struct kiocb. This patch reverts commit 41d36a9f3e53
("fs: remove kiocb.ki_hint").
Same comment as for the previous one.
If kiocb.ki_hint is not restored, the kiocb users will have to use the
kiocb ki_filp member to obtain the write hint information. In other
words, iocb->ki_hint will have to be changed into
file_inode(iocb->ki_filp)->i_write_hint. Is that what you want me to do?
Thanks,
Bart.