Skip to content

Conversation

mcimerman
Copy link
Contributor

No description provided.

@jxsvoboda
Copy link
Contributor

Increasing the buffer size is probably OK, although it will typically not bring huge improvement in the typical scenario as the bottleneck is between the file system and block device, with much smaller buffers.

If you want to do this, then either just continue using a literal constant, or have vfs define some constant, e.g. VFS_XFER_SIZE to make this nicely encapsulated. We don't want to leak the details of how the VFS interface works by tapping directly into IPC stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants