diff options
| author | Jan Kara <jack@suse.cz> | 2023-02-28 00:13:17 -0500 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2023-03-23 10:06:07 -0400 |
| commit | eaf2ca10ca4ba450f8e514cb8bfc9149660b57f6 (patch) | |
| tree | 59fef0e12b7499b759187d95ab90b183f1154df2 /tools/perf/scripts/python/task-analyzer.py | |
| parent | ext4: Don't unlock page in ext4_bio_write_page() (diff) | |
| download | linux-eaf2ca10ca4ba450f8e514cb8bfc9149660b57f6.tar.gz linux-eaf2ca10ca4ba450f8e514cb8bfc9149660b57f6.zip | |
ext4: Move page unlocking out of mpage_submit_page()
Move page unlocking during page writeback out of mpage_submit_page()
into the callers. This will allow writeback in data=journal mode to keep
the page locked for a bit longer. Since page unlocking it tightly
connected to increment of mpd->first_page (as that determines cleanup of
locked but unwritten pages), move page unlocking as well as
mpd->first_page handling into a helper function.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20230228051319.4085470-6-tytso@mit.edu
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
