]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
[DO NOT MERGE] mm: BUG if filemap_alloc_folio gives us a folio with a non-NULL -...
authorJeff Layton <jlayton@kernel.org>
Fri, 13 May 2022 14:23:25 +0000 (10:23 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 18 May 2022 12:07:11 +0000 (14:07 +0200)
commit840c008f95e62a3ae30cc136e9930ab2377e7fd1
treeebe406109622d1bed5aca1ed907f14287f6819e2
parentb49fa388cc7b5c595b4c99b1a0f2743080e7ed6e
[DO NOT MERGE] mm: BUG if filemap_alloc_folio gives us a folio with a non-NULL ->private

We've seen some instances where we call __filemap_get_folio and get back
one with a ->private value that is non-NULL. Let's have the allocator
bug if that happens.

For now, let's just put this into the testing kernel. We can let Willy
decide if he wants it in mainline.

URL: https://tracker.ceph.com/issues/55421
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Xiubo Li <xiubli@redhat.com>
Cc: Luís Henriques <lhenriques@suse.de>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
mm/filemap.c