]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fusefs: multiple fixes related to the write cache
authorasomers <asomers@FreeBSD.org>
Mon, 17 Jun 2019 23:34:11 +0000 (23:34 +0000)
committerasomers <asomers@FreeBSD.org>
Mon, 17 Jun 2019 23:34:11 +0000 (23:34 +0000)
commit0bb4d86c57b00dfa404fe97def3ba35964148c4a
tree58772cbb32d4383ab5ad12c85fb92871b91652e8
parent3decbc7870bf4c0a939eaad56554693112ed408b
fusefs: multiple fixes related to the write cache

* Don't always write the last page synchronously.  That's not actually
  required.  It was probably just masking another bug that I fixed later,
  possibly in r349021.

* Enable the NotifyWriteback tests now that Writeback cache is working.

* Add a test to ensure that the write cache isn't flushed synchronously when
  in writeback mode.

Sponsored by: The FreeBSD Foundation
sys/fs/fuse/fuse_io.c
tests/sys/fs/fusefs/notify.cc
tests/sys/fs/fusefs/write.cc