[LU-12313] Mark lustre_inode_cache as reclaimable Created: 18/May/19 Updated: 27/Aug/20 Resolved: 21/Aug/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.13.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Jacek Tomaka | Assignee: | Jacek Tomaka |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
As discussed in this email thread currently lustre does not mark memory allocated from slab as reclaimable. This makes the kernel's MemAvailable, SReclaimable and SUnreclaim (as reported by /proc/meminfo) unreliable, because the memory gets actually freed on memory pressure or when droping caches. This change should affect only how memory is reported and should not affect much else. As pointed out by NeilBrown other filesystems also set inode cache to reclaimable:
Also from NeilBrown:
|
| Comments |
| Comment by Gerrit Updater [ 14/Aug/19 ] |
|
Jacek Tomaka (jacek.tomaka@poczta.fm) uploaded a new patch: https://review.whamcloud.com/35790 |
| Comment by Gerrit Updater [ 21/Aug/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35790/ |
| Comment by Peter Jones [ 21/Aug/19 ] |
|
Landed for 2.13 |