From: Bernd Schubert <bernd-schubert@gmx.de>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: API changes / 2.6.21 sysctl changes
Date: Mon, 11 Jun 2007 17:59:45 +0200 [thread overview]
Message-ID: <200706111759.45774.bernd-schubert@gmx.de> (raw)
In-Reply-To: <20070611154627.GA5715@martell.zuzino.mipt.ru>
On Monday 11 June 2007 17:46:27 Alexey Dobriyan wrote:
> On Mon, Jun 11, 2007 at 03:13:12PM +0200, Bernd Schubert wrote:
> > in 2.6.21 register_sysctl_table(), struct ctl_table and probably
> > something else did change. Unfortunately so far I didn't figure out the
> > "something else".
>
> Do you have a problem porting your sysctls to newer kernels?
A little bit, yes. Well, I got it working, but I don't understand why I had to
do that whay.
I'm porting lustre to newer kernel versions and up to 2.6.20 the procfs/sysctl
logic was
1.) register_sysctl_table() -> creates /proc/sys/lnet
2.) create_proc_entry() -> add additional files in /proc/sys/lnet
With 2.6.21 creating additional entries in /proc/sys/lnet fails and I have to
first call "proc_mkdir("sys/lnet", NULL)". I did this proc_mkdir() call even
before the register_sysctl_table() call, hoping that its correct.
My guess is that register_sysctl_table() doesn't create /proc/sys/lnet
anymore, but I have now idea why. Either I did something wrong or its
intended.
Since I don't like guessing I ask for more documentation. However I think in
general, each interface change should be documented. Its just such a waste of
time of many people, just because one person doesn't want to spend additional
5 min to write what did change.
Thanks
next prev parent reply other threads:[~2007-06-11 16:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-11 13:13 Bernd Schubert
2007-06-11 15:46 ` Alexey Dobriyan
2007-06-11 15:59 ` Bernd Schubert [this message]
2007-06-11 16:41 ` Alexey Dobriyan
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=200706111759.45774.bernd-schubert@gmx.de \
--to=bernd-schubert@gmx.de \
--cc=adobriyan@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®