Project

General

Profile

Actions

Bug #40481

closed

osdmap->osd_addr allocation is susceptible to memory fragmentation

Added by Ilya Dryomov almost 5 years ago. Updated over 4 years ago.

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

0%

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

Description

addr = krealloc(map->osd_addr, max*sizeof(*addr), GFP_NOFS);

In a cluster with several thousand OSDs this will be a ~1M allocation, currently required to be physically contiguous.


Related issues 2 (1 open1 closed)

Related to Linux kernel client - Bug #55408: libceph: corrupt inc osdmap (-12) epoch 409760 off 60 (ffffacad17925058 of ffffacad1792501c-ffffacad179edf02)Need More InfoIlya Dryomov

Actions
Has duplicate Linux kernel client - Bug #40482: [libceph] page allocation failure when parsing new OSD map DuplicateIlya Dryomov06/21/2019

Actions
Actions

Also available in: Atom PDF