linux/Documentation
Sergey Senozhatsky 8f7d282c71 zram: deprecate zram attrs sysfs nodes
Add Documentation/ABI/obsolete/sysfs-block-zram file and list obsolete and
deprecated attributes there.  The patch also adds additional information
to zram documentation and describes the basic strategy:

- the existing RW nodes will be downgraded to WO nodes (in 4.11)
- deprecated RO sysfs nodes will eventually be removed (in 4.11)

Users will be additionally notified about deprecated attr usage by
pr_warn_once() (added to every deprecated attr _show()), as suggested by
Minchan Kim.

User space is advised to use zram<id>/stat, zram<id>/io_stat and
zram<id>/mm_stat files.

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Reported-by: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-04-15 16:35:21 -07:00
..
2015-02-17 09:27:54 -08:00
2015-02-20 15:13:29 -08:00
2014-12-10 17:41:10 -08:00
2015-02-11 13:03:11 -08:00
2014-06-11 08:35:34 -07:00
2015-02-15 10:48:44 -08:00
2015-03-24 22:57:49 +01:00
2015-04-15 16:35:21 -07:00
2014-06-19 17:45:14 -07:00
2015-02-02 14:23:42 -08:00
2015-02-27 11:44:24 -08:00
2014-12-08 09:07:11 -05:00
2014-11-21 19:48:50 +05:30
2014-09-23 23:44:16 -07:00