summaryrefslogtreecommitdiff
path: root/Documentation
AgeCommit message (Collapse)Author
2015-01-19mm: add strictlimit knobMaxim Patlasov
The "strictlimit" feature was introduced to enforce per-bdi dirty limits for FUSE which sets bdi max_ratio to 1% by default: http://article.gmane.org/gmane.linux.kernel.mm/105809 However the feature can be useful for other relatively slow or untrusted BDIs like USB flash drives and DVD+RW. The patch adds a knob to enable the feature: echo 1 > /sys/class/bdi/X:Y/strictlimit Being enabled, the feature enforces bdi max_ratio limit even if global (10%) dirty limit is not reached. Of course, the effect is not visible until /sys/class/bdi/X:Y/max_ratio is decreased to some reasonable value. Signed-off-by: Maxim Patlasov <MPatlasov@parallels.com> Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Cc: Theodore Ts'o <tytso@mit.edu> Cc: "Artem S. Tashkinov" <t.artem@lycos.com> Cc: Mel Gorman <mel@csn.ul.ie> Cc: Jan Kara <jack@suse.cz> Cc: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2015-01-19ext4: add DAX functionalityRoss Zwisler
This is a port of the DAX functionality found in the current version of ext2. [matthew.r.wilcox@intel.com: heavily tweaked] Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com> Cc: Boaz Harrosh <boaz@plexistor.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Dave Chinner <david@fromorbit.com> Cc: Jan Kara <jack@suse.cz> Cc: Jens Axboe <axboe@kernel.dk> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2015-01-19dax: add dax_zero_page_rangeMatthew Wilcox
This new function allows us to support hole-punch for DAX files by zeroing a partial page, as opposed to the dax_truncate_page() function which can only truncate to the end of the page. Reimplement dax_truncate_page() to call dax_zero_page_range(). [ross.zwisler@linux.intel.com: ported to 3.13-rc2] Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com> Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com> Cc: Andreas Dilger <andreas.dilger@intel.com> Cc: Boaz Harrosh <boaz@plexistor.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Dave Chinner <david@fromorbit.com> Cc: Jan Kara <jack@suse.cz> Cc: Jens Axboe <axboe@kernel.dk> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2015-01-19ext2: get rid of most mentions of XIP in ext2Matthew Wilcox
To help people transition, accept the 'xip' mount option (and report it in /proc/mounts), but print a message encouraging people to switch over to the 'dax' option. Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com> Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Andreas Dilger <andreas.dilger@intel.com> Cc: Boaz Harrosh <boaz@plexistor.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Dave Chinner <david@fromorbit.com> Cc: Jan Kara <jack@suse.cz> Cc: Jens Axboe <axboe@kernel.dk> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Ross Zwisler <ross.zwisler@linux.intel.com> Cc: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2015-01-19vfs: remove get_xip_memMatthew Wilcox
All callers of get_xip_mem() are now gone. Remove checks for it, initialisers of it, documentation of it and the only implementation of it. Also remove mm/filemap_xip.c as it is now empty. Also remove documentation of the long-gone get_xip_page(). Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com> Cc: Andreas Dilger <andreas.dilger@intel.com> Cc: Boaz Harrosh <boaz@plexistor.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Dave Chinner <david@fromorbit.com> Cc: Jan Kara <jack@suse.cz> Cc: Jens Axboe <axboe@kernel.dk> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Ross Zwisler <ross.zwisler@linux.intel.com> Cc: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2015-01-19dax: replace XIP documentation with DAX documentationMatthew Wilcox
Based on the original XIP documentation, this documents the current state of affairs, and includes instructions on how users can enable DAX if their devices and kernel support it. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Cc: Andreas Dilger <andreas.dilger@intel.com> Cc: Boaz Harrosh <boaz@plexistor.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Dave Chinner <david@fromorbit.com> Cc: Jan Kara <jack@suse.cz> Cc: Jens Axboe <axboe@kernel.dk> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Ross Zwisler <ross.zwisler@linux.intel.com> Cc: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2015-01-19Merge branch 'akpm-current/current'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'livepatching/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'luto-misc/next'Stephen Rothwell
Conflicts: arch/x86/kernel/cpu/mcheck/mce.c
2015-01-19Merge remote-tracking branch 'clk/clk-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'gpio/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'pinctrl/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'char-misc/char-misc-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'usb-gadget/next'Stephen Rothwell
Conflicts: drivers/usb/dwc2/gadget.c drivers/usb/gadget/udc/bdc/bdc_ep.c
2015-01-19Merge remote-tracking branch 'usb/usb-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'tty/tty-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'leds/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'rcu/rcu/next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'tip/auto-latest'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'spi/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'dt-rh/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'trivial/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'jc_docs/docs-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'regulator/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'omap_dss2/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'battery/master'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'mmc-uh/next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'block/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'input/next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'sound-asoc/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'sound/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'drm-intel/for-linux-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'drm-panel/drm/panel/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'drm/drm-next'Stephen Rothwell
Conflicts: drivers/gpu/drm/i915/intel_runtime_pm.c
2015-01-19Merge remote-tracking branch 'l2-mtd/master'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'wireless-drivers-next/master'Stephen Rothwell
Conflicts: drivers/net/wireless/iwlwifi/mvm/scan.c
2015-01-19next-20150116/net-nextStephen Rothwell
2015-01-19Merge remote-tracking branch 'slave-dma/next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'kbuild/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'hwmon-staging/hwmon-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'i2c/i2c/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'xfs/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'overlayfs/overlayfs-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 's390/features'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'sunxi/sunxi/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'samsung/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'renesas/next'Stephen Rothwell
Conflicts: arch/arm/boot/dts/Makefile
2015-01-19Merge remote-tracking branch 'mvebu/for-next'Stephen Rothwell
2015-01-19Merge remote-tracking branch 'imx-mxs/for-next'Stephen Rothwell
Conflicts: arch/arm/boot/dts/Makefile
2015-01-19Merge remote-tracking branch 'arm-soc/for-next'Stephen Rothwell