]> 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)
commit3399881a92ffe89f70392692e109de22f3949e90
tree248089d2be2a62bcd08ebdf319882dfb1e9dfd18
parentdad65f214dcb12470d80fac0c10a00cc171b7834
Revert "xfs: block allocation work needs to be kswapd aware"

This reverts commit f6df72ef8165f5e03f71cfd66075818e2c026995.

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