]> 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>
Tue, 13 Feb 2024 10:25:12 +0000 (11:25 +0100)
commitdafc91e0f85459b647e0022de258c19d898eaf34
tree714a1c143cb3ce4abad9b3a0a06a577bc9638b31
parent70d92c85bf8d03c269d083dacee7e88448707b1e
[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