[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/41016: cgd does not implement DIOCCACHESYNC
>Synopsis: cgd does not implement DIOCCACHESYNC
>Arrival-Date: Sat Mar 14 15:10:00 +0000 2009
>Originator: Alan Barrett
>Release: NetBSD 5.99.7
System: NetBSD 5.99.7 i386
The DIOCCACHESYNC ioctl is undocumented, but wapbl(4) relies on
it to flush the disk cache. The cgd driver does not implement
this ioctl, so crashes while writing to a file system on a vnd
are likely to encounter more corruptioon than they should.
A DIOCCACHESYNC at the cgd level should become a DIOCCACHESYNC
on the underlying disk device. At present, the cgd layer simply
passes the ioctl on to dk_ioctl(), which does not implement it.
Main Index |
Thread Index |