Re: Page Allocation Failures/OOM with dm-crypt on software RAID10 (Intel Rapid Storage)

From: Tetsuo Handa
Date: Thu Jul 14 2016 - 07:19:19 EST

On 2016/07/13 22:47, Michal Hocko wrote:
> On Wed 13-07-16 15:18:11, Matthias Dahl wrote:
>> I tried to figure this out myself but
>> couldn't find anything -- what does the number "-3" state? It is the
>> position in some chain or has it a different meaning?
> $ git grep "kmem_cache_create.*bio"
> block/bio-integrity.c: bip_slab = kmem_cache_create("bio_integrity_payload",
> so there doesn't seem to be any cache like that in the vanilla kernel.
It is

snprintf(bslab->name, sizeof(bslab->name), "bio-%d", entry);

line in bio_find_or_create_slab() in block/bio.c.
I think you can identify who is creating it by printing backtrace at that line.