1. 10 1月, 2015 5 次提交
    • J
      f2fs: change atomic and volatile write policies · 1e84371f
      Jaegeuk Kim 提交于
      This patch adds two new ioctls to release inmemory pages grabbed by atomic
      writes.
       o f2fs_ioc_abort_volatile_write
        - If transaction was failed, all the grabbed pages and data should be written.
       o f2fs_ioc_release_volatile_write
        - This is to enhance the performance of PERSIST mode in sqlite.
      
      In order to avoid huge memory consumption which causes OOM, this patch changes
      volatile writes to use normal dirty pages, instead blocked flushing to the disk
      as long as system does not suffer from memory pressure.
      Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
      1e84371f
    • J
      f2fs: don't need to call lock_op and lock_page for abort · 70c640b1
      Jaegeuk Kim 提交于
      We don't need to call lock_op and lock_page at the aborting path.
      Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
      70c640b1
    • J
      f2fs: fix wrong condition check to trigger f2fs_sync_fs · 88a70a69
      Jaegeuk Kim 提交于
      If there is not enough available memory, we need to trigger f2fs_sync_fs.
      Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
      88a70a69
    • J
      f2fs: remove checking dirty_exceed · cd52b636
      Jaegeuk Kim 提交于
      We don't need to force to write dirty_exceeded for f2fs_balance_fs_bg.
      This flag was only meaningful to write bypassing conditions.
      Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
      cd52b636
    • L
      Merge branch 'akpm' (patches from Andrew) · b3d574ae
      Linus Torvalds 提交于
      Merge misc fixes from Andrew Morton:
       "12 fixes"
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>:
        mm, vmscan: prevent kswapd livelock due to pfmemalloc-throttled process being killed
        memcg: fix destination cgroup leak on task charges migration
        mm: memcontrol: switch soft limit default back to infinity
        mm/debug_pagealloc: remove obsolete Kconfig options
        vfs: renumber FMODE_NONOTIFY and add to uniqueness check
        arch/blackfin/mach-bf533/boards/stamp.c: add linux/delay.h
        ocfs2: fix the wrong directory passed to ocfs2_lookup_ino_from_name() when link file
        MAINTAINERS: update rydberg's addresses
        mm: protect set_page_dirty() from ongoing truncation
        mm: prevent endless growth of anon_vma hierarchy
        exit: fix race between wait_consider_task() and wait_task_zombie()
        ocfs2: remove bogus check in dlm_process_recovery_data
      b3d574ae
  2. 09 1月, 2015 20 次提交
  3. 08 1月, 2015 1 次提交
    • P
      assoc_array: Include rcupdate.h for call_rcu() definition · 990428b8
      Pranith Kumar 提交于
      Include rcupdate.h header to provide call_rcu() definition. This was implicitly
      being provided by slab.h file which include srcu.h somewhere in its include
      hierarchy which in-turn included rcupdate.h.
      
      Lately, tinification effort added support to remove srcu entirely because of
      which we are encountering build errors like
      
      lib/assoc_array.c: In function 'assoc_array_apply_edit':
      lib/assoc_array.c:1426:2: error: implicit declaration of function 'call_rcu' [-Werror=implicit-function-declaration]
      cc1: some warnings being treated as errors
      
      Fix these by including rcupdate.h explicitly.
      Signed-off-by: NPranith Kumar <bobby.prani@gmail.com>
      Reported-by: NScott Wood <scottwood@freescale.com>
      990428b8
  4. 07 1月, 2015 14 次提交