public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kingsley Cheung <kingsley@aurema.com>
To: Tom Zanussi <zanussi@us.ibm.com>
Cc: Karim Yaghmour <karim@opersys.com>, linux-kernel@vger.kernel.org
Subject: Re: read() on relayfs channel returns premature 0
Date: Thu, 24 Mar 2005 12:29:48 +1100	[thread overview]
Message-ID: <20050324012948.GC25134@aurema.com> (raw)
In-Reply-To: <16961.35656.576684.890542@tut.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]

On Wed, Mar 23, 2005 at 09:29:12AM -0600, Tom Zanussi wrote:
> kingsley@aurema.com writes:
>  > 
>  > Now I understand that this is not the latest release of relayfs (there
>  > are the redux patches, which I have yet to try).  Nonetheless I'd like
>  > to know whether this behaviour is deliberate.  Is it? 
> 
> Nope, looks like you've found a bug - thanks for the patch.  Any
> chance you can send me your module so I can easily reproduce the
> problem and test the fix?
> 
> Thanks,
> 
> Tom
> 

Tom,

Yes, well a cut down version of the kernel module anyway.  Its in the
attached tar ball.  The kernel module requires pagg as well as relayfs
to work.  Basically the module tracks kernel events - in this case
process execs.  

I've tested it on 2.6.10 with the pagg and relayfs patches from

http://www.opersys.com/ftp/pub/relayfs/patch-relayfs-2.6.10-050113 

and

ftp://oss.sgi.com/projects/pagg/download/linux-2.6.10-pagg.patch-4

read() gives me a zero still once about a page of data has been read.

Many thanks, 
--
		Kingsley

[-- Attachment #2: RelayfsModule.tar.bz2 --]
[-- Type: application/x-bzip2, Size: 2629 bytes --]

  reply	other threads:[~2005-03-24  1:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-23  9:02 read() on relayfs channel returns premature 0 kingsley
2005-03-23 15:29 ` Tom Zanussi
2005-03-24  1:29   ` Kingsley Cheung [this message]
2005-03-24  6:56     ` Jan Engelhardt
2005-03-24 19:11     ` Tom Zanussi
2005-03-24 19:45       ` Jan Engelhardt
2005-03-25 12:27         ` Karim Yaghmour
2005-03-28 23:43       ` Kingsley Cheung
2005-04-18  1:29 ` Relayfs Question: Use of relay_reset(). Potential race? Kingsley Cheung
2005-04-18 15:56   ` Tom Zanussi
2005-04-19  0:40     ` Kingsley Cheung
2005-05-04  9:04       ` kingsley

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=20050324012948.GC25134@aurema.com \
    --to=kingsley@aurema.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox