diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2011-09-28 13:08:51 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2011-09-28 13:08:51 +0000 |
commit | 518dd4c0d976cbdc696e72716297d8c39b273d6e (patch) | |
tree | 6a9d1cc1d75b048ee6b4589e34493d484a6f71ab /sbin/hastd/token.l | |
parent | 91109eb1c8e88b3bf823dbb2b1459fcaa3cba3de (diff) | |
download | src-518dd4c0d976cbdc696e72716297d8c39b273d6e.tar.gz src-518dd4c0d976cbdc696e72716297d8c39b273d6e.zip |
After every activemap change flush disk's write cache, so that write
reordering won't make the actual write to be committed before marking
the coresponding extent as dirty.
It can be disabled in configuration file.
If BIO_FLUSH is not supported by the underlying file system we log a warning
and never send BIO_FLUSH again to that GEOM provider.
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=225830
Diffstat (limited to 'sbin/hastd/token.l')
-rw-r--r-- | sbin/hastd/token.l | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/hastd/token.l b/sbin/hastd/token.l index 67c1e130e69d..3a868d7f1e48 100644 --- a/sbin/hastd/token.l +++ b/sbin/hastd/token.l @@ -53,12 +53,14 @@ checksum { DP; return CHECKSUM; } compression { DP; return COMPRESSION; } timeout { DP; return TIMEOUT; } exec { DP; return EXEC; } +metaflush { DP; return METAFLUSH; } resource { DP; return RESOURCE; } name { DP; return NAME; } local { DP; return LOCAL; } remote { DP; return REMOTE; } source { DP; return SOURCE; } on { DP; return ON; } +off { DP; return OFF; } fullsync { DP; return FULLSYNC; } memsync { DP; return MEMSYNC; } async { DP; return ASYNC; } |