| To: | linux-fsdevel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, ocfs2-devel@xxxxxxxxxxxxxx |
|---|---|
| Subject: | vfs/xfs: directio updates to ease COW handling V2 |
| From: | Christoph Hellwig <hch@xxxxxx> |
| Date: | Wed, 3 Feb 2016 19:40:13 +0100 |
| Delivered-to: | xfs@xxxxxxxxxxx |
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. Changes since V1: - allow ->end_io to return errors - a comment spelling fix |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | real-time device warning, Ross Zwisler |
|---|---|
| Next by Date: | [PATCH 3/3] xfs: fold xfs_vm_do_dio into xfs_vm_direct_IO, Christoph Hellwig |
| Previous by Thread: | real-time device warning, Ross Zwisler |
| Next by Thread: | [PATCH 3/3] xfs: fold xfs_vm_do_dio into xfs_vm_direct_IO, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |