mm/page-writeback.c: print a warning if the vm dirtiness settings are illogical
authorYafang Shao <laoar.shao@gmail.com>
Thu, 16 Nov 2017 01:33:45 +0000 (17:33 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Nov 2017 02:21:03 +0000 (18:21 -0800)
commit0f6d24f878568fac579a1962d0bf7cb9f01e0ceb
tree5fa7529b42621ab7b1a86ec8d5f3dc01cb9d7b10
parent66e8b438bd5c75498cfe915c4219049eaebcb869
mm/page-writeback.c: print a warning if the vm dirtiness settings are illogical

The vm direct limit setting must be set greater than vm background limit
setting.  Otherwise print a warning to help the operator to figure out
that the vm dirtiness settings is in illogical state.

Link: http://lkml.kernel.org/r/1506592464-30962-1-git-send-email-laoar.shao@gmail.com
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Michal Hocko <mhocko@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/sysctl/vm.txt
mm/page-writeback.c