[LU-13300] Improve ext4 extent status memory shrink for centos7 Created: 27/Feb/20  Updated: 17/Feb/21  Resolved: 02/Aug/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.14.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Wang Shilong (Inactive) Assignee: Wang Shilong (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

We see serious extent status shrink problem on some customer sites,
the backtrace could be:

    
    NMI watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [kswapd0:106]
    [<ffffffffae1958c2>] merge+0x62/0xc0
    [<ffffffffc123fc50>] ? ldiskfs_init_inode_table+0x410/0x410 [ldiskfs]
    [<ffffffffae1959bb>] list_sort+0x9b/0x250
    [<ffffffffc124014e>] __ldiskfs_es_shrink+0x1ce/0x2a0 [ldiskfs]
    [<ffffffffc12402d4>] ldiskfs_es_shrink+0xb4/0x130 [ldiskfs]
    [<ffffffffadfcf805>] shrink_slab+0x175/0x340
    [<ffffffffae03e1d7>] ? vmpressure+0x87/0x90
    [<ffffffffadfd3538>] balance_pgdat+0x3a8/0x5e0

There are some patches in the linux upstream which could significantly improve this case



 Comments   
Comment by Gerrit Updater [ 27/Feb/20 ]

Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/37749
Subject: LU-13300 ldiskfs: port patches to improve extent status shrink
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 858d32011c849bea598517703bc1c569e555bf82

Comment by Gerrit Updater [ 14/Mar/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37749/
Subject: LU-13300 ldiskfs: port patches to improve extent status shrink
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: cc058b253ac7987a8350880e1c34a39cdf0625e8

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