Changeset View
Changeset View
Standalone View
Standalone View
head/sys/geom/shsec/g_shsec.c
Show First 20 Lines • Show All 310 Lines • ▼ Show 20 Lines | KASSERT(sc != NULL, | ||||
bp->bio_to->error, bp->bio_to->name)); | bp->bio_to->error, bp->bio_to->name)); | ||||
G_SHSEC_LOGREQ(2, bp, "Request received."); | G_SHSEC_LOGREQ(2, bp, "Request received."); | ||||
switch (bp->bio_cmd) { | switch (bp->bio_cmd) { | ||||
case BIO_READ: | case BIO_READ: | ||||
case BIO_WRITE: | case BIO_WRITE: | ||||
case BIO_FLUSH: | case BIO_FLUSH: | ||||
case BIO_SPEEDUP: | |||||
/* | /* | ||||
* Only those requests are supported. | * Only those requests are supported. | ||||
*/ | */ | ||||
break; | break; | ||||
case BIO_DELETE: | case BIO_DELETE: | ||||
case BIO_GETATTR: | case BIO_GETATTR: | ||||
/* To which provider it should be delivered? */ | /* To which provider it should be delivered? */ | ||||
default: | default: | ||||
▲ Show 20 Lines • Show All 508 Lines • Show Last 20 Lines |