[LU-15532] OOM in osd_device_alloc() Created: 07/Feb/22  Updated: 07/Feb/22

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-13309 performance optimizations for brw Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

With my debug kernel (3.10.0-1062.9.1.el7.x86_64.debug) and v2_14_57-74-g5cde554f7f,
struct brw_stats is now 47KB and the ldiskfs struct osd_device 50KB.

In osd_device_alloc() we allocate the device using OBD_ALLOC_PTR() so this is an order 4 kmalloc which OOM pretty easily.


Generated at Sat Feb 10 03:19:07 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.