Description of problem: Function hugetlbfs_statfs of RHEL3 kernel set PAGE_CACHE_SZIE as the block size. It's incorrect. The right one is HPAGE_SIZE. Version-Release number of selected component (if applicable): RHEL3-U5-Beta Kernel, 2.4.21-31.EL How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 113506 [details] A patch to fix it
OK, patch looks and works correct. Will queue this change up for RHEL3-U6 since U5 is already frozen. Larry Woodman
Hello, Zhang. Could you please explain what problem occurs when the block size for hugetlbfs is reported as PAGE_CACHE_SIZE?
Currently, I can't find problems except it might mislead applications.
Patch was rejected by Ret Hat engineering. Larry Woodman