Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fuse: provide header and payloads separately #1204

Merged
merged 7 commits into from
May 22, 2024

Commits on May 22, 2024

  1. Configuration menu
    Copy the full SHA
    95c98e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34ff76d View commit details
    Browse the repository at this point in the history
  3. virtq: don't allow splitting contigous buffers to multiple descriptors

    Remove the functionality in prep_transfer_from_raw for splitting a single buffer into multiple descriptors, as it does not have an advantage and complicates the method quite a bit.
    cagatay-y committed May 22, 2024
    Configuration menu
    Copy the full SHA
    dba2213 View commit details
    Browse the repository at this point in the history
  4. virtq: match on individual enums rather than their combinations

    Match cases made out of combinations cause a lot of code duplication.
    cagatay-y committed May 22, 2024
    Configuration menu
    Copy the full SHA
    f6bd10e View commit details
    Browse the repository at this point in the history
  5. virtq: allow providing multiple slices to from-raw transfers

    This will allow providing transfer data that has an unsized field as a pair of sized and unsized objects, rather than having to create the whole transfer as a dynamically-sized object, as is the case in virtiofs.
    cagatay-y committed May 22, 2024
    Configuration menu
    Copy the full SHA
    65cbb17 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    58da426 View commit details
    Browse the repository at this point in the history
  7. fuse: use multi descriptor transfers instead of DSTs

    Virtio allows a single transfer to be split into multiple buffers. Using this functionality, we can provide the header and the payload in FUSE requests separately. This in turn allows us to avoid the unsafe operations associated with dynamically-sized object creation.
    cagatay-y committed May 22, 2024
    Configuration menu
    Copy the full SHA
    21c7a2b View commit details
    Browse the repository at this point in the history