[f2fs-dev] [PATCH] f2fs: Add inline to f2fs_build_fault_attr() stub

2024-05-13 Thread Nathan Chancellor
fault attrs in f2fs_build_fault_attr()") Signed-off-by: Nathan Chancellor --- fs/f2fs/f2fs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index ef7de97be647..1974b6aff397 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -4602,8 +460

Re: [f2fs-dev] [PATCH] f2fs: Fix type of single bit bitfield in f2fs_io_info

2023-02-01 Thread Nathan Chancellor
On Thu, Feb 02, 2023 at 02:13:18PM +0800, Chao Yu wrote: > On 2023/2/2 0:40, Nathan Chancellor wrote: > > Clang warns: > > > >../fs/f2fs/data.c:995:17: error: implicit truncation from 'int' to a > > one-bit wide bit-field changes value from 1 to -

[f2fs-dev] [PATCH] f2fs: Fix type of single bit bitfield in f2fs_io_info

2023-02-01 Thread Nathan Chancellor
gBuiltLinux/linux/issues/1796 Reported-by: kernel test robot Signed-off-by: Nathan Chancellor --- fs/f2fs/f2fs.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 08dc64c5050e..89f6fdfeed19 100644 --- a/fs/f2fs/f2fs.h ++

Re: [f2fs-dev] [PATCH] f2fs: Add missing inline to f2fs_sanity_check_cluster() stub

2021-08-16 Thread Nathan Chancellor
On 8/16/2021 5:33 PM, Jaegeuk Kim wrote: Hi Nathan, On 08/16, Nathan Chancellor wrote: Without this, there is a warning in nearly every fs/f2fs/ file when F2FS_FS_COMPRESSION is not set: In file included from fs/f2fs/super.c:31: fs/f2fs/f2fs.h:4251:13: warning: unused function

[f2fs-dev] [PATCH] f2fs: Add missing inline to f2fs_sanity_check_cluster() stub

2021-08-16 Thread Nathan Chancellor
ter(struct dnode_of_data *dn) { return false; } ^ 1 warning generated. Fixes: 1495870233e7 ("f2fs: compress: do sanity check on cluster") Signed-off-by: Nathan Chancellor --- fs/f2fs/f2fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/f2fs.h b/

Re: [f2fs-dev] [PATCH v3] f2fs: avoid readahead race condition

2020-06-30 Thread Nathan Chancellor
On Mon, Jun 29, 2020 at 01:27:20PM -0700, Jaegeuk Kim wrote: > If two readahead threads having same offset enter in readpages, every read > IOs are split and issued to the disk which giving lower bandwidth. > > This patch tries to avoid redundant readahead calls. > > Signed-off-by: Jaegeuk Kim >

Re: [f2fs-dev] [PATCH v4 3/3] f2fs: Support case-insensitive file name lookups

2019-07-31 Thread Nathan Chancellor
Hi all, > diff --git a/fs/f2fs/hash.c b/fs/f2fs/hash.c > index cc82f142f811f..99e79934f5088 100644 > --- a/fs/f2fs/hash.c > +++ b/fs/f2fs/hash.c > @@ -14,6 +14,7 @@ > #include > #include > #include > +#include > > #include "f2fs.h" > > @@ -67,7 +68,7 @@ static void str2hashbuf(const