freebsd-nq/sys/cam/scsi
Suleiman Souhlal 571dcd15e2 Fix the recent panics/LORs/hangs created by my kqueue commit by:
- Introducing the possibility of using locks different than mutexes
for the knlist locking. In order to do this, we add three arguments to
knlist_init() to specify the functions to use to lock, unlock and
check if the lock is owned. If these arguments are NULL, we assume
mtx_lock, mtx_unlock and mtx_owned, respectively.

- Using the vnode lock for the knlist locking, when doing kqueue operations
on a vnode. This way, we don't have to lock the vnode while holding a
mutex, in filt_vfsread.

Reviewed by:	jmg
Approved by:	re (scottl), scottl (mentor override)
Pointyhat to:	ssouhlal
Will be happy:	everyone
2005-07-01 16:28:32 +00:00
..
scsi_all.c The divide by zero panic must have been due to a bogus 2005-04-14 03:52:50 +00:00
scsi_all.h
scsi_cd.c Fix a problem with the cd(4) driver -- the CAMGETPASSTHRU ioctl wouldn't 2005-03-26 06:05:06 +00:00
scsi_cd.h
scsi_ch.c Fix a place where we were referencing a pointer after it had been freed. 2005-03-26 04:21:11 +00:00
scsi_ch.h
scsi_da.c Add a quirk for my pen-drive. 2005-06-09 17:35:04 +00:00
scsi_da.h
scsi_dvcfg.h
scsi_iu.h
scsi_low_pisa.c
scsi_low_pisa.h
scsi_low.c - Providing fine-grained malloc statistic by replacing M_DEVBUF with 2005-07-01 15:21:30 +00:00
scsi_low.h
scsi_message.h
scsi_pass.c
scsi_pass.h
scsi_pt.c
scsi_pt.h
scsi_sa.c - Providing fine-grained malloc statistic by replacing M_DEVBUF with 2005-07-01 15:21:30 +00:00
scsi_sa.h
scsi_ses.c - Providing fine-grained malloc statistic by replacing M_DEVBUF with 2005-07-01 15:21:30 +00:00
scsi_ses.h
scsi_targ_bh.c - Providing fine-grained malloc statistic by replacing M_DEVBUF with 2005-07-01 15:21:30 +00:00
scsi_target.c Fix the recent panics/LORs/hangs created by my kqueue commit by: 2005-07-01 16:28:32 +00:00
scsi_targetio.h