-
- Downloads
[GFS2] fix GFP_KERNEL misuses
There are several places where GFP_KERNEL allocations happen under a glock, which will result in hangs if we're under memory pressure and go to re-enter the fs in order to flush stuff out. This patch changes the culprits to GFS_NOFS to keep this problem from happening. Thank you, Signed-off-by:Josef Bacik <jbacik@redhat.com> Signed-off-by:
Steven Whitehouse <swhiteho@redhat.com>
Showing
- fs/gfs2/acl.c 3 additions, 3 deletionsfs/gfs2/acl.c
- fs/gfs2/dir.c 5 additions, 5 deletionsfs/gfs2/dir.c
- fs/gfs2/eattr.c 2 additions, 2 deletionsfs/gfs2/eattr.c
- fs/gfs2/inode.c 1 addition, 1 deletionfs/gfs2/inode.c
- fs/gfs2/locking/dlm/lock.c 2 additions, 2 deletionsfs/gfs2/locking/dlm/lock.c
- fs/gfs2/locking/nolock/main.c 1 addition, 1 deletionfs/gfs2/locking/nolock/main.c
- fs/gfs2/quota.c 4 additions, 4 deletionsfs/gfs2/quota.c
- fs/gfs2/recovery.c 1 addition, 1 deletionfs/gfs2/recovery.c
- fs/gfs2/super.c 2 additions, 2 deletionsfs/gfs2/super.c
Loading
Please register or sign in to comment