Skip to content
Snippets Groups Projects
Commit 4197debe authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

zfs: don't ignore DKIOCFLUSHWRITECACHE in vdev_disk

Don't actually implement it either yet, but at least don't abort.
parent dde6b485
No related branches found
No related tags found
No related merge requests found
......@@ -146,8 +146,10 @@ vdev_disk_start_ioctl(zio_t *zio)
switch (zio->io_cmd) {
case DKIOCFLUSHWRITECACHE:
if (zfs_nocacheflush)
if (1 || zfs_nocacheflush) {
kprintf("DKIOCFLUSHWRITECACHE ignored\n");
break;
}
if (vd->vdev_nowritecache) {
zio->io_error = ENOTSUP;
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment