]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: check its block allocation to avoid producing wrong dirty pages
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 26 Feb 2015 03:54:48 +0000 (19:54 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 10 Apr 2015 22:08:27 +0000 (15:08 -0700)
commitd77218f07cd4f4f5736640d40380c82347de5b7e
tree060c9f91afe8d29702ae2c485916ab497a8623b6
parent9e9fc8b2f9dd32f0846d6c1070b050cbd9f88e2f
f2fs: check its block allocation to avoid producing wrong dirty pages

If a page is cached but its block was deallocated, we don't need to make
the page dirty again by gc and truncate_partial_data_page.

In that case, it needs to check its block allocation all the time instead
of giving up-to-date page.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c