lkml.org 
[lkml]   [2004]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsleeping in request function
I have a USB card reader. It is capable of read/write CF, Smartmedia etc. It
works fine on Linux. While looking into driver, I found that the driver
works between USB host controller and SCSI layer.
Just for learning purpose, I want to write it as block driver. The functions
which performs read/write from the device are blocking. Therefore I can't
call these functions directly from request function. Can somebody tell me
how can I call blocking functions from request function. I tried to set BH
but it didn't work.

Regards
Mohanlal

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.076 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site