FreeBSD/sys/geom/sched/g_sched.c
/*
 * Classifier support for recent FreeBSD versions: we use
 * a very simple classifier, only use curthread to tag a request.
 * The classifier is registered at module load, and unregistered
 * at module unload.
 */
Classifier support for recent FreeBSD versions: we use
a very simple classifier, only use curthread to tag a request.
The classifier is registered at module load, and unregistered
at module unload.
Classifier support for recent FreeBSD versions : we use a very simple classifier only use curthread to tag a request . The classifier is registered at module load and unregistered at module unload .
static int
g_sched_tag(void *arg, struct bio *bp)
{
	bp->bio_classifier1 = curthread;
	return (1);
}
static int g_sched_tag ( void * arg , struct bio * bp ) { bp -> bio_classifier1 = curthread ; return ( 1 ) ; }
Classifier support for recent FreeBSD versions: we use
 a very simple classifier, only use curthread to tag a request.
Classifier support for recent FreeBSD versions : we use a very simple classifier only use curthread to tag a request .