diff options
author | 2012-12-12 09:47:39 +0900 | |
---|---|---|
committer | 2012-12-26 10:39:51 +0900 | |
commit | dfb7c0ceab57fee7618f4c9c31c5a89254e8530a (patch) | |
tree | 562e1bd2ee29b43b1b1c2bd0f5ce30f3c09064d9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'i2c-embedded/for-next' of git://git.pengutronix.de/git/wsa/linux (diff) | |
download | linux-dev-dfb7c0ceab57fee7618f4c9c31c5a89254e8530a.tar.xz linux-dev-dfb7c0ceab57fee7618f4c9c31c5a89254e8530a.zip |
f2fs: remove set_page_dirty for atomic f2fs_end_io_write
We should guarantee not to do *scheduling while atomic*.
I found, in atomic f2fs_end_io_write(), there is a set_page_dirty() call
to deal with IO errors.
But, set_page_dirty() calls:
-> f2fs_set_data_page_dirty()
-> set_dirty_dir_page()
-> cond_resched() which results in scheduling.
In order to avoid this, I'd like to remove simply set_page_dirty(),
since the page is already marked as ERROR and f2fs will be operated
as the read-only mode as well.
So, there is no recovery issue with this.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions