diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2019-04-30 08:45:34 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-05-01 07:47:37 -0700 |
commit | df0db3ecdb8fc942e9d812558b8e15ecd3e050b1 (patch) | |
tree | 85e9df7f72f0aba01f16944860f80daf76d272e4 /drivers/hwmon/lochnagar-hwmon.c | |
parent | 7a77dad7e3be1280456508841ccdd2a091b1906a (diff) |
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>
Diffstat (limited to 'drivers/hwmon/lochnagar-hwmon.c')
0 files changed, 0 insertions, 0 deletions