diff options
author | 2019-04-30 08:45:34 -0700 | |
---|---|---|
committer | 2019-05-01 07:47:37 -0700 | |
commit | df0db3ecdb8fc942e9d812558b8e15ecd3e050b1 (patch) | |
tree | 85e9df7f72f0aba01f16944860f80daf76d272e4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iomap: Fix use-after-free error in page_done callback (diff) | |
download | wireguard-linux-df0db3ecdb8fc942e9d812558b8e15ecd3e050b1.tar.xz wireguard-linux-df0db3ecdb8fc942e9d812558b8e15ecd3e050b1.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions