On 5/22/22 12:34 AM, Christoph Hellwig wrote: > On Fri, May 20, 2022 at 11:36:45AM -0700, Stefan Roesch wrote: >> This adds the async buffered write support to XFS. For async buffered >> write requests, the request will return -EAGAIN if the ilock cannot be >> obtained immediately. >> >> This splits off a new helper xfs_ilock_inode from the existing helper >> xfs_ilock_iocb so it can be used for this function. The exising helper >> cannot be used as it hardcoded the inode to be used. > > Actually this should also be a prep patch - but the please try to > follow the rule that standalone enablement like refactoring or new > funtionality for helpers is one patch, the actual use of it for a new > feature should preferably one patch for the whole feature. Made a separate patch for changes to Separate patch for changes to xfs_ilock_inode().