mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
disable_os_cache has no effect #16819
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#16819
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @axet on GitHub (Apr 29, 2025).
qBittorrent & operating system versions
qBittorrent v5.0.4 (64-bit)
debian trieixe
What is the problem?
I'm using qbittorrent 5.0.4 with 'Disk IO read mode' set to 'Disable OS cache' which corresponds to 'disk_io_read_mode=disable_os_cache' libtorrent option. It seems option has no effect on actual file caching.
Steps to reproduce
Additional context
I expect vmtouch will show 0GB after torrenting, but it seems files still get into system cache I guess O_DIRECT not working?
Log(s) & preferences file(s)
qBittorrent.conf.gz
@xavier2k6 commented on GitHub (Apr 29, 2025):
xref: https://github.com/arvidn/libtorrent/issues/7936
@axet commented on GitHub (May 19, 2025):
I tried to run qbittorrent with pread+pwrite and 'nocache 1.2-0.1' cache still generated by reading torrents. I guess qbittorrent can handle O_DIRECT without libtorrent support.
@HanabishiRecca commented on GitHub (May 19, 2025):
I don't think so.