[PR #54] [MERGED] hostbuf: Add ability to mark pages as cold after read #87

Closed
opened 2026-10-26 22:24:27 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/comfy-aimdo/pull/54
Author: @rattus128
Created: 5/24/2026
Status: ✅ Merged
Merged: 5/24/2026
Merged by: @rattus128

Base: master ← Head: dev/mark-cold


📝 Commits (2)

  • 45afa66 hostbuf: Add ability to mark pages as cold after read
  • be17508 extend without register

📊 Changes

6 files changed (+59 additions, -27 deletions)

View changed files

📝 comfy_aimdo/host_buffer.py (+8 -6)
📝 src-posix/xfer-file-plat.c (+13 -1)
📝 src-win/xfer-file-plat.c (+3 -1)
📝 src/hostbuf.c (+25 -15)
📝 src/xfer-file.c (+6 -2)
📝 src/xfer-file.h (+4 -2)

📄 Description

This is useful when reading to long-lived pins so that the linux disk cache can prioritize the rest instead for the next workflow run.

Contribution Agreement

  • I agree that my contributions are licensed under the GPLv3.
  • I grant Comfy Org the rights to relicense these contributions as outlined in CONTRIBUTING.md.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/comfy-aimdo/pull/54 **Author:** [@rattus128](https://github.com/rattus128) **Created:** 5/24/2026 **Status:** ✅ Merged **Merged:** 5/24/2026 **Merged by:** [@rattus128](https://github.com/rattus128) **Base:** `master` ← **Head:** `dev/mark-cold` --- ### 📝 Commits (2) - [`45afa66`](https://github.com/Comfy-Org/comfy-aimdo/commit/45afa660ef040dc0bc6468d236b7c2c53dd442bf) hostbuf: Add ability to mark pages as cold after read - [`be17508`](https://github.com/Comfy-Org/comfy-aimdo/commit/be175083db691a5b56c81d0797c08294750278fa) extend without register ### 📊 Changes **6 files changed** (+59 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `comfy_aimdo/host_buffer.py` (+8 -6) 📝 `src-posix/xfer-file-plat.c` (+13 -1) 📝 `src-win/xfer-file-plat.c` (+3 -1) 📝 `src/hostbuf.c` (+25 -15) 📝 `src/xfer-file.c` (+6 -2) 📝 `src/xfer-file.h` (+4 -2) </details> ### 📄 Description This is useful when reading to long-lived pins so that the linux disk cache can prioritize the rest instead for the next workflow run. ### Contribution Agreement - [X] I agree that my contributions are licensed under the GPLv3. - [X] I grant **Comfy Org** the rights to relicense these contributions as outlined in [CONTRIBUTING.md](./CONTRIBUTING.md). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-26 22:24:27 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/comfy-aimdo#87
No description provided.