mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Rakesh Pandit <rakesh@tuxera.com>
Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	hannes@cmpxchg.org, jack@suse.cz
Subject: Re: [PATCH 2/2] sysctl: remove /proc/sys/vm/nr_pdflush_threads
Date: Fri, 6 Oct 2017 08:17:13 -0600	[thread overview]
Message-ID: <26c9cbc4-ceb6-49fe-ba67-71531cc981dc@kernel.dk> (raw)
In-Reply-To: <20171006134931.GA17910@dhcp-216.srv.tuxera.com>

On 10/06/2017 07:49 AM, Rakesh Pandit wrote:
> Hi Jens,
> 
> On Tue, Oct 03, 2017 at 09:16:21AM -0600, Jens Axboe wrote:
>> This tunable has been obsolete since 2.6.32, and writes to the
>> file have been failing and complaining in dmesg since then:
>>
>> nr_pdflush_threads exported in /proc is scheduled for removal
>>
>> That was 8 years ago. Remove the file ABI obsolete notice, and
>> the sysfs file.
>>
>> Signed-off-by: Jens Axboe <axboe@kernel.dk>
>> ---
>>  Documentation/ABI/obsolete/proc-sys-vm-nr_pdflush_threads | 5 -----
>>  kernel/sysctl.c                                           | 5 -----
>>  2 files changed, 10 deletions(-)
>>  delete mode 100644 Documentation/ABI/obsolete/proc-sys-vm-nr_pdflush_threads
>>
>> diff --git a/Documentation/ABI/obsolete/proc-sys-vm-nr_pdflush_threads b/Documentation/ABI/obsolete/proc-sys-vm-nr_pdflush_threads
>> deleted file mode 100644
>> index b0b0eeb20fe3..000000000000
>> --- a/Documentation/ABI/obsolete/proc-sys-vm-nr_pdflush_threads
>> +++ /dev/null
>> @@ -1,5 +0,0 @@
>> -What:		/proc/sys/vm/nr_pdflush_threads
>> -Date:		June 2012
>> -Contact:	Wanpeng Li <liwp@linux.vnet.ibm.com>
>> -Description: Since pdflush is replaced by per-BDI flusher, the interface of old pdflush
>> -             exported in /proc/sys/vm/ should be removed.
>> diff --git a/kernel/sysctl.c b/kernel/sysctl.c
>> index 6648fbbb8157..a5dd8d82c253 100644
>> --- a/kernel/sysctl.c
>> +++ b/kernel/sysctl.c
>> @@ -1345,11 +1345,6 @@ static struct ctl_table vm_table[] = {
>>  		.extra1		= &zero,
>>  	},
>>  	{
>> -		.procname       = "nr_pdflush_threads",
>> -		.mode           = 0444 /* read-only */,
>> -		.proc_handler   = pdflush_proc_obsolete,
> 
> It seems you forgot to remove pdflush_proc_obsolete from:
> ./include/linux/backing-dev.h
> ./mm/backing-dev.c

Yeah, I missed that, thanks for letting me know. I've now removed them.

-- 
Jens Axboe

      reply	other threads:[~2017-10-06 14:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-03 15:16 [PATCH 0/2] writeback: start-all allocation elimination Jens Axboe
2017-10-03 15:16 ` [PATCH 1/2] writeback: eliminate work item allocation in bd_start_writeback() Jens Axboe
2017-10-04  7:26   ` Jan Kara
2017-10-04 14:42     ` Jens Axboe
2017-10-03 15:16 ` [PATCH 2/2] sysctl: remove /proc/sys/vm/nr_pdflush_threads Jens Axboe
2017-10-04  7:20   ` Jan Kara
2017-10-06 13:49   ` Rakesh Pandit
2017-10-06 14:17     ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=26c9cbc4-ceb6-49fe-ba67-71531cc981dc@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=hannes@cmpxchg.org \
    --cc=jack@suse.cz \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rakesh@tuxera.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome