All of lore.kernel.org
 help / color / mirror / Atom feed
From: Suresh Jayaraman <sjayaraman-l3A5Bk7waGM@public.gmane.org>
To: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 4/4] cifs: replace /proc/fs/cifs/Experimental with a module parm
Date: Fri, 17 Dec 2010 21:02:45 +0530	[thread overview]
Message-ID: <4D0B829D.2070005@suse.de> (raw)
In-Reply-To: <1291820625-20907-5-git-send-email-jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

On 12/08/2010 08:33 PM, Jeff Layton wrote:
> This flag currently only affects whether we allow "zero-copy" writes
> with signing enabled. Typically we map pages in the pagecache directly
> into the write request. If signing is enabled however and the contents
> of the page change after the signature is calculated but before the
> write is sent then the signature will be wrong. Servers typically
> respond to this by closing down the socket.
> 
> Still, this can provide a performance benefit so the "Experimental" flag
> was overloaded to allow this. That's really not a good place for this
> option however since it's not clear what that flag does.
> 
> Move that flag instead to a new module parameter that better describes
> its purpose. That's also better since it can be set at module insertion
> time by configuring modprobe.d.
> 
> Signed-off-by: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> ---
>  fs/cifs/README       |   16 ----------------
>  fs/cifs/cifs_debug.c |   43 -------------------------------------------
>  fs/cifs/cifsfs.c     |    6 ++++--
>  fs/cifs/cifsglob.h   |    2 +-
>  fs/cifs/file.c       |    4 ++--
>  5 files changed, 7 insertions(+), 64 deletions(-)
> 

Making it a module param sounds appropriate to me.

Reviewed-by: Suresh Jayaraman <sjayaraman-l3A5Bk7waGM@public.gmane.org>

  parent reply	other threads:[~2010-12-17 15:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-08 15:03 [PATCH 0/4] cifs: CONFIG_CIFS_EXPERIMENTAL removal (try #2) Jeff Layton
     [not found] ` <1291820625-20907-1-git-send-email-jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-12-08 15:03   ` [PATCH 1/4] cifs: remove export_ops code Jeff Layton
     [not found]     ` <1291820625-20907-2-git-send-email-jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-12-17 15:28       ` Suresh Jayaraman
     [not found]         ` <4D0B81AA.9060805-l3A5Bk7waGM@public.gmane.org>
2010-12-17 15:38           ` Jeff Layton
2010-12-08 15:03   ` [PATCH 2/4] cifs: move "ntlmssp" and "local_leases" options out of experimental code Jeff Layton
     [not found]     ` <1291820625-20907-3-git-send-email-jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-12-17 15:28       ` Suresh Jayaraman
     [not found]         ` <4D0B81B8.6090603-l3A5Bk7waGM@public.gmane.org>
2010-12-17 15:42           ` Jeff Layton
2010-12-17 15:43           ` Shirish Pargaonkar
     [not found]             ` <AANLkTikcnfDE=TwQ4uHWxQPOkPvuJhAkROT6fuDksOSs-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-12-17 16:33               ` Steve French
     [not found]                 ` <AANLkTikSOy-UHrOQxpACBrA9=5G+H8yDxVGDt_B443LJ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-12-17 16:44                   ` Shirish Pargaonkar
2010-12-08 15:03   ` [PATCH 3/4] cifs: remove CIFSSMBQueryReparseLinkInfo and CONFIG_CIFS_EXPERIMENTAL Jeff Layton
     [not found]     ` <1291820625-20907-4-git-send-email-jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-12-17 15:29       ` Suresh Jayaraman
2010-12-08 15:03   ` [PATCH 4/4] cifs: replace /proc/fs/cifs/Experimental with a module parm Jeff Layton
     [not found]     ` <1291820625-20907-5-git-send-email-jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-12-17 15:32       ` Suresh Jayaraman [this message]
2010-12-17 15:28   ` [PATCH 0/4] cifs: CONFIG_CIFS_EXPERIMENTAL removal (try #2) Suresh Jayaraman
     [not found]     ` <4D0B8196.3050102-l3A5Bk7waGM@public.gmane.org>
2010-12-17 15:37       ` Jeff Layton
     [not found]         ` <20101217103717.22ce07b1-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2010-12-17 16:11           ` Suresh Jayaraman

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=4D0B829D.2070005@suse.de \
    --to=sjayaraman-l3a5bk7wagm@public.gmane.org \
    --cc=jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.