[f2fs-dev] [PATCH 2/3] f2fs: avoid unneeded page release for correct _count of page

2013-12-04 Thread Chao Yu
In find_fsync_dnodes() and recover_data(), our flow is like this: ->f2fs_submit_page_bio() -> f2fs_put_page() -> page_cache_release() page->_count declined to zero. ->__free_pages() -> put_page_testzero() page->_count will be declined again. We will get

[f2fs-dev] [PATCH 2/3] f2fs: avoid unneeded page release for correct _count of page

2013-12-04 Thread Chao Yu
In find_fsync_dnodes() and recover_data(), our flow is like this: -f2fs_submit_page_bio() - f2fs_put_page() - page_cache_release() page-_count declined to zero. -__free_pages() - put_page_testzero() page-_count will be declined again. We will get a