VFS/XFS: directio updates to ease COW handling

Christoph Hellwig hch at lst.de
Tue Feb 2 14:17:34 CST 2016


The first patch ensures ->end_io is always called for direct I/O requests
that pass it in, even if there was a zero length write, or if an error
occured.  The existing users have been updated to ignore it, but XFS
will make use of it in the future, and a comment in ext4 suggests it
might be useful for it as well.

The other two simplify the XFS direct I/O code.



More information about the xfs mailing list