]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs: check bdi->dirty_exceeded when trying to skip data writes
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 27 Jun 2014 16:00:41 +0000 (01:00 +0900)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 9 Jul 2014 12:59:45 +0000 (05:59 -0700)
commit2743f865543c0c4a5e12fc13edb2bf89a6e9687c
tree12189a35530e47904d52743ab5fb001a174c45b3
parentb2c0829912493df596706a1a036c67beb1bd6ff5
f2fs: check bdi->dirty_exceeded when trying to skip data writes

If we don't check the current backing device status, balance_dirty_pages can
fall into infinite pausing routine.

This can be occurred when a lot of directories make a small number of dirty
dentry pages including files.

Reported-by: Brian Chadwick <brianchad@westnet.com.au>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c