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

This reverts commit 1f6d64829db78a7e1d63e15c9f48f0a5d2b5a679.

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