You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have IO class config with classification by file size:
IO class id,IO class name,Eviction priority,Allocation
0,unclassified,255,1.00
1,file_size:eq:1122304,1,1.00
2,file_size:lt:1122304,1,1.00
3,file_size:gt:1122304,1,1.00
4,file_size:le:561152,1,1.00
5,file_size:ge:2244608,1,1.00
6,metadata,1,0.00
Writes or reads from files created on exported object (file sizes are related to those from config file) appears to be classified as metadata writes/reads. It happens only when block size is set to file size. Tested on few different kernels:
kernel 5.14.0-533.el9.x86_64 -> everything is fine; I/O is classified correctly to corresponding IO classes
kernel 6.9.7-1.el9.elrepo.x86_64 -> I/O to files is classified as metadata
kernel 6.13.0-1.el8.elrepo.x86_64 -> I/O to files is classified as metadata
This bug occurs only with use of xfs filesystem. With ext3/ext4 everything worked fine.
Expected Behavior
I/O is classified by file size
Actual Behavior
I/O is classified as metadata
Steps to Reproduce
Start cache in wb mode
Disable udev
Set seq cutoff to never and cleaning policy to nop
Add core
Create xfs filesystem on core
Mount core
Create files with sizes correlated to those from IO class config
sync, drop caches, purge cache, reset counters
Write to file using dd with bs=filesize and count=1 (or simply cat a file)
Description
I have IO class config with classification by file size:
Writes or reads from files created on exported object (file sizes are related to those from config file) appears to be classified as metadata writes/reads. It happens only when block size is set to file size. Tested on few different kernels:
This bug occurs only with use of xfs filesystem. With ext3/ext4 everything worked fine.
Expected Behavior
I/O is classified by file size
Actual Behavior
I/O is classified as metadata
Steps to Reproduce
Your Environment
The text was updated successfully, but these errors were encountered: