Changeset View
Changeset View
Standalone View
Standalone View
sys/geom/linux_lvm/g_linux_lvm.c
Show First 20 Lines • Show All 209 Lines • ▼ Show 20 Lines | g_llvm_start(struct bio *bp) | ||||
switch (bp->bio_cmd) { | switch (bp->bio_cmd) { | ||||
case BIO_READ: | case BIO_READ: | ||||
case BIO_WRITE: | case BIO_WRITE: | ||||
case BIO_DELETE: | case BIO_DELETE: | ||||
/* XXX BIO_GETATTR allowed? */ | /* XXX BIO_GETATTR allowed? */ | ||||
break; | break; | ||||
default: | default: | ||||
/* | |||||
* BIO_SPEEDUP and BIO_FLUSH should pass through to all sg | |||||
* elements, but aren't. | |||||
*/ | |||||
g_io_deliver(bp, EOPNOTSUPP); | g_io_deliver(bp, EOPNOTSUPP); | ||||
return; | return; | ||||
} | } | ||||
bioq_init(&bq); | bioq_init(&bq); | ||||
chunk_size = vg->vg_extentsize; | chunk_size = vg->vg_extentsize; | ||||
addr = bp->bio_data; | addr = bp->bio_data; | ||||
▲ Show 20 Lines • Show All 969 Lines • Show Last 20 Lines |