]> granicus.if.org Git - zfs/commit
Never sleep under taskq_dispatch()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 28 Jun 2010 17:11:12 +0000 (10:11 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 28 Jun 2010 17:11:12 +0000 (10:11 -0700)
commit6914386b8590fed6be580170481b1cf9016a59b6
tree3b02985eb06fa511764b0cc59563ade863c7bb51
parent49ad53c46fda1854a057f53bf972ba34402d19f3
Never sleep under taskq_dispatch()

There are cases where under Linux it is not safe to sleep in
taskq_dispatch().  Rather than adding Linux specific code to
detect these cases I opted to keep it simple and just never
allow a sleep here.  The impact of this should be minimal.
module/zfs/zio.c