Date: Fri, 11 Oct 2002 13:52:45 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom geom_disk.c Message-ID: <200210112052.g9BKqjOd009012@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2002/10/11 13:52:45 PDT
Modified files:
sys/geom geom_disk.c
Log:
The CAM system has it's own ideas of what locks are to be held by whom.
So do GEOM. Not a pretty sight.
Take all the interesting stuff out of GEOM::disk_create(), and leave just
the creation of the fake dev_t. Schedule the topology munging to happen
in the g_event thread with g_call_me().
This makes disk_create() pretty lock-agnostic, almost lock-atheist.
Tripped over by: peter
Sponsored by: DARPA & NAI Labs
Revision Changes Path
1.25 +24 -19 src/sys/geom/geom_disk.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210112052.g9BKqjOd009012>
