Commit 6dfcb69e authored by Kirill Smelkov's avatar Kirill Smelkov Committed by Levin Zimmermann

wcfs: Remove TODO to teach go-fuse about Init.MaxPages

go-fuse added functionality to handle Init.MaxPages in
https://github.com/hanwen/go-fuse/commit/265a39266958.

/reviewed-by @levin.zimmermann
/reviewed-on !18
parent 79e6f7b9
// Copyright (C) 2018-2022 Nexedi SA and Contributors. // Copyright (C) 2018-2024 Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com> // Kirill Smelkov <kirr@nexedi.com>
// //
// This program is free software: you can Use, Study, Modify and Redistribute // This program is free software: you can Use, Study, Modify and Redistribute
...@@ -2470,8 +2470,6 @@ func _main() (err error) { ...@@ -2470,8 +2470,6 @@ func _main() (err error) {
Name: "wcfs", Name: "wcfs",
// We retrieve kernel cache in ZBlk.blksize chunks, which are 2MB in size. // We retrieve kernel cache in ZBlk.blksize chunks, which are 2MB in size.
// XXX currently go-fuse caps MaxWrite to 128KB.
// TODO -> teach go-fuse to handle Init.MaxPages (Linux 4.20+).
MaxWrite: 2*1024*1024, MaxWrite: 2*1024*1024,
// TODO(?) tune MaxReadAhead? MaxBackground? // TODO(?) tune MaxReadAhead? MaxBackground?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment