<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/cifs/cifs_debug.c, branch linux-3.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-05-23T08:33:11Z</updated>
<entry>
<title>CIFS: Move protocol specific demultiplex thread calls to ops struct</title>
<updated>2012-05-23T08:33:11Z</updated>
<author>
<name>Pavel Shilovsky</name>
</author>
<published>2012-05-17T09:25:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8aa26f3ed80ddbaf78804b6481fcfdbd447caa1c'/>
<id>urn:sha1:8aa26f3ed80ddbaf78804b6481fcfdbd447caa1c</id>
<content type='text'>
Acked-by: Shirish Pargaonkar &lt;shirishpargaonkar@gmail.com&gt;
Signed-off-by: Pavel Shilovsky &lt;piastry@etersoft.ru&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>cifs: remove legacy MultiuserMount option</title>
<updated>2012-05-17T01:13:31Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2012-05-16T11:13:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5e500ed125f3b153aa3f228657723189e9f4c82e'/>
<id>urn:sha1:5e500ed125f3b153aa3f228657723189e9f4c82e</id>
<content type='text'>
We've now warned about this for two releases. Remove it for 3.5.

Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
</content>
</entry>
<entry>
<title>cifs: remove /proc/fs/cifs/OplockEnabled</title>
<updated>2012-03-23T18:40:56Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2012-03-23T18:40:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=27ac5755aee0c99b9148ccceccb800270b9e5628'/>
<id>urn:sha1:27ac5755aee0c99b9148ccceccb800270b9e5628</id>
<content type='text'>
We've had a deprecation warning on this file for 2 releases now. Remove
it as promised for 3.4.

Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
</content>
</entry>
<entry>
<title>CIFS: Change mid_q_entry structure fields</title>
<updated>2012-03-23T18:28:03Z</updated>
<author>
<name>Pavel Shilovsky</name>
</author>
<published>2012-03-23T18:28:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c9421e1a9ce8d17816f480c3a5b4f2609442cd5'/>
<id>urn:sha1:7c9421e1a9ce8d17816f480c3a5b4f2609442cd5</id>
<content type='text'>
to be protocol-unspecific and big enough to keep both CIFS
and SMB2 values.

Signed-off-by: Pavel Shilovsky &lt;piastry@etersoft.ru&gt;
</content>
</entry>
<entry>
<title>CIFS: Separate protocol-specific code from demultiplex code</title>
<updated>2012-03-23T18:28:02Z</updated>
<author>
<name>Pavel Shilovsky</name>
</author>
<published>2012-03-23T18:28:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d4e4854fd1c85ac8ba4d6de39703e07704754b85'/>
<id>urn:sha1:d4e4854fd1c85ac8ba4d6de39703e07704754b85</id>
<content type='text'>
Signed-off-by: Pavel Shilovsky &lt;piastry@etersoft.ru&gt;
</content>
</entry>
<entry>
<title>CIFS: Simplify inFlight logic</title>
<updated>2012-03-21T16:27:35Z</updated>
<author>
<name>Pavel Shilovsky</name>
</author>
<published>2012-02-17T14:09:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fc40f9cf828908e91d9af820e9300a9d42fbbd72'/>
<id>urn:sha1:fc40f9cf828908e91d9af820e9300a9d42fbbd72</id>
<content type='text'>
by making it as unsigned integer and surround access with req_lock
from server structure.

Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Pavel Shilovsky &lt;piastry@etersoft.ru&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>cifs: warn about impending deprecation of legacy MultiuserMount code</title>
<updated>2012-01-18T04:40:31Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2012-01-17T21:09:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=789b4588da40cf572ef982bdc5d590ec1b0386fe'/>
<id>urn:sha1:789b4588da40cf572ef982bdc5d590ec1b0386fe</id>
<content type='text'>
We'll allow a grace period of 2 releases (3.3 and 3.4) and then remove
the legacy code in 3.5.

Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>cifs: warn about deprecation of /proc/fs/cifs/OplockEnabled interface</title>
<updated>2011-10-13T04:42:13Z</updated>
<author>
<name>Suresh Jayaraman</name>
</author>
<published>2011-10-12T06:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8bc4392a1e50f346e97f8777aaefd9cfc3d45c9f'/>
<id>urn:sha1:8bc4392a1e50f346e97f8777aaefd9cfc3d45c9f</id>
<content type='text'>
The plan is to deprecate this interface by kernel version 3.4.

