diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-11-06 02:49:20 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-11-06 02:49:20 +0000 |
commit | 2499ae4d6f8e22c6fb9509842c2765109edf9276 (patch) | |
tree | 455d801574aa2ede337dedf9fe411f372a61382b /distrib/i386/ramdiskC | |
parent | afa192bae9ff2b3a8a5bf48110b86f17ee9dcd21 (diff) |
Fix SDF_DIRTY handling, eliminate useless SDF_FLUSHING. The sd_flush()
called from the last sdclose() on a device will now reset SDF_DIRTY
after submitting the SYNCHRONIZE CACHE command. sddone() need not
worry about SDF_DIRTY since it was never called for the SYNCHRONIZE
CACHE command anyway.
This eliminates a spurious SYNCHRONIZE CACHE command being issued for
every sd device from sd_shutdown().
ok dlg@
Diffstat (limited to 'distrib/i386/ramdiskC')
0 files changed, 0 insertions, 0 deletions