Andreas Gruenbacher df0db3ecdb iomap: Add a page_prepare callback
Move the page_done callback into a separate iomap_page_ops structure and
add a page_prepare calback to be called before the next page is written
to.  In gfs2, we'll want to start a transaction in page_prepare and end
it in page_done.  Other filesystems that implement data journaling will
require the same kind of mechanism.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2019-05-01 07:47:37 -07:00
..
2016-05-12 22:28:05 -04:00
2018-07-02 16:27:17 +01:00
2019-05-01 07:47:37 -07:00
2018-06-04 07:56:51 -05:00
2016-06-27 09:47:09 -05:00
2018-10-12 07:33:07 -05:00
2016-06-27 09:47:08 -05:00
2019-02-24 08:20:17 -07:00
2019-03-06 07:00:43 -07:00
2018-02-01 11:25:31 -07:00
2019-03-08 14:12:17 -08:00
2018-10-12 07:31:21 -05:00
2018-03-08 09:26:20 -07:00
2018-07-25 00:06:24 +02:00
2018-12-11 21:43:58 +01:00
2018-07-05 17:47:16 +02:00
2015-12-06 21:25:17 -05:00