No - buffers can and probably should (because, for example, re-delivery may leaver buffer state undefined) be unlinked from the match list before passing the buffer up to any other layer.  Portals/LNET certainly can do this.  <div>
<br></div><div>The question is why isn't this done, Eric, Isaac, Andreas?</div><div><br></div><div>Peter<br><br><div class="gmail_quote">On Tue, Dec 15, 2009 at 9:28 AM, Yuriy Umanets <span dir="ltr"><<a href="mailto:yuriy.umanets@clusterstor.com">yuriy.umanets@clusterstor.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><br><div class="gmail_quote">2009/12/9 Peter Braam <span dir="ltr"><<a href="mailto:peter.braam@clusterstor.com" target="_blank">peter.braam@clusterstor.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, <div><br></div></blockquote><div>hi Peter,</div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div></div><div>I wonder if LNET doesn't have an atomic operation that unlinks the packet from the delivery process upon receiving a packet.   Iirc it does.  Why wouldn't one use that?</div>

</blockquote></div><div>That is probably because it still may be in use by upper layers (ptlrpc, etc), i.e. it is up to upper layer to decide should its buffers be still linked for access or not.</div><div><br></div><div>
Thanks.</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><font color="#888888"><div>
Peter</div>
</font><br>_______________________________________________<br>
Lustre-devel mailing list<br>
<a href="mailto:Lustre-devel@lists.lustre.org" target="_blank">Lustre-devel@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/mailman/listinfo/lustre-devel" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-devel</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>umka<br>
</font></blockquote></div><br></div>