All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nathaniel Rutman <Nathan.Rutman@Sun.COM>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] [Fwd: feed api, rev2]
Date: Mon, 04 Feb 2008 14:39:36 -0800	[thread overview]
Message-ID: <47A79428.9060702@sun.com> (raw)
In-Reply-To: <20080201231102.GA21120@webber.adilger.int>

Andreas Dilger wrote:
>
> With the change to force the "ONESHOT" behaviour, this hurts the ability
> of the userspace process to pipeline operations.  No matter how large a
> read the user process does, it will eventually have to finish processing
> ALL of the records before it can read any more, or they will be lost on
> the next read and any application failure will result in lost records
> if they are not completely processed.  I preferred the ability to
> explicitly cancel records.
>   
There are arguments on both sides.   I'd really like to stay away from 
having
multiple cancellation mechanisms though - I think this will be extra 
work and
extra confusion.
With explicit cancel and a regular file we can have multiple readers all 
reading the same audit log,
which is a big plus. (Record would be purged at first cancel.) This adds 
complication
for the users though, which is a minus: they must now a) persistently 
keep track of
their last-processed record ID, b) explicitly cancel records, c) map 
record numbers
to file offsets.  I think c) is a real hassle.
With explicit cancel and a FIFO we have a) and b), but not c), but not 
multiple
readers either.

      reply	other threads:[~2008-02-04 22:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31  6:15 [Lustre-devel] [Fwd: feed api, rev2] Nathaniel Rutman
2008-02-01 23:11 ` Andreas Dilger
2008-02-04 22:39   ` Nathaniel Rutman [this message]

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=47A79428.9060702@sun.com \
    --to=nathan.rutman@sun.com \
    --cc=lustre-devel@lists.lustre.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.