bz235299: Fix quota do_list operation hang
PATCH 1/1 bz235299: Fix quota do_list operation hang
This is the filesystem part of the patches to fix this bz. There are additional userland patches (gfs2_quota, libgfs2) for the complete solution. This patch adds a new field qu_ll_next to the gfs2_quota structure. This field allows us to create linked lists of quotas in the ondisk quota inode. Instead of scanning through the entire sparse quota file for valid quotas, we can now simply walk through the user and group quota linked lists to perform the do_list operation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bz235299-GFS2KERNEL.patch
Type: text/x-patch
Size: 2643 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20070815/2a90b45f/attachment.bin>
Hi,
Quoted 9 lines · Abhijith Das
This is the filesystem part of the patches to fix this bz. There are additional userland patches (
gfs2_quota, libgfs2) for the complete solution. This patch adds a new fieldqu_ll_nextto thegfs2_quotastructure. This field allows us to create linked lists of quotas in the ondisk quota inode. Instead of scanning through the entire sparse quota file for valid quotas, we can now simply walk through the user and group quota linked lists to perform thedo_listoperation.Signed-off-by Abhijith Das <[email protected]>
Now applied to the GFS2 -nmw git tree. Thanks,
Steve.