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;">> driver. I could not understand why the "sbd_request " is called even though
<br>> i have given only one read call from user space file.<br><br>Block device I/O transfer is done in blocks.<br><br>> And also in the driver, in the function sbd_request() how does the driver<br>> get the parameters like sector, current_nr_sectors and buffer.
<br><br>VFS <-> SCSI <-> Block device?<br><br>> i could move<br>> 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
drivers/block loop.c i could see kernel_thread() being used but
in floopy.c it is not used. When is this kernel_thread() function is supposed to be
used ? 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> <br>
</div></div><br>