diff options
author | dcs <dcs@FreeBSD.org> | 2000-03-15 01:56:12 +0000 |
---|---|---|
committer | dcs <dcs@FreeBSD.org> | 2000-03-15 01:56:12 +0000 |
commit | 24a0d62243b159dc7531b0f0c3064575f8f0fe94 (patch) | |
tree | 0632b481771b815533ad4a873d3bb1162bc8f3f8 /sys/boot/common/bootstrap.h | |
parent | 0edaa7aeae6d265b624f2d3ce4945a29c4e13d7d (diff) | |
download | FreeBSD-src-24a0d62243b159dc7531b0f0c3064575f8f0fe94.zip FreeBSD-src-24a0d62243b159dc7531b0f0c3064575f8f0fe94.tar.gz |
bcache_strategy() now receives an unit number, and keep track of what
was the last unit number received. If it changes, it flushes the cache.
Add bcache_flash().
The actual fix is sligthly different from the one in the PR.
PR: 17098
Submitted by: John Hood <jhood@sitaranetworks.com>
Diffstat (limited to 'sys/boot/common/bootstrap.h')
-rw-r--r-- | sys/boot/common/bootstrap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/common/bootstrap.h b/sys/boot/common/bootstrap.h index 9138b56..c614335 100644 --- a/sys/boot/common/bootstrap.h +++ b/sys/boot/common/bootstrap.h @@ -78,6 +78,7 @@ extern char *strdupout(vm_offset_t str); /* bcache.c */ extern int bcache_init(int nblks, size_t bsize); +extern void bcache_flush(); /* * Disk block cache |