Project

General

Profile

Bug #2384

libceph: fix all vmalloc (buffer_new) callers to use GFP_KERNEL

Added by Sage Weil almost 12 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
libceph
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

GFP_NOFS is not safe because __vmalloc may ahve to adjust page tables with GFP_KERNEL. need to fix our callers to not use NOFS.

see recent linux-fsdevel thread.


Related issues

Related to Linux kernel client - Bug #4233: krbd: verify use of all GFP_* flags Resolved 02/22/2013

History

#1 Updated by Sage Weil over 11 years ago

  • Priority changed from High to Normal

#2 Updated by Ilya Dryomov over 8 years ago

  • Assignee set to Ilya Dryomov
  • Regression set to No

#3 Updated by Ilya Dryomov over 8 years ago

  • Status changed from 12 to In Progress

#4 Updated by Ilya Dryomov over 4 years ago

  • Status changed from In Progress to Fix Under Review

[PATCH] libceph: avoid a __vmalloc() deadlock in ceph_kvmalloc()

Also available in: Atom PDF