Description of problem: gfs_quota list -f /fs/path appears to hang when the hidden quota file becomes an unmanageably large sparse file. Duplicate of RHEL4 bug bz210362 The gfs_quota tool sequentially reads the quota file ignorant of large holes in the quota file which takes a lot of time. The gfs_quota tool needs to intelligently skip the holes in the file and only read quota file information that's on actual data-filled blocks.
cvs commit -m "fix for bug 225199 - Same as GFS1 fix in RHEL4 (bug 210362). We don't run throug the entire gfs_quota sparse file to do a list operation anymore. We get the layout of the gfs_quota file on disk and only read quota information off the data blocks that are actually in use. Also added functionality to GFS_IOCTL_SUPER to provide the metadata of the hidden quota file." gfs-kernel/src/gfs/ioctl.c gfs/gfs_quota/layout.c gfs/gfs_quota/Makefile gfs/gfs_quota/main.c gfs/gfs_quota/gfs_quota.h Checking in gfs-kernel/src/gfs/ioctl.c; /cvs/cluster/cluster/gfs-kernel/src/gfs/ioctl.c,v <-- ioctl.c new revision: 1.15; previous revision: 1.14 done Checking in gfs/gfs_quota/layout.c; /cvs/cluster/cluster/gfs/gfs_quota/layout.c,v <-- layout.c new revision: 1.2; previous revision: 1.1 done Checking in gfs/gfs_quota/Makefile; /cvs/cluster/cluster/gfs/gfs_quota/Makefile,v <-- Makefile new revision: 1.6; previous revision: 1.5 done Checking in gfs/gfs_quota/main.c; /cvs/cluster/cluster/gfs/gfs_quota/main.c,v <-- main.c new revision: 1.4; previous revision: 1.3 done Checking in gfs/gfs_quota/gfs_quota.h; /cvs/cluster/cluster/gfs/gfs_quota/gfs_quota.h,v <-- gfs_quota.h new revision: 1.3; previous revision: 1.2 done This fix takes care of the problem in gfs1. But the issue still exists for GFS2 (bug 235299).
Fixing product name. Cluster Suite components were integrated into Enterprise Linux for verion 5.0.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0576.html