diff options
| author | Chao Yu <[email protected]> | 2018-12-12 18:12:30 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <[email protected]> | 2018-12-14 06:38:36 -0800 |
| commit | 8d64d365aed355b2e2465d19ba61df02462fff4d (patch) | |
| tree | 7b3924ab7ba6f9d0a71f8085443c62b7f57e1ce2 /scripts/stackusage | |
| parent | 2062e0c3daa0bcfc806f4f7331f8bba16dd42632 (diff) | |
f2fs: fix to reorder set_page_dirty and wait_on_page_writeback
This patch reorders flow from
- update page
- set_page_dirty
- wait_on_page_writeback
to
- wait_on_page_writeback
- update page
- set_page_dirty
The reason is:
- set_page_dirty will increase reference of dirty page, the reference
should be cleared before wait_on_page_writeback to keep its consistency.
- some devices need stable page during page writebacking, so we
should not change page's data.
Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions