Date: Mon, 4 Mar 2013 16:47:18 +0000 From: Sreenivasa Honnur <shonnur@chelsio.com> To: FreeBSD Tinderbox <tinderbox@freebsd.org>, "current@freebsd.org" <current@freebsd.org>, "i386@freebsd.org" <i386@freebsd.org> Subject: cache sync on block device. Message-ID: <F2BBBB6E0068844991318A316F34795C344106@nice.asicdesigners.com> In-Reply-To: <201303041621.r24GL1Dn022279@freebsd-current.sentex.ca> References: <201303041621.r24GL1Dn022279@freebsd-current.sentex.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I want to implementing cache sync functionality for a block device. I refe= rred to CTL code, below link says http://freebsd.1045724.n5.nabble.com/CAM-Target-Layer-and-dev-isp-td5727548= .html " If you use a block device (like a zvol) as the backing store, you'll want= =20 to disable sending cache syncs to the disk, since that will trigger a GEOM= =20 assertion.=20 ctladm realsync off" How is cache sync (flush) implemented for a block device ? bio_cmd=3DBIO_FL= USH results in ASSERT. Thanks Sreenivas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F2BBBB6E0068844991318A316F34795C344106>