kernel

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const MaxReadAhead = 512 * 1024

MaxReadAhead configures the kernel's maximum readahead for file handles on this FUSE mount (via ConfigureMount) and our corresponding "trailing" buffer.

Our sizingHandle implements Read operations for read-only fsctx.File objects that don't support random access or seeking. Generally this requires that the user reading such a file does so in-order. However, the kernel attempts to optimize i/o speed by reading ahead into the page cache and to do so it can issue concurrent reads for a few blocks ahead of the user's current position. We respond to such requests from our trailing buffer. TODO: Choose a value more carefully. This value was chosen fairly roughly based on some articles/discussion that suggested this was a kernel default.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL