From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750731AbdAWGE1 (ORCPT ); Mon, 23 Jan 2017 01:04:27 -0500 Received: from LGEAMRELO12.lge.com ([156.147.23.52]:53348 "EHLO lgeamrelo12.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750703AbdAWGE0 (ORCPT ); Mon, 23 Jan 2017 01:04:26 -0500 X-Original-SENDERIP: 156.147.1.126 X-Original-MAILFROM: minchan@kernel.org X-Original-SENDERIP: 165.244.249.26 X-Original-MAILFROM: minchan@kernel.org X-Original-SENDERIP: 10.177.223.161 X-Original-MAILFROM: minchan@kernel.org Date: Mon, 23 Jan 2017 15:04:08 +0900 From: Minchan Kim To: Sergey Senozhatsky CC: Andrew Morton , , , Subject: Re: [PATCH] zram: remove obsolete sysfs attrs Message-ID: <20170123060408.GB12327@bbox> References: <20170118035838.11090-1-sergey.senozhatsky@gmail.com> MIME-Version: 1.0 In-Reply-To: <20170118035838.11090-1-sergey.senozhatsky@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-MIMETrack: Itemize by SMTP Server on LGEKRMHUB02/LGE/LG Group(Release 8.5.3FP6|November 21, 2013) at 2017/01/23 15:04:09, Serialize by Router on LGEKRMHUB02/LGE/LG Group(Release 8.5.3FP6|November 21, 2013) at 2017/01/23 15:04:23, Serialize complete at 2017/01/23 15:04:23 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/stat or zram/io_stat or zram/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 Acked-by: Minchan Kim