Re: [f2fs-dev] [PATCH] f2fs: make gc_urgent and gc_segment_mode sysfs node readable

2022-03-21 Thread Chao Yu
On 2022/3/19 3:13, Daeho Jeong wrote: From: Daeho Jeong Changed a way of showing values of them to use strings. Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks, ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net ht

Re: [f2fs-dev] Populate f2fs with files during mkfs.f2fs

2022-03-21 Thread Tomas Mudrunka
Dne 2022-03-21 07:03, Chao Yu napsal: On 2022/3/19 20:55, Tomas Mudrunka wrote: Hello, i've noticed that mkfs.f2fs does not allow files to be copied to filesystem during formating by mkfs.f2fs. Do you think it would be hard to add such feature? I understand that this might be a weird request wh

[f2fs-dev] [Bug 215709] New: kernel deadlocks while mounting the image

2022-03-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215709 Bug ID: 215709 Summary: kernel deadlocks while mounting the image Product: File System Version: 2.5 Kernel Version: 5.15.4 Hardware: All OS: Linux Tree: Mainl

[f2fs-dev] [PATCH] f2fs: fix to do sanity check on .cp_pack_total_block_count

2022-03-21 Thread Chao Yu
As bughunter reported in bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=215709 f2fs may hang when mounting a fuzzed image, the dmesg shows as below: __filemap_get_folio+0x3a9/0x590 pagecache_get_page+0x18/0x60 __get_meta_page+0x95/0x460 [f2fs] get_checkpoint_version+0x2a/0x1e0 [f2fs] vali

[f2fs-dev] [Bug 215709] kernel deadlocks while mounting the image

2022-03-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215709 Chao Yu (c...@kernel.org) changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[f2fs-dev] [GIT PULL] f2fs for 5.18

2022-03-21 Thread Jaegeuk Kim
Hi Linus, Could you please consider this pull request? Thanks, The following changes since commit dd81e1c7d5fb126e5fbc5c9e334d7b3ec29a16a0: Merge tag 'powerpc-5.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux (2022-01-23 17:52:42 +0200) are available in the Git reposit

[f2fs-dev] [PATCH] f2fs: introduce data read/write showing path info

2022-03-21 Thread Jaegeuk Kim
This was used in Android for a long time. Let's upstream it. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 29 fs/f2fs/file.c | 43 ++--- include/trace/events/f2fs.h | 94 + 3 files changed, 159 insertions(+

Re: [f2fs-dev] [PATCH] f2fs: introduce data read/write showing path info

2022-03-21 Thread Eric Biggers
On Mon, Mar 21, 2022 at 03:33:15PM -0700, Jaegeuk Kim wrote: > This was used in Android for a long time. Let's upstream it. > You still need to explain why this is useful. > +static inline char *f2fs_get_pathname(char *buf, int len, struct inode > *inode) > +{ > + char *path; > + struct

Re: [f2fs-dev] [PATCH v2] f2fs: introduce data read/write showing path info

2022-03-21 Thread Jaegeuk Kim
This was used in Android for a long time. Let's upstream it. Signed-off-by: Jaegeuk Kim --- Change log from v1: - remove unnecessary path lookup fs/f2fs/file.c | 48 --- include/trace/events/f2fs.h | 94 + 2 files changed, 135

Re: [f2fs-dev] [PATCH] f2fs: introduce data read/write showing path info

2022-03-21 Thread Jaegeuk Kim
On 03/21, Eric Biggers wrote: > On Mon, Mar 21, 2022 at 03:33:15PM -0700, Jaegeuk Kim wrote: > > This was used in Android for a long time. Let's upstream it. > > > > You still need to explain why this is useful. > > > +static inline char *f2fs_get_pathname(char *buf, int len, struct inode > > *

[f2fs-dev] [Bug 215709] kernel deadlocks while mounting the image

2022-03-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215709 --- Comment #2 from bughunter (yanm...@tju.edu.cn) --- Thank you for prompt reply! I have tried this patch, and it seems that the bug has been fixed. -- You may reply to this email to add a comment. You are receiving this mail because: You are