Hello Shakthi Kannan,<br><br>
Thanks for the reply .<br>
<br><div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; driver. I could not understand why the &quot;sbd_request &quot; is called even though
<br>&gt; i have given only one read call from user space file.<br><br>Block device I/O transfer is done in blocks.<br><br>&gt;&nbsp;&nbsp;And also in the driver, in the function sbd_request() how does the driver<br>&gt; get the parameters&nbsp;&nbsp;like sector, current_nr_sectors and buffer.
<br><br>VFS &lt;-&gt; SCSI &lt;-&gt; Block device?<br><br>&gt; i could move<br>&gt; furhter fastly.<br><br>Fastly? IMHO, learning kernel development involves lot of patience.<br><br>SK</blockquote><div><br><br>
Is it necessary to use kernel_thread() in block drivers. In&nbsp;
drivers/block loop.c i could see&nbsp; kernel_thread() being used but
in floopy.c it is not used. When is this kernel_thread() function is supposed to be
used ?&nbsp; In the sbd_device also the kernel_thread() is not used.<br>
<br>
Anyone please kindly clarify my doubts.<br>
<br>
Thanks in Advance<br>
<br>
-Rahul<br>&nbsp; <br>
</div></div><br>