Changes since v1
   - add a '\n' to the printk.

Reported-by: Alexander Swen &lt;alex@swen.nu&gt;
Cc: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Suresh Jayaraman &lt;sjayaraman@suse.de&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>add new module parameter 'enable_oplocks'</title>
<updated>2011-10-13T04:42:05Z</updated>
<author>
<name>Steve French</name>
</author>
<published>2011-10-12T22:47:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e75047344ea415760b2508a6fa29c0288c7b6b68'/>
<id>urn:sha1:e75047344ea415760b2508a6fa29c0288c7b6b68</id>
<content type='text'>
Thus spake Jeff Layton:

"Making that a module parm would allow you to set that parameter at boot
time without needing to add special startup scripts. IMO, all of the
procfile "switches" under /proc/fs/cifs should be module parms
instead."

This patch doesn't alter the default behavior (Oplocks are enabled by
default).

To disable oplocks when loading the module, use

   modprobe cifs enable_oplocks=0

(any of '0' or 'n' or 'N' conventions can be used).

To disable oplocks at runtime using the new interface, use

   echo 0 &gt; /sys/module/cifs/parameters/enable_oplocks

The older /proc/fs/cifs/OplockEnabled interface will be deprecated
after two releases. A subsequent patch will add an warning message
about this deprecation.

Changes since v2:
   - make enable_oplocks a 'bool'

Changes since v1:
   - eliminate the use of extra variable by renaming the old one to
     enable_oplocks and make it an 'int' type.

Reported-by: Alexander Swen &lt;alex@swen.nu&gt;
Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Suresh Jayaraman &lt;sjayaraman@suse.de&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>[CIFS] Cleanup use of CONFIG_CIFS_STATS2 ifdef to make transport routines more readable</title>
<updated>2011-08-11T18:23:45Z</updated>
<author>
<name>Steve French</name>
</author>
<published>2011-08-09T18:44:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=789e66612367f9975d704c9e4990025cbbbb45ec'/>
<id>urn:sha1:789e66612367f9975d704c9e4990025cbbbb45ec</id>
<content type='text'>
Christoph had requested that the stats related code (in
CONFIG_CIFS_STATS2) be moved into helpers to make code flow more
readable.   This patch should help.   For example the following
section from transport.c

                       spin_unlock(&amp;GlobalMid_Lock);
                       atomic_inc(&amp;ses-&gt;server-&gt;num_waiters);
                       wait_event(ses-&gt;server-&gt;request_q,
                                  atomic_read(&amp;ses-&gt;server-&gt;inFlight)
                                    &lt; cifs_max_pending);
                       atomic_dec(&amp;ses-&gt;server-&gt;num_waiters);
                       spin_lock(&amp;GlobalMid_Lock);

becomes simpler (with the patch below):
                       spin_unlock(&amp;GlobalMid_Lock);
                       cifs_num_waiters_inc(server);
                       wait_event(server-&gt;request_q,
                                  atomic_read(&amp;server-&gt;inFlight)
                                    &lt; cifs_max_pending);
                       cifs_num_waiters_dec(server);
                       spin_lock(&amp;GlobalMid_Lock);

Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
CC: Christoph Hellwig &lt;hch@infradead.org&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
Reviewed-by: Pavel Shilovsky &lt;piastry@etersoft.ru&gt;
</content>
</entry>
</feed>
