What about just passing done_before as an argument to iomap_dio_complete? gfs2 would have to switch to __iomap_dio_rw + iomap_dio_complete instead of iomap_dio_rw for that, and it obviously won't work for async completions, but you force sync in this case anyway, right?
- Re: [Cluster-devel] [PATCH v7 15/19] iomap: Suppo... Darrick J. Wong
- Re: [Cluster-devel] [PATCH v7 15/19] iomap: Suppo... Christoph Hellwig
- [Cluster-devel] [PATCH v7 16/19] iomap: Add done_befor... Andreas Gruenbacher
- Re: [Cluster-devel] [PATCH v7 16/19] iomap: Add d... Darrick J. Wong
- Re: [Cluster-devel] [PATCH v7 16/19] iomap: A... Andreas Gruenbacher
- Re: [Cluster-devel] [PATCH v7 16/19] ioma... Darrick J. Wong
- Re: [Cluster-devel] [PATCH v7 16/19] ... Andreas Grünbacher
- Re: [Cluster-devel] [PATCH v7 16/19] ... Linus Torvalds
- Re: [Cluster-devel] [PATCH v7 16... Darrick J. Wong
- Re: [Cluster-devel] [PATCH v7 16/19] iomap: Add d... Darrick J. Wong
- Re: [Cluster-devel] [PATCH v7 16/19] iomap: Add d... Christoph Hellwig
- Re: [Cluster-devel] [PATCH v7 16/19] iomap: A... Linus Torvalds
- Re: [Cluster-devel] [PATCH v7 16/19] ioma... Christoph Hellwig
- [Cluster-devel] [PATCH v7 17/19] gup: Introduce FOLL_N... Andreas Gruenbacher
- Re: [Cluster-devel] [PATCH v7 17/19] gup: Introdu... Christoph Hellwig
- Re: [Cluster-devel] [PATCH v7 17/19] gup: Int... Linus Torvalds
- Re: [Cluster-devel] [PATCH v7 17/19] gup:... Christoph Hellwig
- [Cluster-devel] [PATCH v7 18/19] iov_iter: Introduce n... Andreas Gruenbacher
- Re: [Cluster-devel] [PATCH v7 18/19] iov_iter: In... Al Viro
- Re: [Cluster-devel] [PATCH v7 18/19] iov_iter... Andreas Gruenbacher
- [Cluster-devel] [PATCH v7 19/19] gfs2: Fix mmap + page... Andreas Gruenbacher
