does the request function block

From: Christian Widmer (cwidmer@iiic.ethz.ch)
Date: Tue Aug 28 2001 - 13:13:45 EST


does the request function of a bock device driver to be attomic or may it
block? in the linux device driver 2 it says that it must be attomic and
may not block. that makes sense to me since it also sais that the bottom-
half of the driver will call the request function too. but this is not realy
nessesery when i remove all request before releasing the io_request_lock.
on the other side block devices like nbd or brbd do send date using a socket
in there request function.

who is right and why?
-
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/



This archive was generated by hypermail 2b29 : Fri Aug 31 2001 - 21:00:30 EST