diff options
| author | Darrick J. Wong <[email protected]> | 2013-04-29 15:07:25 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-04-29 15:54:33 -0700 |
| commit | 7136851117744f1d291bed6d307432699d405109 (patch) | |
| tree | 6dc7d6bef45e24ad0d3d5d1b9290a81109758172 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 106c992a5ebef28193cf5958e49ceff5e4aebb04 (diff) | |
mm: make snapshotting pages for stable writes a per-bio operation
Walking a bio's page mappings has proved problematic, so create a new
bio flag to indicate that a bio's data needs to be snapshotted in order
to guarantee stable pages during writeback. Next, for the one user
(ext3/jbd) of snapshotting, hook all the places where writes can be
initiated without PG_writeback set, and set BIO_SNAP_STABLE there.
We must also flag journal "metadata" bios for stable writeout, since
file data can be written through the journal. Finally, the
MS_SNAP_STABLE mount flag (only used by ext3) is now superfluous, so get
rid of it.
[[email protected]: rename _submit_bh()'s `flags' to `bio_flags', delobotomize the _submit_bh declaration]
[[email protected]: teeny cleanup]
Signed-off-by: Darrick J. Wong <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Artem Bityutskiy <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions