cvs commit: src/sys/dev/mpt mpt_raid.c
John Baldwin
jhb at FreeBSD.org
Mon Jul 21 18:43:18 UTC 2008
jhb 2008-07-21 18:43:02 UTC
FreeBSD src repository
Modified files:
sys/dev/mpt mpt_raid.c
Log:
SVN rev 180668 on 2008-07-21 18:43:02Z by jhb
Allocate a single CCB at the start of the main loop of the RAID monitoring
kthread of the mpt(4) driver that hangs around for the entire lifetime of
the thread. Previously the driver would allocate a new CCB using M_WAITOK
with a lock held each time it updated its state. While here, use the
CAM API for allocating a CCB rather than raw malloc(9).
Reviewed by: scottl
MFC after: 1 week
Revision Changes Path
1.18 +4 -4 src/sys/dev/mpt/mpt_raid.c
More information about the cvs-src
mailing list