Skip to contentSkip to conversation

bz235299: Fix quota do_list operation hang

PATCH In review Abhijith Das 2 participants 2 messages Aug 15, 2007

lore
Share & tools
lore
#0 lore raw

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>

#1 lore raw

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 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.

Now applied to the GFS2 -nmw git tree. Thanks,

Steve.