Re: [f2fs-dev] [PATCH] f2fs: compress: fix potential deadlock of compress file

2021-12-09 Thread fengnan chang
Great work,it fix my problem. ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

[f2fs-dev] [PATCH] f2fs: compress: fix potential deadlock of compress file

2021-12-09 Thread Hyeong-Jun Kim
There is a potential deadlock between writeback process and a process performing write_begin() or write_cache_pages() while trying to write same compress file, but not compressable, as below: [Process A] - doing checkpoint [Process B] [Process C] f2fs_write_cache_pages() - lock

Re: [f2fs-dev] A potential dead lock of compress file

2021-12-09 Thread Hyeong-Jun Kim
On Fri, 2021-12-10 at 11:08 +0800, Fengnan Chang wrote: > Hi chao: > > As I mentioned before, > https://lore.kernel.org/linux-f2fs-devel/kl1pr0601mb400309c5d62bfddde6aad8aebb...@kl1pr0601mb4003.apcprd06.prod.outlook.com/T/#mbe9a8f27626ac7ca71035e25f5502e756ab877ac > > there is a potential dead

[f2fs-dev] [SPAM] Rapid test kit supplier

2021-12-09 Thread marketing
Warm greetings from Guangzhou Wondfo Biotech Co., Ltd. We are selling rapid test kit and it plays an important role for anti COVID-19. Please contact us freely if you need rapid test kit or gloves , mask and so on. Founded since 1992, Wondfo now has a wide range of products for the rapid identi

[f2fs-dev] A potential dead lock of compress file

2021-12-09 Thread Fengnan Chang
Hi chao: As I mentioned before, https://lore.kernel.org/linux-f2fs-devel/kl1pr0601mb400309c5d62bfddde6aad8aebb...@kl1pr0601mb4003.apcprd06.prod.outlook.com/T/#mbe9a8f27626ac7ca71035e25f5502e756ab877ac there is a potential dead lock problem when just remove compress file condition in __should_seria

[f2fs-dev] [PATCH] f2fs: avoid EINVAL by SBI_NEED_FSCK when pinning a file

2021-12-09 Thread Jaegeuk Kim
Android OTA failed due to SBI_NEED_FSCK flag when pinning the file. Let's avoid it since we can do in-place-updates. Signed-off-by: Jaegeuk Kim Change-Id: I3fd33c984417c10b38e23de6cec017b03d588945 --- fs/f2fs/data.c | 7 +-- fs/f2fs/file.c | 10 +- 2 files changed, 10 insertions(+),

[f2fs-dev] [bug report] f2fs: add gc_urgent_high_remaining sysfs node

2021-12-09 Thread Dan Carpenter
Hello Daeho Jeong, The patch 38f953da2e35: "f2fs: add gc_urgent_high_remaining sysfs node" from Dec 7, 2021, leads to the following Smatch static checker warning: fs/f2fs/sysfs.c:490 __sbi_store() warn: unsigned 't' is never less than zero. fs/f2fs/sysfs.c 332 static ssize_t

Re: [f2fs-dev] Multi device fs and udev

2021-12-09 Thread Ananth Bhaskararaman
> You can get the block list from f2fs superblock in the first 4KB. So userspace stuff like udev can read that to figure out which devices are in use? Does this require a change in the kernel too, to show that these drives are busy or in-use somehow? ___