Searched hist:fa6099fda0f4866ce085895d4a552f9fa9a7c8f8 (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/cam/ |
H A D | cam_sim.h | diff fa6099fda0f4866ce085895d4a552f9fa9a7c8f8 Tue Dec 16 17:57:33 CET 2008 Edward Tomasz Napierala <trasz@FreeBSD.org> Add SIM refcounting. This is slightly different from what DragonFly does - in DragonFly, it's cam_sim_release() what actually frees the SIM; cam_sim_free does nothing more than calling cam_sim_release(). Here, we drain in cam_sim_free, waiting for refcount to drop to zero. We cannot do the same think DragonFly does, because after cam_sim_free returns, client would destroy the sim->mtx, and CAM would trip over an initialized mutex.
Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation diff fa6099fda0f4866ce085895d4a552f9fa9a7c8f8 Tue Dec 16 17:57:33 CET 2008 Edward Tomasz Napierala <trasz@FreeBSD.org> Add SIM refcounting. This is slightly different from what DragonFly does - in DragonFly, it's cam_sim_release() what actually frees the SIM; cam_sim_free does nothing more than calling cam_sim_release(). Here, we drain in cam_sim_free, waiting for refcount to drop to zero. We cannot do the same think DragonFly does, because after cam_sim_free returns, client would destroy the sim->mtx, and CAM would trip over an initialized mutex.
Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
|
H A D | cam_sim.c | diff fa6099fda0f4866ce085895d4a552f9fa9a7c8f8 Tue Dec 16 17:57:33 CET 2008 Edward Tomasz Napierala <trasz@FreeBSD.org> Add SIM refcounting. This is slightly different from what DragonFly does - in DragonFly, it's cam_sim_release() what actually frees the SIM; cam_sim_free does nothing more than calling cam_sim_release(). Here, we drain in cam_sim_free, waiting for refcount to drop to zero. We cannot do the same think DragonFly does, because after cam_sim_free returns, client would destroy the sim->mtx, and CAM would trip over an initialized mutex.
Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation diff fa6099fda0f4866ce085895d4a552f9fa9a7c8f8 Tue Dec 16 17:57:33 CET 2008 Edward Tomasz Napierala <trasz@FreeBSD.org> Add SIM refcounting. This is slightly different from what DragonFly does - in DragonFly, it's cam_sim_release() what actually frees the SIM; cam_sim_free does nothing more than calling cam_sim_release(). Here, we drain in cam_sim_free, waiting for refcount to drop to zero. We cannot do the same think DragonFly does, because after cam_sim_free returns, client would destroy the sim->mtx, and CAM would trip over an initialized mutex.
Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
|
H A D | cam_xpt.c | diff fa6099fda0f4866ce085895d4a552f9fa9a7c8f8 Tue Dec 16 17:57:33 CET 2008 Edward Tomasz Napierala <trasz@FreeBSD.org> Add SIM refcounting. This is slightly different from what DragonFly does - in DragonFly, it's cam_sim_release() what actually frees the SIM; cam_sim_free does nothing more than calling cam_sim_release(). Here, we drain in cam_sim_free, waiting for refcount to drop to zero. We cannot do the same think DragonFly does, because after cam_sim_free returns, client would destroy the sim->mtx, and CAM would trip over an initialized mutex.
Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation diff fa6099fda0f4866ce085895d4a552f9fa9a7c8f8 Tue Dec 16 17:57:33 CET 2008 Edward Tomasz Napierala <trasz@FreeBSD.org> Add SIM refcounting. This is slightly different from what DragonFly does - in DragonFly, it's cam_sim_release() what actually frees the SIM; cam_sim_free does nothing more than calling cam_sim_release(). Here, we drain in cam_sim_free, waiting for refcount to drop to zero. We cannot do the same think DragonFly does, because after cam_sim_free returns, client would destroy the sim->mtx, and CAM would trip over an initialized mutex.
Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
|