All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton@redhat.com>
To: Steve French <smfrench@gmail.com>
Cc: Christoph Hellwig <hch@infradead.org>,
	linux-fsdevel@vger.kernel.org, linux-cifs-client@lists.samba.org,
	linux-kernel@vger.kernel.org
Subject: Re: [linux-cifs-client] [PATCH] cifs: wrap cifs_dnotify_thread in  CONFIG_BROKEN
Date: Thu, 22 Jan 2009 18:31:15 -0500	[thread overview]
Message-ID: <20090122183115.1cef1b53@tleilax.poochiereds.net> (raw)
In-Reply-To: <524f69650901221513m7857488by6713eca64ee31681@mail.gmail.com>

On Thu, 22 Jan 2009 17:13:37 -0600
Steve French <smfrench@gmail.com> wrote:

> The thread may be renamed/rewritten etc. - but we badly need to finish
> the dnotify / inotify code ... removing the start on this that someone
> wrote in the past isn't getting us any closer to this.
> 
> dnotify/inotify support was added to Linux in the first place because
> Samba used it to handle this common operation (it is commonly used by
> OTHER cifs clients) ... but none of the Linux cluster/network file
> systems have had time to finish the code ... we need to finish this -
> the network protocol portion of this is now well documented (and we
> presumably will need a thread to process the dnotify multishot
> notification responses so we don't clog up the demultiplex thread
> waiting on kde and gnoe)
> 

Removing this kthread won't measurably move us farther away from that
goal either.

It's currently under CONFIG_CIFS_EXPERIMENTAL, which would be fine if
it actually did something. It doesn't though -- it just wakes up tasks
that don't need to be woken up.

I have no issue with a kthread that does useful work, but why not remove
this kthread out of the mainline code for now and just plan to put it
back when it actually has something useful to do?

The patch that removes it will live in perpetuity in git. It'll be a
trivial matter to revert it when you're ready to have the kthread do
real work.

-- 
Jeff Layton <jlayton@redhat.com>

WARNING: multiple messages have this Message-ID (diff)
From: Jeff Layton <jlayton@redhat.com>
To: Steve French <smfrench@gmail.com>
Cc: Christoph Hellwig <hch@infradead.org>,
	linux-fsdevel@vger.kernel.org, linux-cifs-client@lists.samba.org,
	linux-kernel@vger.kernel.org
Subject: Re: [linux-cifs-client] [PATCH] cifs: wrap cifs_dnotify_thread in CONFIG_BROKEN
Date: Thu, 22 Jan 2009 18:31:15 -0500	[thread overview]
Message-ID: <20090122183115.1cef1b53@tleilax.poochiereds.net> (raw)
In-Reply-To: <524f69650901221513m7857488by6713eca64ee31681@mail.gmail.com>

On Thu, 22 Jan 2009 17:13:37 -0600
Steve French <smfrench@gmail.com> wrote:

> The thread may be renamed/rewritten etc. - but we badly need to finish
> the dnotify / inotify code ... removing the start on this that someone
> wrote in the past isn't getting us any closer to this.
> 
> dnotify/inotify support was added to Linux in the first place because
> Samba used it to handle this common operation (it is commonly used by
> OTHER cifs clients) ... but none of the Linux cluster/network file
> systems have had time to finish the code ... we need to finish this -
> the network protocol portion of this is now well documented (and we
> presumably will need a thread to process the dnotify multishot
> notification responses so we don't clog up the demultiplex thread
> waiting on kde and gnoe)
> 

Removing this kthread won't measurably move us farther away from that
goal either.

It's currently under CONFIG_CIFS_EXPERIMENTAL, which would be fine if
it actually did something. It doesn't though -- it just wakes up tasks
that don't need to be woken up.

I have no issue with a kthread that does useful work, but why not remove
this kthread out of the mainline code for now and just plan to put it
back when it actually has something useful to do?

The patch that removes it will live in perpetuity in git. It'll be a
trivial matter to revert it when you're ready to have the kthread do
real work.

-- 
Jeff Layton <jlayton@redhat.com>

  reply	other threads:[~2009-01-22 23:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-22 16:34 [PATCH] cifs: wrap cifs_dnotify_thread in CONFIG_BROKEN Jeff Layton
2009-01-22 21:06 ` [linux-cifs-client] " Christoph Hellwig
2009-01-22 23:13   ` Steve French
2009-01-22 23:13     ` Steve French
2009-01-22 23:31     ` Jeff Layton [this message]
2009-01-22 23:31       ` Jeff Layton
2009-01-22 23:41       ` Steve French
2009-01-22 23:41         ` Steve French
2009-01-22 23:56         ` Steve French
2009-01-22 23:56           ` Steve French
2009-01-23  1:17           ` Jeff Layton
2009-01-23  1:17             ` Jeff Layton
2009-01-23  0:13       ` [linux-cifs-client] " Christoph Hellwig

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=20090122183115.1cef1b53@tleilax.poochiereds.net \
    --to=jlayton@redhat.com \
    --cc=hch@infradead.org \
    --cc=linux-cifs-client@lists.samba.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=smfrench@gmail.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 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.