linux/fs/f2fs/node.c
Jaegeuk Kim 3c9979727f f2fs: check bdi->dirty_exceeded when trying to skip data writes
commit 2743f86554 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-17 16:23:19 -07:00

1990 lines
47 KiB