]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "xfs: block allocation work needs to be kswapd aware"
authorDave Chinner <dchinner@redhat.com>
Mon, 14 Jul 2014 21:08:10 +0000 (07:08 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 14 Jul 2014 21:08:10 +0000 (07:08 +1000)
commit6c829a8dfb48b23166194513ef40ab836f1787f1
tree248089d2be2a62bcd08ebdf319882dfb1e9dfd18
parenta0d800ddb2172f2da92426d4d78913597ff42e77
Revert "xfs: block allocation work needs to be kswapd aware"

This reverts commit 900fc9963acbe3263b45af5acb7b54fb577742da.

This commit resulted in regressions in performance in low
memory situations where kswapd was doing writeback of delayed
allocation blocks. It resulted in significant parallelism of the
kswapd work and with the special kswapd flags meant that hundreds of
active allocation could dip into kswapd specific memory reserves and
avoid being throttled. This cause a large amount of performance
variation, as well as random OOM-killer invocations that didn't
previously exist.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_bmap_util.c
fs/xfs/xfs_bmap_util.h