]> git.baikalelectronics.ru Git - kernel.git/commit
docs: filesystems: caching/backend-api.rst: fix an object withdrawn API
authorYue Hu <huyue2@coolpad.com>
Thu, 7 Apr 2022 11:02:39 +0000 (19:02 +0800)
committerDavid Howells <dhowells@redhat.com>
Fri, 8 Apr 2022 22:54:37 +0000 (23:54 +0100)
commite9da1af2998164a8ee76ce35cc1341f32ccce04e
treec414cce000cb8b07324780ddd04ce74a824ae1da
parent4bdf66d0679ad160780cbb028fb97bdc3ba9c965
docs: filesystems: caching/backend-api.rst: fix an object withdrawn API

There's no fscache_are_objects_withdrawn() helper at all to test if
cookie withdrawal is completed currently. The cache backend is using
fscache_wait_for_objects() to wait all objects to be withdrawn.

Signed-off-by: Yue Hu <huyue2@coolpad.com>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: linux-cachefs@redhat.com
Link: https://listman.redhat.com/archives/linux-cachefs/2022-April/006705.html
Documentation/filesystems/caching/backend-api.rst