GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — vfs: add callback readv and writev handlers by dcavalcante · Pull Request #66548 · nodejs/node

Conversation

@dcavalcante

@dcavalcante dcavalcante commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

A mounted VFS causes callback readv and writev to call missing handlers, breaking both virtual and real file descriptors.

This adds both handlers and preserves I/O for real descriptors..

Fixes: #66532

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

rtimbo-dotmatics reacted with hooray emoji Hati- and soda0289 reacted with heart emoji
All reactions
  • 🎉 1 reaction
  • ❤️ 2 reactions
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. vfs Issues and PRs related to the virtual filesystem subsystem. labels Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Welcome to Node.js, and thank you for your first contribution!

Before review, please take a moment to read:

  • the guide for first-time contributors
  • the contribution and automation policies
  • the pull request guide
  • the AI use policy
  • the Code of Conduct

Please make sure every commit is signed off. For a first pull request, GitHub Actions require collaborator approval and Jenkins CI must be started by a collaborator or triager, so an initial wait is normal.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dcavalcante
dcavalcante force-pushed the vfs-readv-writev branch from 58e1202 to 7710c7a Compare October 6, 2026 01:27
@codecov

codecov Bot commented Oct 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.69%. Comparing base (925faf4) to head (1aca2f8).
⚠️ Report is 13 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #66548      +/-   ##
==========================================
- Coverage   90.70%   90.69%   -0.01%     
==========================================
  Files         802      802              
  Lines      282109   282121      +12     
  Branches    54364    54363       -1     
==========================================
- Hits       255881   255871      -10     
- Misses      16359    16368       +9     
- Partials     9869     9882      +13     
Files with missing lines Coverage Δ
lib/internal/vfs/setup.js 88.20% <100.00%> (+0.11%) ⬆️

... and 35 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

pipobscure
pipobscure reviewed Oct 16, 2026
View reviewed changes

@pipobscure pipobscure left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
pipobscure
pipobscure approved these changes Nov 10, 2026
View reviewed changes
@pipobscure pipobscure added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Nov 10, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Nov 10, 2026
@nodejs-github-bot

nodejs-github-bot commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/78945/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dcavalcante

dcavalcante commented Nov 10, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Thanks for the approval @pipobscure ! I noticed it's failing node-test-commit-plinux-rhel10-ppc64le but Jenkins logs are restricted so I can't check it..

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pipobscure pipobscure added resume-ci Add this label to resume the latest eligible Jenkins CI run on a PR with an approving review. author ready PRs with CI started, the required approvals, and no outstanding review comments. labels Nov 10, 2026
@github-actions github-actions Bot removed the resume-ci Add this label to resume the latest eligible Jenkins CI run on a PR with an approving review. label Nov 10, 2026
@nodejs-github-bot

nodejs-github-bot commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/78962/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pipobscure

pipobscure commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

It looks like this is a flaky test tracked in #67374 . I'll double-check tomorrow.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pipobscure pipobscure added the resume-ci Add this label to resume the latest eligible Jenkins CI run on a PR with an approving review. label Nov 11, 2026
@github-actions github-actions Bot added resume-ci-failed Resuming CI with the resume-ci label failed and requires manual intervention. and removed resume-ci Add this label to resume the latest eligible Jenkins CI run on a PR with an approving review. labels Nov 11, 2026
@github-actions

This comment was marked as outdated.

Sign in to view
@pipobscure pipobscure added request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. and removed resume-ci-failed Resuming CI with the resume-ci label failed and requires manual intervention. labels Nov 11, 2026
@pipobscure

pipobscure commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

@panva the label based CI seems stuck. What is the best way to actually get CI to run again? Should I just wait for the test to be fixed in #67379 ? Your advice is appreciated!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Nov 11, 2026
@nodejs-github-bot

nodejs-github-bot commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/78979/

panva reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pipobscure

pipobscure commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

The test fix should be merged @dcavalcante can you rebase on the lates main, so it gets picked up, the I can restart CI and get this done.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dcavalcante
vfs: add callback readv and writev handlers
1aca2f8
A mounted VFS causes callback readv and writev to call missing
handlers, breaking both virtual and real file descriptors.

Add both handlers while preserving I/O for real descriptors.

Signed-off-by: Daniel Cavalcante <[email protected]>
@dcavalcante
dcavalcante force-pushed the vfs-readv-writev branch from 7710c7a to 1aca2f8 Compare November 13, 2026 13:15
@dcavalcante

dcavalcante commented Nov 13, 2026

Copy link
Copy Markdown
Contributor Author

The test fix should be merged @dcavalcante can you rebase on the lates main, so it gets picked up, the I can restart CI and get this done.

rebased @pipobscure

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

pipobscure
pipobscure approved these changes Nov 13, 2026
View reviewed changes
@pipobscure pipobscure added request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. and removed request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. labels Nov 13, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Nov 14, 2026
@nodejs-github-bot

nodejs-github-bot commented Nov 14, 2026

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/79055/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jasnell
jasnell approved these changes Nov 14, 2026
View reviewed changes
@pipobscure pipobscure added the commit-queue PRs queued for automated landing through the Commit Queue. label Nov 14, 2026
@nodejs-github-bot
nodejs-github-bot merged commit 0b4d0ac into nodejs:main Nov 14, 2026
72 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot

nodejs-github-bot commented Nov 14, 2026

Copy link
Copy Markdown
Collaborator

Landed in 0b4d0ac

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Nov 14, 2026
aduh95 pushed a commit that referenced this pull request Nov 19, 2026
@dcavalcante @aduh95
vfs: add callback readv and writev handlers
65fc1c4
A mounted VFS causes callback readv and writev to call missing
handlers, breaking both virtual and real file descriptors.

Add both handlers while preserving I/O for real descriptors.

Signed-off-by: Daniel Cavalcante <[email protected]>
PR-URL: #66548
Fixes: #66532
Reviewed-By: Philipp Dunkel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@github-actions github-actions Bot mentioned this pull request Nov 24, 2026
2026-11-25, Version 27.0.0-alpha.0.2.0 (Alpha) #67757
Merged
gabylb pushed a commit to gabylb/node that referenced this pull request Nov 27, 2026
@dcavalcante @gabylb
vfs: add callback readv and writev handlers
d5622eb
A mounted VFS causes callback readv and writev to call missing
handlers, breaking both virtual and real file descriptors.

Add both handlers while preserving I/O for real descriptors.

Signed-off-by: Daniel Cavalcante <[email protected]>
PR-URL: nodejs#66548
Fixes: nodejs#66532
Reviewed-By: Philipp Dunkel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jasnell jasnell jasnell approved these changes
@pipobscure pipobscure pipobscure approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. needs-ci PRs that need a full CI run. vfs Issues and PRs related to the virtual filesystem subsystem.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

vfs: createVfsHandlers() does not implement writev(fd, buffers, position)

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@dcavalcante @nodejs-github-bot @pipobscure @jasnell
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.