mm: prepare for removal of obsolete /proc/sys/vm/nr_pdflush_threads
authorWanpeng Li <liwp@linux.vnet.ibm.com>
Tue, 31 Jul 2012 23:41:52 +0000 (16:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Aug 2012 01:42:40 +0000 (18:42 -0700)
commit3965c9ae47d64aadf6f13b6fcd37767b83c0689a
tree9896fbd841edbaa8e374b593ad0f7b96191cda5d
parentdeaf386ee58d5336bbef8959bf304573afb67c20
mm: prepare for removal of obsolete /proc/sys/vm/nr_pdflush_threads

Since per-BDI flusher threads were introduced in 2.6, the pdflush
mechanism is not used any more.  But the old interface exported through
/proc/sys/vm/nr_pdflush_threads still exists and is obviously useless.

For back-compatibility, printk warning information and return 2 to notify
the users that the interface is removed.

Signed-off-by: Wanpeng Li <liwp@linux.vnet.ibm.com>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/ABI/obsolete/proc-sys-vm-nr_pdflush_threads [new file with mode: 0644]
Documentation/feature-removal-schedule.txt
Documentation/sysctl/vm.txt
fs/fs-writeback.c
include/linux/backing-dev.h
include/linux/writeback.h
kernel/sysctl.c
kernel/sysctl_binary.c
mm/backing-dev.c