Red Hat Bugzilla – Bug 155633
Function hugetlbfs_statfs of RHEL3 kernel returns incorrect block size on RHEL3U5Beta
Last modified: 2007-11-30 17:07:07 EST
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
Steps to Reproduce:
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.
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.