Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1564706
| From | Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] zram: remove obsolete sysfs attrs |
| Date | 2017-01-23 07:30 +0100 |
| Message-ID | <t2GiB-2W5-3@gated-at.bofh.it> (permalink) |
| References | <t0PzH-7mq-5@gated-at.bofh.it> <t2FZg-2Pp-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On (01/23/17 15:04), Minchan Kim wrote: > On Wed, Jan 18, 2017 at 12:58:38PM +0900, Sergey Senozhatsky wrote: > > We had a deprecated_attr_warn() warning for 2 years and now the > > time has come and we finally can do the cleanup. > > > > The plan was as follows: > > > > : per-stat sysfs attributes are considered to be deprecated. > > : The basic strategy is: > > : -- the existing RW nodes will be downgraded to WO nodes (in linux 4.11) > > : -- deprecated RO sysfs nodes will eventually be removed (in linux 4.11) > > : > > : The list of deprecated attributes can be found here: > > : Documentation/ABI/obsolete/sysfs-block-zram > > : > > : Basically, every attribute that has its own read accessible sysfs > > : node (e.g. num_reads) *AND* is accessible via one of the stat files > > : (zram<id>/stat or zram<id>/io_stat or zram<id>/mm_stat) is considered > > : to be deprecated. > > > > The patch also removes `obsolete/sysfs-block-zram', clean ups > > `testing/sysfs-block-zram' and tweaks zram.txt files. > > > > Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> > Acked-by: Minchan Kim <minchan@kernel.org> thanks. I didn't touch some of the attrs. we can start a new deprecation cycle a bit later. for instance, our sysfs zram_hot add/remove must leave; and max_comp_streams is still RW - we left if intact just in case if we would revert per-cpu compression stream and return idle list back. -ss
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] zram: remove obsolete sysfs attrs Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-01-18 05:00 +0100
Re: [PATCH] zram: remove obsolete sysfs attrs Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-01-18 05:10 +0100
Re: [PATCH] zram: remove obsolete sysfs attrs Minchan Kim <minchan@kernel.org> - 2017-01-23 07:10 +0100
Re: [PATCH] zram: remove obsolete sysfs attrs Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-01-23 07:30 +0100
csiph-web