Re: [PATCH v2 1/4] erofs: add file-backed mount support

2024-10-02 Thread Gao Xiang
On 2024/10/2 14:12, Christian Brauner wrote: On Mon, Sep 30, 2024 at 04:18:19PM GMT, Jan Kara wrote: .. diff --git a/fs/erofs/Kconfig b/fs/erofs/Kconfig index 7dcdce660cac..1428d0530e1c 100644 --- a/fs/erofs/Kconfig +++ b/fs/erofs/Kconfig @@ -74,6 +74,23 @@ config EROFS_FS_SECURITY

[PATCH v1] Use pthread_kill instead of pthread_cancel for compatibility

2024-10-02 Thread Kelvin Zhang via Linux-erofs
pthread_kill is supported on more platforms. For example, android's bionic libc does not have pthread_cancel. Since pthread_setcancelstate() is not used in erofs-utils workqueue code, pthread_cancel has identical behavior to pthread_kill, this switch should be safe. Signed-off-by: Kelvin Zhang --

Incorrect error message from erofs "backed by file" in 6.12-rc

2024-10-02 Thread Allison Karlitskaya
hi, In context of my work on composefs/bootc I've been testing the new support for directly mounting files with erofs (ie: without a loopback device) and it's working well. Thanks for adding this feature --- it's a huge quality of life improvement for us. I've observed a strange behaviour, thoug

[PATCH] erofs-utils: mkfs: use pthread_kill instead of pthread_cancel

2024-10-02 Thread Yifan Zhao
Bionic (Android's libc) does not have pthread_cancel. Let's use pthread_kill instead to gracefully terminate the worker threads. Signed-off-by: Yifan Zhao --- lib/workqueue.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/workqueue.c b/lib/workqueue.c index 47c

[PATCH 6.11 123/695] cachefiles: Fix non-taking of sb_writers around set/removexattr

2024-10-02 Thread Greg Kroah-Hartman
6.11-stable review patch. If anyone has any objections, please let me know. -- From: David Howells [ Upstream commit 80887f31672970abae3aaa9cf62ac72a124e7c89 ] Unlike other vfs_() calls, vfs_setxattr() and vfs_removexattr() don't take the sb_writers lock, so the caller sho

[PATCH 6.10 107/634] cachefiles: Fix non-taking of sb_writers around set/removexattr

2024-10-02 Thread Greg Kroah-Hartman
6.10-stable review patch. If anyone has any objections, please let me know. -- From: David Howells [ Upstream commit 80887f31672970abae3aaa9cf62ac72a124e7c89 ] Unlike other vfs_() calls, vfs_setxattr() and vfs_removexattr() don't take the sb_writers lock, so the caller sho

[PATCH 6.6 081/538] cachefiles: Fix non-taking of sb_writers around set/removexattr

2024-10-02 Thread Greg Kroah-Hartman
6.6-stable review patch. If anyone has any objections, please let me know. -- From: David Howells [ Upstream commit 80887f31672970abae3aaa9cf62ac72a124e7c89 ] Unlike other vfs_() calls, vfs_setxattr() and vfs_removexattr() don't take the sb_writers lock, so the caller shou