cache sync on block device.

Sreenivasa Honnur shonnur at
Mon Mar 4 17:27:04 UTC 2013

I want to  implementing cache sync functionality for a block device. I referred to CTL code, below link says

" If you use a block device (like a zvol) as the backing store, you'll want 
to disable sending cache syncs to the disk, since that will trigger a GEOM 

ctladm realsync off"

How is cache sync (flush) implemented for a block device ? bio_cmd=BIO_FLUSH results in ASSERT.


More information about the freebsd-tinderbox mailing list