]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: redirty the page for wirtepage if fails
authorXiubo Li <xiubli@redhat.com>
Sun, 24 Apr 2022 09:35:53 +0000 (17:35 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 18 May 2022 12:07:09 +0000 (14:07 +0200)
commita0986d7efb55321c8453cd241d18ab6753234968
tree2dfdbf1612341e682acb92bf4a102575126798d4
parent50d8049acf3844ed5e04756b5444dc33bc2017ac
ceph: redirty the page for wirtepage if fails

When run out of memories we should redirty the page before failing
the writepage. Or we will hit BUG_ON(folio_get_private(folio)) in
ceph_dirty_folio().

URL: https://tracker.ceph.com/issues/55421
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Xiubo Li <xiubli@redhat.com>
fs/ceph/addr.c