All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard J Moore <rasman@uk.ibm.com>
To: "David S. Miller" <davem@redhat.com>
Cc: karim@opersys.com, jmorris@redhat.com, zanussi@us.ibm.com,
	linux-kernel@vger.kernel.org, bob@watson.ibm.com
Subject: Re: [PATCH][RFC] relayfs (1/4) (Documentation)
Date: Wed, 15 Oct 2003 16:56:06 +0000	[thread overview]
Message-ID: <200310151656.06905.rasman@uk.ibm.com> (raw)
In-Reply-To: <20031014094424.6cff5697.davem@redhat.com>

I have read the RCF and I have to say that  I am left with the impression that 
relayfs and netlink are more or less orthogonal in what they try to achieve. 
If I'm wrong in this I'd like to know as I have no wish to push an 
alternative to any existing function of equivalent or  superior capability.

In messaging terms relayfs is more about he collation of parts of a message 
rather than the sending of multiple messages to a session partner. There are 
three aspects in which relayfs radically differs from netlink:

1) it does not require a partnership -- a client and serve, or session pair -- 
it is simply a buffering mechanism that allows data  be deposited. There is 
no expectation that the data will be consumed or that there is a listening 
partner. The reason fore this design point comes from the origin of relayfs 
as a buffering mechanism that satisfies the needs of a low-level system 
trace. Data from a trace might never be consumed if the system, sub-system or 
component never fails.

2) data can be deposited from any context - interrupt time, task time, sysinit 
in particular.

3) the depositing of data with relayfs has to depend one a very simple 
interface and infrastructure in order to function under a severely damaged 
system. My impression is that netlink depends a significant infrastructure.

Are these three points catered for by netlink?

-- 
Richard J Moore
IBM Linux Technology Centre

On Tue 14 October 2003 4:44 pm, David S. Miller wrote:
> On Tue, 14 Oct 2003 11:32:28 +0000
>
> Richard J Moore <rasman@uk.ibm.com> wrote:
> > Interesting, that assumes sequential processing, if not semi-synchronous
> > processing of events on the receiver side, which is far from guaranteed
> > when considering low-level tracing especially for flight-recorder
> > applications.
>
> With netlink you may receive the data asynchronously however you
> wish after you've requested a dump.
>
> I would like to ask that you go study how netlink works and is used
> by things like routing daemons before we discuss this further as
> it looks to me like half the conversation is going to be showing
> you how netlink works.  And hey there's even an RFC on netlink :)
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

  reply	other threads:[~2003-10-15 16:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-07 20:59 [PATCH][RFC] relayfs (1/4) (Documentation) Tom Zanussi
2003-10-09 13:45 ` James Morris
2003-10-09 15:25   ` Tom Zanussi
2003-10-09 17:15     ` James Morris
2003-10-09 17:42       ` Karim Yaghmour
2003-10-10  7:57         ` David S. Miller
2003-10-10 14:41           ` Karim Yaghmour
2003-10-11 17:34             ` David S. Miller
2003-10-12 23:23               ` Richard J Moore
2003-10-13 17:25                 ` David S. Miller
2003-10-14 11:32                   ` Richard J Moore
2003-10-14 16:44                     ` David S. Miller
2003-10-15 16:56                       ` Richard J Moore [this message]
2003-11-13 14:19                       ` Hubertus Franke
2003-10-13 14:53               ` Tom Zanussi
2003-10-10 15:26           ` Tom Zanussi

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=200310151656.06905.rasman@uk.ibm.com \
    --to=rasman@uk.ibm.com \
    --cc=bob@watson.ibm.com \
    --cc=davem@redhat.com \
    --cc=jmorris@redhat.com \
    --cc=karim@opersys.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zanussi@us.ibm.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.