FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 10-10-2011, 07:49 AM
Alexander Swen
 
Default Bug#644135: cifs ignores sysct setting

I partly agree to the wishlist opinion, for the part where I ask for a loading option, however, imho cifs has a bug where it ignores the sysctl setting.


Met vriendelijke groet,
Alexander Swen
From: "Ben Hutchings" <ben@decadent.org.uk>
To: "Alexander Swen" <alex@swen.nu>
Cc: 644135@bugs.debian.org
Sent: Friday, 7 October, 2011 7:03:59 AM
Subject: Bug#644135: cifs ignores sysct setting

On Mon, 2011-10-03 at 09:46 +0200, Alexander Swen wrote:
> Package: linux-mage
> Version: 2.6.32-5-amd64
>
> cifs.ko module (which is included in the kernel pkg as far as i know)
> cifs driver version 1.61
>
> when cifs module loads oplock is enabled by default.
> so I can do
> echo 0 >/proc/fs/cifs/OplockEnabled
> but that won't persist through a driver reload. so we tried adding
> this to /etc/sysctl.conf:
> fs.cifs.OplockEnabled = 0
[...]
> So, when I read the modinfo of cifs, there are a few module options,
> but no oplock option.
> I would like to add something like:
> options cifs oplocksenabled=0
> to /etc/modprobe.d/aliases.conf
>
> Is it feasible to add that param as an option?
[...]

You should ask the upstream developers (Steve French <sfrench@samba.org>
and linux-cifs@vger.kernel.org) for this feature.

Ben.

--
Ben Hutchings
For every action, there is an equal and opposite criticism. - Harrison
 
Old 10-10-2011, 07:49 AM
Alexander Swen
 
Default Bug#644135: cifs ignores sysct setting

I partly agree to the wishlist opinion, for the part where I ask for a loading option, however, imho cifs has a bug where it ignores the sysctl setting.


Met vriendelijke groet,
Alexander Swen
From: "Ben Hutchings" <ben@decadent.org.uk>
To: "Alexander Swen" <alex@swen.nu>
Cc: 644135@bugs.debian.org
Sent: Friday, 7 October, 2011 7:03:59 AM
Subject: Bug#644135: cifs ignores sysct setting

On Mon, 2011-10-03 at 09:46 +0200, Alexander Swen wrote:
> Package: linux-mage
> Version: 2.6.32-5-amd64
>
> cifs.ko module (which is included in the kernel pkg as far as i know)
> cifs driver version 1.61
>
> when cifs module loads oplock is enabled by default.
> so I can do
> echo 0 >/proc/fs/cifs/OplockEnabled
> but that won't persist through a driver reload. so we tried adding
> this to /etc/sysctl.conf:
> fs.cifs.OplockEnabled = 0
[...]
> So, when I read the modinfo of cifs, there are a few module options,
> but no oplock option.
> I would like to add something like:
> options cifs oplocksenabled=0
> to /etc/modprobe.d/aliases.conf
>
> Is it feasible to add that param as an option?
[...]

You should ask the upstream developers (Steve French <sfrench@samba.org>
and linux-cifs@vger.kernel.org) for this feature.

Ben.

--
Ben Hutchings
For every action, there is an equal and opposite criticism. - Harrison
 
Old 10-10-2011, 03:29 PM
Ben Hutchings
 
Default Bug#644135: cifs ignores sysct setting

On Mon, Oct 10, 2011 at 09:49:13AM +0200, Alexander Swen wrote:
> I partly agree to the wishlist opinion, for the part where I ask for
> a loading option, however, imho cifs has a bug where it ignores the
> sysctl setting.
[...]

The setting you have been using is not a sysctl.

Ben.

--
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
- Albert Camus



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111010152951.GF3366@decadent.org.uk">http://lists.debian.org/20111010152951.GF3366@decadent.org.uk
 

Thread Tools




All times are GMT. The time now is 10:19 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org