<div dir="ltr">Hi,<br>I found my fault :)<br><br><div class="gmail_quote">On Sun, Jun 12, 2011 at 8:12 PM, Amirali Shambayati <span dir="ltr">&lt;<a href="mailto:amirali.shambayati@gmail.com">amirali.shambayati@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr">Hello all,<br>I debugged my code (which I explained in previous mails), and I found out this:<br>

In the function which I add bundles to writeQueue and requests to bundle, everything goes well and it seems that, this structure works well.<br>
But! in another function(which its task is dispatching requests to lower level), as I traverse in reqsQueue, in bundle, requests which have already been added to list are not available!<br><br>Any idea?<br><br>Regards,<div>

<div></div><div class="h5"><br>
<br><div class="gmail_quote">On Tue, Jun 7, 2011 at 6:21 AM, Ali Bahar <span dir="ltr">&lt;<a href="mailto:ali@internetdog.org" target="_blank">ali@internetdog.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<div>On Mon, Jun 06, 2011 at 10:43:20AM +0430, Amirali Shambayati wrote:<br>
&gt; Ali thanks for your valuable comments. Would you suggest me an alternative<br>
&gt; method to implement the structure I explained?<br>
<br>
</div>I don&#39;t know, sufficiently, what you _intend_ to implement. As<br>
described originally,<br>
<div><br>
&gt; &gt; &gt; &quot;noop_data&quot; has a reference to start point of bundles list, called<br>
&gt; &gt; &gt; &quot;writeQueue&quot;<br>
&gt; &gt; &gt; &quot;bundle&quot; has a reference to start point of requests list, called<br>
&gt; &gt; &gt; &quot;reqsQueue&quot;.<br>
&gt; &gt; &gt; &quot;bundle&quot; knows its related list using &quot;bundlesQueue&quot;.<br>
&gt; &gt; &gt; &quot;request&quot; knows its related list using &quot;queuelist&quot;. (request struct is<br>
&gt; &gt; &gt; already implemented in kernel)<br>
<br>
</div>your data structures are capable of fitting what you say; however,<br>
they may not match that which you have visualized in your mind. It&#39;d<br>
take even more guess-work on my part to divine the latter.<br>
<br>
Let me go out on a limb here, and suggest the following.<br>
<br>
I don&#39;t think you have any kernel-specific issues. This is the sort of<br>
thing which is best handled by sitting down with someone, and<br>
articulating what you have in mind. The bugs (in your<br>
visualization-to-implementation) are then sure to come out.<br>
<br>
<br>
&gt; Sharif University of Technology<br>
<br>
Judging by the word of mouth, and the grad students I&#39;ve seen, Sharif<br>
should be full of exceptionally bright students. Grab the guy next to<br>
you, and talk it out.<br>
<br>
later,<br>
<font color="#888888">ali<br>
</font></blockquote></div><br><br clear="all"><br></div></div><div class="im">-- <br><div dir="ltr"><font style="font-family: arial,helvetica,sans-serif;" size="2">Amirali Shambayati<br>Bachelor Student<br>Computer Engineering Department<br>

Sharif University of Technology<br>
Tehran, Iran</font><br style="font-family: arial,helvetica,sans-serif;"><input type="hidden"><input type="hidden"><div style="font-family: arial,helvetica,sans-serif;"></div></div><br>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><font style="font-family: arial,helvetica,sans-serif;" size="2">Amirali Shambayati<br>Bachelor Student<br>Computer Engineering Department<br>Sharif University of Technology<br>

Tehran, Iran</font><br style="font-family: arial,helvetica,sans-serif;"><input type="hidden"><input type="hidden"><div style="font-family: arial,helvetica,sans-serif;"></div></div><br>
</div>